Logstash instance

Hi,

I have some doubt in logstash instance.

  1. I ran one config file "logstash -f abc.conf" my path.data is "logstash/data"
  2. I tried to ran another config "logstash -f xyz.conf" it is showing error as "Logstash could not be started because there is already another instance using the configured data directory. If you wish to run multiple instances, you must change the "path.data" setting"
  3. I changed my path.data to "logstash/data1". Now its running fine
  4. I need to change the path.data all the times?
  5. I tried to run the same "logstash -f abc.conf" with some changes. But i am getting same error "logstash could not be started because there is already another instance using the configured data directory. If you wish to run multiple instances, you must change the "path.data" setting"
  6. Here my question, is it necessary to change the "path.data" everytime?

Please help me with this question.

Regards,
Sripal

Please let me know if i misunderstood anything.

Why do you want to run multiple instances in the first place?

Yes.

@Eniqmatic I want ot run the same instance after some changes.

What OS are you using?

It sounds like you might be looking to run multiple pipelines within a single Logstash instance.

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