You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added the newrelic-infra service to my nix flakes, and the agent does show up on my newrelic account. However, the newrelic interface lacks log captures for this host.
Configuration files direct your system to forward the log sources you want to appear in New Relic. [...] Our infrastructure agent uses .yml files to configure logging.
I ran a system search for files named logging.* but nothing related to New Relic turned up. I also tried adding logging declarations to the newrelic-infra.yml file and creating the /etc/newrelic-infra/logging.d/logging.yml to no avail.
Is there a way to get logging using this tool?
The text was updated successfully, but these errors were encountered:
I haven't added logging or integrations support yet, given that much of the required structure involved placing content in directories following Linux's FHS, however let me take a shot at implementing it but could take a while, I'll need to package a certain plugin first. After implementing it, I might start working on integrations with nri-flex.
Meanwhile, you might be able to activate logging by following Enable log forwarding on agent installed using Linux tarball, creating certain directories on /var/db and /etc, using fluent-bit and this plugin (the one I'd need to package for Nix). For that last one, though, currently I'm not sure how NixOS will play with shared objects just placed there. In any case, I'll work on packaging it and including in the newrelic-infra module.
I added the
newrelic-infra
service to my nix flakes, and the agent does show up on my newrelic account.However, the newrelic interface lacks log captures for this host.
According to the New Relic docs,
I ran a system search for files named
logging.*
but nothing related to New Relic turned up. I also tried adding logging declarations to thenewrelic-infra.yml
file and creating the/etc/newrelic-infra/logging.d/logging.yml
to no avail.Is there a way to get logging using this tool?
The text was updated successfully, but these errors were encountered: