Hi,
You use SharePoint 2013 Central Administration to configure logs imported into the logging database.
About how to specify the events to be written to the logging database and the frequency that logs are written to the logging database for your reference:
https://technet.microsoft.com/en-us/library/ee748593.aspx
About how to enable what is written into the logging database for your reference:
https://technet.microsoft.com/en-us/library/ee663480.aspx
About how to configure log categories, log levels, and trace (ULS) log path for your reference:
https://technet.microsoft.com/en-us/library/ee748656.aspx
More information about viewing data in the logging database in SharePoint 2013:
https://technet.microsoft.com/en-us/library/jj715694.aspx
Best Regards,
Dean Wang