-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
False
-
False
-
NEW
-
NEW
-
-
Logging (Core) - Sprint 207, Logging (Core) - Sprint 208, Logging (Core) - Sprint 209, Logging (Core) - Sprint 210, Logging (Core) - Sprint 211, Logging (Core) - Sprint 212
add id_key field in Log Record which is used to uniquely identify a record
In fluentd this id is generated from OAL plugin https://github.com/openshift/origin-aggregated-logging/blob/master/fluentd/lib/filter_elasticsearch_genid_ext/lib/filter_elasticsearch_genid_ext.rb
and used in fluentd config generation here https://github.com/openshift/cluster-logging-operator/blob/master/internal/generator/fluentd/ingress.go#L349-L359
Fluentd config
https://github.com/openshift/cluster-logging-operator/blob/master/internal/generator/fluentd/output/elasticsearch/elasticsearch.go#L51
https://github.com/uken/fluent-plugin-elasticsearch#id_key
Vector Config
https://vector.dev/docs/reference/configuration/sinks/elasticsearch/#id_key