Created
October 7, 2019 14:15
-
-
Save gspncr/db54818e2493a265820cd0b79c5682e3 to your computer and use it in GitHub Desktop.
An example td-agent.conf file for you to use with New Relic Logs. My example source is for Tomcat, but you can use whatever your source is :)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<source> | |
@type tail | |
path /opt/apache-tomcat-8.5.5/logs/catalina.out | |
pos_file /var/log/catalina.log.pos | |
tag webportal | |
<parse> | |
@type none | |
</parse> | |
</source> | |
<match **> | |
@type newrelic | |
api_key {{ NRInsightsAPIKey }} | |
</match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment