Logstash - Update template for Suricata metadata fields

This commit is contained in:
Wes Lambert
2018-11-30 13:22:31 +00:00
parent 05accf3017
commit 056e22dd11

View File

@@ -5,7 +5,8 @@
"settings":{ "settings":{
"number_of_replicas":0, "number_of_replicas":0,
"number_of_shards":1, "number_of_shards":1,
"index.refresh_interval":"30s" "index.refresh_interval":"30s",
"index.mapping.total_fields.limit": 10000
}, },
"mappings":{ "mappings":{
"doc":{ "doc":{
@@ -206,6 +207,10 @@
"basic_constraints_path_length":{ "basic_constraints_path_length":{
"type":"long" "type":"long"
}, },
"beat_host":{
"type":"object",
"dynamic": true
},
"bound_port":{ "bound_port":{
"type":"long" "type":"long"
}, },
@@ -860,6 +865,10 @@
} }
} }
}, },
"dhcp":{
"type":"object",
"dynamic": true
},
"dir":{ "dir":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -884,6 +893,10 @@
} }
} }
}, },
"dns":{
"type":"object",
"dynamic": true
},
"domain_age":{ "domain_age":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -919,6 +932,10 @@
} }
} }
}, },
"email":{
"type":"object",
"dynamic": true
},
"enabled":{ "enabled":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -951,6 +968,14 @@
} }
} }
}, },
"engine":{
"type":"text",
"fields":{
"keyword":{
"type":"keyword"
}
}
},
"entry":{ "entry":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -1066,6 +1091,10 @@
} }
} }
}, },
"fileinfo":{
"type":"object",
"dynamic": true
},
"file_ip":{ "file_ip":{
"type":"ip", "type":"ip",
"fields":{ "fields":{
@@ -1101,6 +1130,10 @@
} }
} }
}, },
"flow":{
"type":"object",
"dynamic": true
},
"flow_id":{ "flow_id":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -1338,6 +1371,10 @@
} }
} }
}, },
"http":{
"type":"object",
"dynamic": true
},
"id":{ "id":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -1346,6 +1383,14 @@
} }
} }
}, },
"ids_event_type":{
"type":"text",
"fields":{
"keyword":{
"type":"keyword"
}
}
},
"iin":{ "iin":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -1647,6 +1692,10 @@
} }
} }
}, },
"krb5":{
"type":"object",
"dynamic": true
},
"last_alert":{ "last_alert":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -1826,6 +1875,10 @@
} }
} }
}, },
"metadata":{
"type":"object",
"dynamic": true
},
"method":{ "method":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -1907,6 +1960,10 @@
} }
} }
}, },
"netflow":{
"type":"object",
"dynamic": true
},
"next_protocol":{ "next_protocol":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -2802,6 +2859,14 @@
} }
} }
}, },
"smb":{
"type":"object",
"dynamic": true
},
"smtp":{
"type":"object",
"dynamic": true
},
"software_type":{ "software_type":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -3094,6 +3159,10 @@
} }
} }
}, },
"tcp":{
"type":"object",
"dynamic": true
},
"tcp_flags":{ "tcp_flags":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -3243,6 +3312,14 @@
} }
} }
}, },
"tx_id":{
"type":"text",
"fields":{
"keyword":{
"type":"keyword"
}
}
},
"type":{ "type":{
"type":"text", "type":"text",
"fields":{ "fields":{
@@ -3294,6 +3371,14 @@
"uri_length":{ "uri_length":{
"type":"long" "type":"long"
}, },
"url":{
"type":"text",
"fields": {
"keyword":{
"type":"keyword"
}
}
},
"username":{ "username":{
"type":"text", "type":"text",
"fields": { "fields": {