Skip to content

Commit

Permalink
Merge pull request #388 from splunk/feature/updatedropfeaturename
Browse files Browse the repository at this point in the history
Change f_catch_first to f_null_queue
  • Loading branch information
Ryan Faircloth authored and GitHub committed Apr 1, 2020
2 parents 2fc693b + d4b90d3 commit 9078ca9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ docker stack deploy --compose-file docker-compose.yml sc4s
## Dropping all data by ip or subnet

In some cases rogue or port-probing data can be sent to SC4S from misconfigured devices or vulnerability scanners. Update
the `vendor_product_by_source.conf` filter `f_catch_first` with one or more ip/subnet masks to drop events without
the `vendor_product_by_source.conf` filter `f_null_queue` with one or more ip/subnet masks to drop events without
logging. Note that drop metrics will be recorded.


Expand Down
5 changes: 0 additions & 5 deletions package/etc/conf.d/filters/misc/catchfirst.conf

This file was deleted.

5 changes: 5 additions & 0 deletions package/etc/conf.d/filters/misc/null_queue.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#f_null_queue
filter f_null_queue {
match("^null_queue", value("fields.sc4s_vendor_product"));

};
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# vulnerability scanners to be ignored
log {

filter(f_catch_first);
filter(f_null_queue);

flags(catchall,final);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ filter f_test_test {
host("testvp-*" type(glob))
#or netmask(xxx.xxx.xxx.xxx/xx)
};
filter f_catch_first {
filter f_null_queue {
netmask(169.254.100.0/24)
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
f_test_test,sc4s_vendor_product,"test_test"
f_brocade_syslog,sc4s_vendor_product,"brocade_syslog"
f_catch_first,sc4s_vendor_product,"catch_first"
f_null_queue,sc4s_vendor_product,"catch_first"
f_cisco_meraki,sc4s_vendor_product,"cisco_meraki"
f_citrix_netscaler,sc4s_vendor_product,"citrix_netscaler"
f_dell_rsa_secureid,sc4s_vendor_product,"dell_rsa_secureid"
Expand Down

0 comments on commit 9078ca9

Please sign in to comment.