Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Checkpoint parser improvements #2740

Merged
merged 2 commits into from May 21, 2019

Conversation

bazsi
Copy link
Collaborator

@bazsi bazsi commented May 19, 2019

With new, current samples received from a syslog-ng user, I could improve the parser to better support the output of CheckPoint LogExporter. Also added links to official documentation and community topic on the matter.

bazsi added 2 commits May 19, 2019 08:10
Signed-off-by: Balazs Scheidler <balazs.scheidler@oneidentity.com>
Signed-off-by: Balazs Scheidler <balazs.scheidler@oneidentity.com>
@kira-syslogng
Copy link
Contributor

Build SUCCESS

@mitzkia
Copy link
Collaborator

mitzkia commented May 21, 2019

I have checked Light testcases, at first glance I have found a new testcase which was the same as an old one, but after checked it again they are not the same, they are different in timestamps.
Light testcases are ok.

@Kokan Kokan merged commit a632945 into syslog-ng:master May 21, 2019
@lbudai lbudai added this to the syslog-ng-3.22 milestone May 21, 2019
@jewnix
Copy link

jewnix commented Jul 29, 2019

I'm running version R80.20m2 and sending it syslog format from CP, and it does not seem to parse it correctly. maybe related to the date-parser

actual output:
Jul 29 13:04:13 checkpoint <134>1 2019-07-29T17:04:13Z checkpoint CheckPoint 9951 - [action:"Accept"; conn_direction:"Outgoing"; contextnum:"1"; flags:"7258112";

@bazsi
Copy link
Collaborator Author

bazsi commented Jul 30, 2019 via email

@jewnix
Copy link

jewnix commented Aug 5, 2019

filter f_cpdash {
netmask("10.0.0.1/32") or host('cpdash-swg');
};
destination d_cpdash {
file (
"/var/log/splunk/cp_firewall/$LOGHOST/$HOST/$R_YEAR$R_MONTH$R_DAY-$R_HOUR.log");
};
log {
source {
network(
transport("tcp")
flags(no-parse)
port(2154)
);
};
parser { checkpoint-parser(); };
filter(f_cpdash);
destination(d_cpdash);
flags(final);
};

@bazsi
Copy link
Collaborator Author

bazsi commented Aug 6, 2019 via email

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

Successfully merging this pull request may close these issues.

None yet

6 participants