Project

General

Profile

Actions

Task #4919

open

Add option to change sensor-name log field

Added by Jason Ish almost 3 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

Currently if the sensor-name option is set, it will be logged to eve at the top level host.

This causes an issue with Filebeat which is often used to process logs. In particular this causes an issue if not using the Filebeat Suricata module that maps Suricata events to ECS.

What Filebeat will do is overwrite the host field with its own host object, losing the Suricata sensor name. Note that if using the Suricata module the host field is retained, but remapped to suricata.eve.host, so the problem isn't so bad.

Due to the popularity of Filebeat it would be nice to change the default field name used here. Something like sensor or sensor_name would be better for tools like Filebeat, but is just generally a better name for what this field is.

I'm not sure how to handle the upgrade path. Ideally newly generated configuration files would default to this new name just as the default.

Actions #1

Updated by Jason Ish almost 3 years ago

Personally I'd like this field to default to sensor_name, with an option to rename it.

Actions #2

Updated by Victor Julien about 2 years ago

  • Target version changed from 7.0.0-beta1 to 7.0.0-rc1
Actions #3

Updated by Victor Julien almost 2 years ago

  • Target version changed from 7.0.0-rc1 to 8.0.0-beta1
Actions #4

Updated by Philippe Antoine over 1 year ago

  • Assignee set to OISF Dev
Actions

Also available in: Atom PDF