I have a logstash pipeline which worked well sometimes for 2 or 3 weeks, but this time it worked for 2 days, and this morning it return this error :
Badly formatted index, after interpolation still contains placeholder: [idx_uat_zed_v1_p0340_s1158_%{[@metadata][input][type]}_custom]
I can not figure out where is the problem located. is it in my pipeline, is it in the message parsed by my pipeline... I wonder if it is not during the index creation....
I'm open to any idea...
Can you share which version of Logstash you are using, and share your pipeline configuration? Looking at this similar issue it might be down to a syntax error.
Hi Carly,
I saw the issue you are talking about, and i did not notice any syntax error.
We are running a v8.x logstash (not sure about the x).
Here is the pipeline :
You are sending events to the output that do not have a [@metadata][input][type] field. Your filter section will only add that if [message] =~ /^time=/, so I guess you just started receiving events for which that is not true.
You are right.
To test, I add the field with a new value in an else section.
For the moment, the error is not return... I'm gonna let it run few days and i will close this topic.
Thx for your help.
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.