Use path.config in pipelines.yml and and remove from logstash.yml for mulltipipeline configuration

I am using multi-pipeline feature.
Now "path.config" in logstash.yaml is of no use to me, as I am mentioning that in my pipelines.yaml.
So, I removed "path.config" from logstash.yaml.

My logstashs.yml looks like this -
<
path.data: /var/lib/logstash
path.logs: /var/log/logstash
/>

My pipelines.yml looks like this -
<

  • pipeline.id: abc
    path.data: /path-to-data
    path.config: /path-to-config/pqr.conf
    path.logs: /path-to-logs/logs.conf
    queue.type: persisted
    />

I am getting the error that configuration file is not provided.
ERROR: No configuration file was specified. Perhaps you forgot to provide the '-f yourlogstash.conf' flag?

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