

Available options for the log source include:Įxternal Fluent Bit configuration and parser files. What you use for the log source depends on the location your logs are sourced from. To start, define a name of the log or logs you want to forward to New Relic. You're required to set up a name and log source parameter in the log forwarding. The only exception to this is when configuring a custom Fluent Bit configuration. The agent automatically processes new configuration files without having to restart the infrastructure monitoring service.

yml.example files you can use as a reference or starting point. Windows: C:\Program Files\New Relic\newrelic-infra\logging.d\Ĭreate a logging.yml configuration file, and add the parameters you need.Navigate to the log forwarder configuration folder: To add a new configuration file for the log forwarding feature:

#Copy log file to web.py install
If you install the infrastructure agent via Add data in the UI, the file logging.yml is created automatically. You can add as many config files as you want. Configure the infrastructure agentĬonfiguration files direct your system to forward the log sources you want to appear in New Relic. To install the infrastructure agent manually, follow our tutorial to install the package manager, or check out our MSI installer (Windows). Windows Enable log forwarding on agent installed manually To initiate your install, choose your deployment method: If you haven't already, create your free New Relic account below to start monitoring your data today. When you use our guided install to install the infrastructure agent, the log forwarding feature is automatically configured during the install process. Windows Server 2012, 2016, 2019, and 2022, and their service packsĪutomatically forward logs with guided install.SUSE Linux Enterprise Server (SLES) version 12.Debian version 9 ("Stretch") or higher.Built-in support for ARM64 architecture on Linux systems (for example, AWS Graviton architecture) added in infrastructure agent 1.20.6.
#Copy log file to web.py update
To update or downgrade it to a specfic version, refer to the Fluent Bit installation procedures. The infrastructure agent already installs the latest version for you.
