To get a little bit more insight on the servers that Im running I decided to tryout NewRelicOne platform. It comes with a free tier that I believe will be enough to host my logs for a reasonable amount of time.
This post is best read together with the previous post I jotted down on centralised log management for nextcloud server. which can be found at https://rarepraveen.blogspot.com/2020/09/centralised-logging-for-nextcloud.html.
Steps I followed:
- Setup a NewRelic account
- Setup fluentd output source for NewRelic
- sudo /usr/sbin/td-agent-gem install fluent-plugin-newrelic
- Add relevant match clause to /etc/td-config/td-agent.conf
- systemctl restart td-agent
- Setup NewRelic OS agent
- Follow the NewRelic guide for setting up the OS agent at https://docs.newrelic.com/docs/infrastructure/install-infrastructure-agent/configuration/configure-infrastructure-agent
- Verify the service is running
- sudo systemctl status newrelic-infra.service
Thats it for now.
No comments:
Post a Comment