Remember to enable Metrics for your source
If you already have your source configured and some of the templates are not working as expected, please, make sure to update the logs' configuration and start collecting the metrics as well.
In cases like Nginx or Apache, those might need to be enabled within the server directly.