You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(optional) already reported 3rd party upstream repository or mailing list if you use k8s addon or helm charts.
Problem
When I switched to ES & Filebeat 8 which uses DataStreams and also changed type in Fluentd to elasticsearch_data_stream then all pipelines stopped to work.
### General match
<match **>
@type elasticsearch_data_stream
data_stream_name filebeat-8.12.2
scheme https
host es01
port 9200
user elastic
password xxxxxxx
include_timestamp true
verify_es_version_at_startup false
default_elasticsearch_version 8
suppress_type_name true
ssl_verify false
#pipeline ${record['@metadata']['pipeline']}
pipeline filebeat-8.12.2-apache-access-pipeline
</match>
</label>
Example ES document coming from Filebeat that has read an Apache access log through the module. You can see the metadata pipeline there.
You can use a workaround to write to a datastream with the type set to Elasticsearch, ensuring the pipeline functions correctly:
<match **>
@type elasticsearch
scheme https
host es01
port 9200
user elastic
password xxxxxxx
include_timestamp true
verify_es_version_at_startup false
default_elasticsearch_version 8
suppress_type_name true
ssl_verify false
# Use index_name instead of data_stream_name
index_name filebeat-8.12.2
# Datastreams can only handle 'create' operations, so we set this to write to the datastream
write_operation create
# The pipeline is now functioning correctly
pipeline filebeat-8.12.2-apache-access-pipeline
</match>
(check apply)
Problem
When I switched to ES & Filebeat 8 which uses DataStreams and also changed type in Fluentd to elasticsearch_data_stream then all pipelines stopped to work.
Example ES document coming from Filebeat that has read an Apache access log through the module. You can see the metadata pipeline there.
...
Expected Behavior or What you need to ask
That ES should use the pipeline supplied. Both if supplied in config file and also from @metadata.pipeline that Filebeat ships.
...
Using Fluentd and ES plugin versions
The text was updated successfully, but these errors were encountered: