Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to configure Logspout syslog adaptor to use below syslog-ng config file? #526

Open
prem-winzo opened this issue May 15, 2023 · 0 comments

Comments

@prem-winzo
Copy link

`@version: 3.35
source s_src {
internal();
};

template NRFormat { template("newrelic_key_here <${PRI}>1 ${ISODATE} ${HOST:--} ${PROGRAM:--} ${PID:--} ${MSGID:--} ${SDATA:--} $MSG\n");
template_escape(no);
};

destination d_newrelic {
network("newrelic.syslog.nr-data.net" port(6514)
transport("tls")
tls(peer-verify(no))
template(NRFormat2)
);
};
log {
source(s_src);
#source(s_files); ## in case step 4 is implemented.
destination(d_newrelic);
};`

This template is expecting newrelic_licence_ley before <${PRI}>1 and logspout does not seem to support this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant