-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c11aae
commit c2005bf
Showing
6 changed files
with
131 additions
and
22 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
21 changes: 21 additions & 0 deletions
21
package/etc/conf.d/conflib/cisco-syslog/app-cisco-cisco_xr.conf
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,21 @@ | ||
block parser app-cisco-cisco_xr() { | ||
channel { | ||
rewrite { | ||
r_set_splunk_dest_default( | ||
index("netops") | ||
sourcetype('cisco:xr') | ||
vendor('cisco') | ||
product('xr') | ||
); | ||
}; | ||
}; | ||
}; | ||
|
||
application app-cisco-cisco_xr[cisco_syslog] { | ||
filter { | ||
message('%LICENSE-' type(string) flags(prefix)) | ||
or message('%MGBL-' type(string) flags(prefix)) | ||
or message('%SECURITY-' type(string) flags(prefix)); | ||
}; | ||
parser { app-cisco-cisco_xr(); }; | ||
}; |
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,21 @@ | ||
block parser app-cisco-cisco_xr() { | ||
channel { | ||
rewrite { | ||
r_set_splunk_dest_default( | ||
index("netops") | ||
sourcetype('cisco:xr') | ||
vendor('cisco') | ||
product('xr') | ||
); | ||
}; | ||
}; | ||
}; | ||
|
||
application app-cisco-cisco_xr[cisco_syslog] { | ||
filter { | ||
message('%LICENSE-' type(string) flags(prefix)) | ||
or message('%MGBL-' type(string) flags(prefix)) | ||
or message('%SECURITY-' type(string) flags(prefix)); | ||
}; | ||
parser { app-cisco-cisco_xr(); }; | ||
}; |
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