-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add syslog format for a10networks (#2153)
- Loading branch information
1 parent
1687580
commit 515f580
Showing
3 changed files
with
67 additions
and
7 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
block parser app-syslog-a10() { | ||
channel { | ||
rewrite { | ||
r_set_splunk_dest_default( | ||
index('netops') | ||
source('a10networks:vThunder') | ||
sourcetype('a10networks:vThunder:syslog') | ||
vendor('a10networks') | ||
product('vThunder') | ||
); | ||
}; | ||
}; | ||
}; | ||
|
||
application app-syslog-a10[sc4s-syslog-pgm] { | ||
filter { | ||
program('a10logd' type(string) flags(prefix)) or | ||
program('a10timer' type(string) flags(prefix)) or | ||
program('a10stat' type(string) flags(prefix)) or | ||
program('a10switch' type(string) flags(prefix)) or | ||
program('a10hm' type(string) flags(prefix)) or | ||
program('a10rt' type(string) flags(prefix)) or | ||
program('a10rip' type(string) flags(prefix)) or | ||
program('a10ospf' type(string) flags(prefix)) or | ||
program('a10snmpd' type(string) flags(prefix)) or | ||
program('a10wa' type(string) flags(prefix)) or | ||
program('a10gmpd' type(string) flags(prefix)) or | ||
program('a10snpm_trapd' type(string) flags(prefix)) or | ||
program('a10lb' type(string) flags(prefix)) | ||
}; | ||
parser { app-syslog-a10(); }; | ||
}; |
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