Skip to content

Commit

Permalink
Add registered_domain
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkroh committed Aug 26, 2019
1 parent f8ba4d3 commit 0f55384
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
8 changes: 6 additions & 2 deletions x-pack/filebeat/module/suricata/eve/config/eve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,13 @@ processors:
transformDetailedAnswers(evt);
addDnsHeaderFlags(evt);
}
- registered_domain:
ignore_missing: true
ignore_failure: true
field: dns.question.name
target_field: dns.question.registered_domain
- drop_fields:
# TODO (andrewkroh 2019-08-22): Uncomment after ignore_missing is added to drop_fields.
#ignore_missing: true
ignore_missing: true
fields:
- suricata.eve.dns.aa
- suricata.eve.dns.tc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"destination.port": 53,
"dns.id": "51803",
"dns.question.name": "google.com",
"dns.question.registered_domain": "google.com",
"dns.question.type": "A",
"dns.type": "query",
"event.category": "network_traffic",
Expand Down Expand Up @@ -41,6 +42,7 @@
"destination.port": 53,
"dns.id": "39523",
"dns.question.name": "google.com",
"dns.question.registered_domain": "google.com",
"dns.question.type": "AAAA",
"dns.type": "query",
"event.category": "network_traffic",
Expand Down Expand Up @@ -88,6 +90,7 @@
],
"dns.id": "39523",
"dns.question.name": "google.com",
"dns.question.registered_domain": "google.com",
"dns.question.type": "AAAA",
"dns.resolved_ip": [
"2607:f8b0:4006:0805:0000:0000:0000:200e"
Expand Down Expand Up @@ -139,6 +142,7 @@
],
"dns.id": "51803",
"dns.question.name": "google.com",
"dns.question.registered_domain": "google.com",
"dns.question.type": "A",
"dns.resolved_ip": [
"172.217.11.46"
Expand Down Expand Up @@ -178,6 +182,7 @@
"destination.port": 53,
"dns.id": "60273",
"dns.question.name": "www.elastic.co",
"dns.question.registered_domain": "elastic.co",
"dns.question.type": "A",
"dns.type": "query",
"event.category": "network_traffic",
Expand Down Expand Up @@ -213,6 +218,7 @@
"destination.port": 53,
"dns.id": "4210",
"dns.question.name": "www.elastic.co",
"dns.question.registered_domain": "elastic.co",
"dns.question.type": "AAAA",
"dns.type": "query",
"event.category": "network_traffic",
Expand Down Expand Up @@ -284,6 +290,7 @@
],
"dns.id": "60273",
"dns.question.name": "www.elastic.co",
"dns.question.registered_domain": "elastic.co",
"dns.question.type": "A",
"dns.resolved_ip": [
"151.101.130.217",
Expand Down Expand Up @@ -362,6 +369,7 @@
],
"dns.id": "4210",
"dns.question.name": "www.elastic.co",
"dns.question.registered_domain": "elastic.co",
"dns.question.type": "AAAA",
"dns.resolved_ip": [
"2a04:4e42:0600:0000:0000:0000:0000:0729",
Expand Down Expand Up @@ -404,6 +412,7 @@
"destination.port": 53,
"dns.id": "28329",
"dns.question.name": "www.yahoo.com",
"dns.question.registered_domain": "yahoo.com",
"dns.question.type": "A",
"dns.type": "query",
"event.category": "network_traffic",
Expand Down Expand Up @@ -439,6 +448,7 @@
"destination.port": 53,
"dns.id": "7050",
"dns.question.name": "www.yahoo.com",
"dns.question.registered_domain": "yahoo.com",
"dns.question.type": "AAAA",
"dns.type": "query",
"event.category": "network_traffic",
Expand Down Expand Up @@ -914,6 +924,7 @@
"destination.port": 53,
"dns.id": "9104",
"dns.question.name": "www.elastic.co",
"dns.question.registered_domain": "elastic.co",
"dns.question.type": "A",
"dns.type": "query",
"event.category": "network_traffic",
Expand Down Expand Up @@ -949,6 +960,7 @@
"destination.port": 53,
"dns.id": "12859",
"dns.question.name": "www.elastic.co",
"dns.question.registered_domain": "elastic.co",
"dns.question.type": "AAAA",
"dns.type": "query",
"event.category": "network_traffic",
Expand Down Expand Up @@ -1020,6 +1032,7 @@
],
"dns.id": "9104",
"dns.question.name": "www.elastic.co",
"dns.question.registered_domain": "elastic.co",
"dns.question.type": "A",
"dns.resolved_ip": [
"151.101.194.217",
Expand Down Expand Up @@ -1098,6 +1111,7 @@
],
"dns.id": "12859",
"dns.question.name": "www.elastic.co",
"dns.question.registered_domain": "elastic.co",
"dns.question.type": "AAAA",
"dns.resolved_ip": [
"2a04:4e42:0000:0000:0000:0000:0000:0729",
Expand Down

0 comments on commit 0f55384

Please sign in to comment.