Skip to content

Commit

Permalink
Update cisco_syslog.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed May 19, 2020
1 parent 235f2a1 commit 5915fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/etc/conf.d/filters/cisco/cisco_syslog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ parser cisco-parser-ex{
value("HOST")
condition(
not match('^\d+$', value('11'))
and match('^[A-Za-z0-9]{4,}$' value('11'))
and match('^.{4,}$' value('11'))
and match('^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$' value('11')))
);
set(
Expand Down

0 comments on commit 5915fe0

Please sign in to comment.