mirror of
https://github.com/Lanakod-Networks/snort-docker.git
synced 2026-11-26 23:25:55 +00:00
Removed logs, .env, updated snort conf
This commit is contained in:
10 files changed
+34
-158067
No files matched your search
@@ -13,6 +13,28 @@ input {
|
||||
|
||||
|
||||
filter {
|
||||
if [type] == "snort-json" {
|
||||
if [message] =~ /^{.*}$/ {
|
||||
json {
|
||||
source => "message"
|
||||
}
|
||||
}
|
||||
}
|
||||
if [type] == "snort-appid" {
|
||||
csv {
|
||||
source => "message"
|
||||
separator => ","
|
||||
skip_header => "false"
|
||||
columns => ["timestamp","app","bytesToClient","bytesToServer"]
|
||||
}
|
||||
mutate {
|
||||
convert => {
|
||||
timestamp => "date"
|
||||
bytesToClient => "integer"
|
||||
bytesToServer => "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -258,14 +258,15 @@ rate_filter =
|
||||
-- event logging
|
||||
-- you can enable with defaults from the command line with -A <alert_type>
|
||||
-- uncomment below to set non-default configs
|
||||
alert_csv = {
|
||||
file = true,
|
||||
}
|
||||
alert_fast = {
|
||||
file = true,
|
||||
packet = false,
|
||||
limit = 10,
|
||||
}
|
||||
-- alert_csv = {
|
||||
-- fields = 'timestamp pkt_num proto pkt_gen pkt_len dir src_addr src_port dst_addr dst_port service rule priority class action b64_data',
|
||||
-- file = true,
|
||||
-- }
|
||||
-- alert_fast = {
|
||||
-- file = true,
|
||||
-- packet = false,
|
||||
-- limit = 10,
|
||||
-- }
|
||||
alert_json = {
|
||||
fields = 'timestamp pkt_num proto pkt_gen pkt_len dir src_addr src_port dst_addr dst_port service rule priority class action b64_data',
|
||||
file = true
|
||||
|
||||
Reference in new issue
Block a user