I'm trying to ingest Zeek network log data (formerly Bro) into SIEM (Beta 7.2). Finally got it configured to ingest the data but I'm getting tons of errors decoding JSON. Here's a sample:
ERROR#011readjson/json.go:52#011Error decoding JSON: json: cannot unmarshal number into Go value of type map[string]interface {}
AND
Error decoding JSON: json: cannot unmarshal number into Go value of type map[string]interface {}
I'm using filebeat to ingest directly into elasticsearch. Here's my filebeat.yml:
#============================== Kibana =====================================
setup.kibana:
host: "mykibana host info here"
#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
Array of hosts to connect to.
hosts: "my elasticsearch host info here"
#============================= Filebeat modules ===============================
filebeat.config.modules:
Glob pattern for configuration loading
path: ${path.config}/modules.d/*.yml
Here is my Zeek.yml:
- module: zeek
All logs
connection:
enabled: true
var.paths:
- "/usr/local/bro/spool/logger/conn.log"
dns:
enabled: true
var.paths:
- "/usr/local/bro/spool/logger/dns.log"
http:
enabled: true
var.paths:
- "/usr/local/bro/spool/logger/http.log"
files:
enabled: true
var.paths:
- "/usr/local/bro/spool/logger/files.log"
ssl:
enabled: true
var.paths:
- "/usr/local/bro/spool/logger/ssl.log"
notice:
enabled: true
var.paths:
- "/usr/local/bro/spool/logger/notice.log"