Skip to content

Commit

Permalink
Merge branch 'develop' into feature/non-filtering-date-parser()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Faircloth authored and GitHub committed Mar 24, 2020
2 parents 8f40446 + c7eca24 commit dd959da
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
32 changes: 16 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,22 +242,22 @@ workflows:
version: 2
build_test:
jobs:
- test-sc4s-3-25-1-splunk-8-0:
filters:
branches:
only: /.*/
- test-sc4s-master-splunk-8-0:
filters:
branches:
only: /.*/
- test-sc4s-3-25-1-splunk-7-3:
filters:
branches:
only: /.*/
- test-sc4s-3-25-1-splunk-7-2:
filters:
branches:
only: /.*/
- test-sc4s-3-25-1-splunk-8-0
# filters:
# branches:
# only: /.*/
- test-sc4s-master-splunk-8-0
# filters:
# branches:
# only: /.*/
- test-sc4s-3-25-1-splunk-7-3
# filters:
# branches:
# only: /.*/
- test-sc4s-3-25-1-splunk-7-2
# filters:
# branches:
# only: /.*/
- approval-tag-alpha:
type: approval
filters:
Expand Down
4 changes: 2 additions & 2 deletions package/etc/conf.d/filters/cisco/cisco_syslog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ parser cisco-parser-ex{
set(
"${4}",
value("HOST")
condition(match('..' value('4')))
condition(not match('^\d+$', value('4')) 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('4')))
);
set(
"${13}",
value("HOST")
condition(match('..' value('13')))
condition(not match('^\d+$', value('13')) 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('13')))
);
set(
"${15}",
Expand Down

0 comments on commit dd959da

Please sign in to comment.