Back to library
Defensive Intermediate Free

Extract DNS events from EVE JSON.

Extract DNS events from EVE JSON.

Suricata / Detection Engineering

Log in to save

Command

jq 'select(.event_type=="dns") | {src_ip,query:.dns.rrname}' eve.json

Syntax

jq 'select(.event_type=="dns") | {src_ip,query:.dns.rrname}' eve.json

Use case

Use during authorized defensive operations, lab simulations, or audit preparation to understand expected telemetry and command structure.

Explanation

Extract DNS events from EVE JSON. This reference is stored in the database and rendered dynamically for safe education, audit, and simulation workflows.

Example output

SIMULATED OUTPUT
status=ok
records=12
note="Database seeded command reference."

More examples

Expanded library example

jq 'select(.event_type=="dns") | {src_ip,query:.dns.rrname}' eve.json

Extract DNS events from EVE JSON.

linux suricata detection-engineering expanded-library

Related

Defensive Intermediate Free

Convert a Sigma rule to a Splunk query.

Convert a Sigma rule to a Splunk query.

sigma convert -t splunk rules/windows/process_creation/proc_creation_win_susp_powershell.yml
sigma detection-engineering expanded-library
Sigma / Detection Engineering Open
Defensive Intermediate Free

Validate process creation rules for syntax errors.

Validate process creation rules for syntax errors.

sigma check rules/windows/process_creation/*.yml
sigma detection-engineering expanded-library
Sigma / Detection Engineering Open
Defensive Intermediate Free

List supported SIEM conversion targets.

List supported SIEM conversion targets.

sigma list targets
sigma detection-engineering expanded-library
Sigma / Detection Engineering Open