Practice: speaking ECS
12 min · 2 ejercicio(s)
Cheat sheet
| You want | ECS field |
|---|---|
| When it happened | @timestamp |
| On which machine | host.name |
| Who | user.name |
| From where / to where | source.ip, destination.ip, destination.port |
| Country of an address | source.geo.country_iso_code |
| Which program, started by which | process.name, process.parent.name |
| Full command | process.command_line |
| What kind of event | event.category, event.type |
| Did it work | event.outcome |
| Which data source | event.dataset |
Typical mistakes
- Mixing up source and destination. For outbound traffic the internal host is the source.
- Inventing fields.
src_ipnext tosource.ipmeans half of your queries miss half of your data. - Free text in categorization fields.
event.category: loginis not an ECS value,authenticationis. - Wrong types. An IP stored as
keywordcan't be searched with CIDR ranges and breaksipcomparisons across indices.