Skip to content

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

Open
@prem-winzo

Description

@prem-winzo

`@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions