I am currently pushing logs to the Elasticsearch from Filebeat. I’m trying to extract the trace_id from the message field and store the value in a separate field.
The message field has the value: 2024-09-23 10:00:915 [http-nio-9100-exec-1] [INFO ] com.ZZZ.YYY.service.UserService [XXXX-80c4-437c-b7ae-XXXXX,YYYYYY-4e90-474e-ba30-YYYYY] [ZZZ-services,post/MMM/process] : Getting user by uuid <getUserByUUID>YYYYYY-4e90-474e-ba30-YYYYY
I created an ingest pipeline with a Grok pattern to capture the trace_id, but it doesn’t appear in Kibana. I have added the pipeline name in the filebeat configuration as well.
Thanks @Rios . I have updated the Grok pattern and even verified it with a sample document. But still I am not able to see the field created. Is there anything else to be done? New index has to be created for the changes to reflect?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.