-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
I created a custom source file to parse BRO logs. By default BRO has key names containing dots like id.orig_h or id.resp_h. When I do the following destination_address = 'id.orig_h' and run eqllib it ignores this mapping. However, if I manually change id.orig_h to dest_addr in the JSON log file and change my source file statement to destination_address = 'dest_addr' it works.
bro-source.toml
name = "Bro events"
strict = true
domain = "bro-domain"
filter_query = true
[timestamp]
field = "ts"
format = "%Y-%m-%d %H:%M:%S.%f"
[fields.mapping]
ts = "ts"
uid = "uid"
destination_address = 'id.orig_h'
[events.bro_conn]
filter = "conn_state"
[events.bro_conn.mapping]
proto = 'proto'
conn_state = 'conn_state'
local_orig = 'local_orig'
local_resp = 'local_resp'bro-domain.toml
name = "bro-domain"
fields = [
# Common Fields
"ts",
"uid",
"destination_address"
]
[events.bro_conn]
fields = [
"proto",
"conn_state",
"local_orig",
"local_resp",
"missed_bytes"
]Metadata
Metadata
Assignees
Labels
No labels