The ewmm-parser() can be used to parse messages sent by another syslog-ng host using the enterprise-wide message model (EWMM) format. Available in version
Declaration
parser parser_name { ewmm-parser(); };
The ewmm-parser() can be used to parse messages sent by another syslog-ng host using the enterprise-wide message model (EWMM) format. Available in version
parser parser_name { ewmm-parser(); };
The sudo parser can parse the log messages of the sudo command. Available in version
@version: 7.0 @include "scl.conf" log { source { system(); }; parser { sudo-parser(); }; destination { ... }; };
The sudo-parser() is actually a reusable configuration snippet configured to parse sudo messages. For details on using or writing such configuration snippets, see Reusing configuration blocks. You can find the source of this configuration snippet on GitHub.
Synopsis: | prefix() |
Description: Insert a prefix before the name part of the parsed name-value pairs to help further processing. For example:
To insert the my-parsed-data. prefix, use the prefix(my-parsed-data.) option.
To refer to a particular data that has a prefix, use the prefix in the name of the macro, for example, ${my-parsed-data.name} .
If you forward the parsed messages using the IETF-syslog protocol, you can insert all the parsed data into the SDATA part of the message using the prefix(.SDATA.my-parsed-data.) option.
By default, sudo-parser() uses the .sudo. prefix. To modify it, use the following format:
parser { sudo-parser(prefix("myprefix.")); };
The iptables parser can parse the log messages of the iptables command. Available in version
@version: 7.0 @include "scl.conf" log { source { system(); }; parser { iptables-parser(); }; destination { ... }; };
The iptables-parser() is actually a reusable configuration snippet configured to parse iptables messages. For details on using or writing such configuration snippets, see Reusing configuration blocks. You can find the source of this configuration snippet on GitHub.
Synopsis: | prefix() |
Description: Insert a prefix before the name part of the parsed name-value pairs to help further processing. For example:
To insert the my-parsed-data. prefix, use the prefix(my-parsed-data.) option.
To refer to a particular data that has a prefix, use the prefix in the name of the macro, for example, ${my-parsed-data.name} .
If you forward the parsed messages using the IETF-syslog protocol, you can insert all the parsed data into the SDATA part of the message using the prefix(.SDATA.my-parsed-data.) option.
By default, iptables-parser() uses the .iptables. prefix. To modify it, use the following format:
parser { iptables-parser(prefix("myprefix.")); };
The structure of the pattern database
Using parser results in filters and templates
Downloading sample pattern databases
Correlating log messages using pattern databases
Referencing earlier messages of the context
Triggering actions for identified messages
Actions and message correlation
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center