Closed yaauie closed 1 year ago
Are there any plans to add Zeek/Suricata ECS support in Logstash?
Related issue: https://github.com/elastic/logstash/issues/11306
Are there any plans to add Zeek/Suricata ECS support in Logstash?
No specific effort that I'm aware of, as both the Zeek and Suricata modules referenced are implemented in Beats (not Logstash).
Plugins that are bundled with Logstash need to be able to run in an ECS-Compatible mode by default in an upcoming major release of Logstash, unless explicitly configured to do otherwise.
Below is our list of bundled plugins. The list will be kept up-to-date with links issues on the individual projects, along with one of the three categories (align, conflict, undefined).
Input Plugins
Input Plugins are generally reliant on Codec Plugins to produce their event structure, but many add metadata related to the source of the input (e.g., sender host info for inbound connections, file paths for discovered files, etc.), and some include embedded Filter Plugins that must separately implement ECS-Compatibility.
[@metadata][redis_channel]
_)SQS Inputhttps://github.com/logstash-plugins/logstash-input-sqs/issues/58 (we could provide ECS defaults)Codec Plugins
Codec Plugins produce Events from a sequence of Bytes, and are responsible for the basic structure of those Events, and while some implicitly take the produced structure verbatim from the deserialized input (e.g., JSON*), others decode the bytes they are given into their own structure (e.g., CEF).
EDN Codecevent_factory + target onlyEDN Lines Codecevent_factory + target onlyFluent Codecevent_factory + target onlyGraphite Codecevent_factory onlyMsgPack Codecevent_factory + target onlytarget => 'netflow'
by default)Collectd Codecevent_factory + target onlyFilter Plugins
Filter plugins manipulate Events by reading and writing from their fields. To be ECS-Compatible, a Filter must not read from or write to ECS-conflicting fields unless the field name is explicitly given in the plugin's configuration.
'.'
, usingnested => true
could improve ECS compatibility)key => ...
selector is user arbitrary)Output Plugins
Output Plugins do not generally manipulate event structure, but are included in this list for completeness as some may benefit from an ECS-Compatibility mode (e.g. Elasticsearch's template management).
Output Plugins
Email OutputFile OutputHTTP OutputKafka Output*- https://github.com/logstash-plugins/logstash-integration-kafka/issues/17Redis OutputRabbitMQhttps://github.com/logstash-plugins/logstash-integration-rabbitmq/issues/28S3 OutputStdout OutputTCP OutputUDP OutputCsv OutputElastic_app_search OutputGraphite OutputLumberjack OutputNagios OutputNull OutputPipe OutputSqs Output[@metadata][thread_id]
Follow-up Work
:v8 => :v1
mappings in ECS-ified plugins