sof-elk
sof-elk copied to clipboard
Create Community ID field for NetFlow
See https://github.com/corelight/community-id-spec
https://github.com/Cyb3rWard0g/HELK/commit/e81a98a745a4d02acc9d346865aeb312b3ee599d#diff-81497c6343ac648c68637062cf1ba082
also add for any entry with all necessary component fields
create ElasticSearch pipeline and apply via the logstash elasticsearch output
https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html#add-pipeline-to-indexing-request
https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html
may be easier to just use a ruby implementation: https://github.com/rocknsm/rock-dashboards/blob/master/ecs-configuration/logstash/conf.d/logstash-900-filter-community_Id_hash-enrich.conf