Logstash Pipeline.yml - logstash.agent Failed to execute action

Hello all,

With Logstash 7.5.0 running, with us of the debug running a "LogStash::ConfigurationError" message appears saying that its expected "Expected one of [ \t\r\n], "#", "input", "filter", "output" at line 1, column 1"

The pipeline.yml is below -

- pipeline.id: main
  path.config: "/path/to/logstash/conf.d/*.conf"
  pipeline.workers: 1
- pipeline.id: tester
  path.config: "/path/to/logstash/tester-conf.d/*.conf"
  pipeline.workers: 1
- pipeline.id: testerlive
  path.config: "/path/to/logstash/testerlive-conf.d/*.conf"
  pipeline.workers: 1

Have the debugger on and it looks like that it keeps pointing to the "-" at the beginning of stating a new pipeline.id. I have had a little look around to see if I can change this around to see if this can begin to work, but no luck.

In the logstash.yml the Pipeline Configuration Settings property for the path config is below and shows the correct path to the pipeline.yml -

path.config: /path/to/logstash/pipelines.yml

Have I missed something or is there something that needs to be done or to be done else where?

It was working before the upgrade to 7.5.0!

Would be great for a push in the right direction!

Thank you in advance!

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