File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ ` cisco ` : Added support for Cisco Nexus NXOS 9.3 syslog format.
2
+
3
+ The parser now recognises NXOS 9.3 timestamps in ` YYYY MMM DD HH:MM:SS ` format and handles the different
4
+ sequence number prefix (` : ` instead of ` seqno: ` ) used by NXOS 9.3 compared to traditional IOS formats.
5
+
6
+ Example Cisco configuration:
7
+
8
+ - NXOS: ` (config)# logging server <syslog-ng-server-ip> port 2000 `
9
+ - IOS: ` (config)# logging host <syslog-ng-server-ip> transport udp port 2000 `
10
+
11
+ Example syslog-ng configuration:
12
+
13
+ ```
14
+ @include "scl.conf"
15
+
16
+ source s_cisco {
17
+ network(ip(0.0.0.0) transport("udp") port(2000) flags(no-parse));
18
+ };
19
+
20
+ parser p_cisco {
21
+ cisco-parser();
22
+ };
23
+
24
+ destination d_placeholder {
25
+ # Define your destination here
26
+ };
27
+
28
+ log {
29
+ source(s_cisco);
30
+ parser(p_cisco);
31
+ destination(d_placeholder);
32
+ };
33
+ ```
You can’t perform that action at this time.
0 commit comments