-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add in recognition of more complex inputs.
- Loading branch information
1 parent
6fadc8c
commit 06d7bde
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
06d7bde
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are cases where some sources are not recognised, I think because the input has a channel inside the source.
For example;
source s_syslog_tcp {
channel {
source {
network( ip("10.66.5.87") port(514) transport("tcp")
tags("syslog_ng", "syslog_tcp", "unprocessed")
flags(dont-store-legacy-msghdr,syslog-protocol)
);
};
rewrite {
set("tcp", value("syslog_transport"));
set("false", value("processed"));
set("${S_UNIXTIME}", value("unixtime"));
};
};
};
The only output from syslog-ng-stats is;
syslog-ng-ctl stats | grep s_syslog_tcp
source;s_syslog_tcp;;a;processed;11428093
Daniel