Logstash is not starting with Error execute Action Create/Pipeline_main

Hey,

I am constantly trying to get logstash to run. But unfortunately it always shows the error message which is mentioned in the title.

Here is my logstash.conf:

input {
beats {
port => 5044
}
}

filter{
date{
match => ["logdate", "YYYY-MM-dd'T'HH:mm:ss'.'SSSSSSXXX"]
target => "@timestamp"
}
}

output {
elasticsearch {
hosts => ["http://localhost:9200"]
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"

}
}

Thanks for your help!

What is the complete error message?

Sais body is limited to 7000 characters, so I can't post the whole error. But basically it is a JavaLang IllegalArgumentException for LogStash::PipelineAction::Create/pipeline_id:main : backtrace

That's odd. I would expect that configuration to fail with "Illegal pattern component: XXX".

Fails with the same error if I put a "#" to comment it out

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.