Logstash instance


(Sripal) #1

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


(Sripal) #2

Please let me know if i misunderstood anything.


(Lewis Barclay) #3

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


(Sripal) #4

Yes.


(Sripal) #5

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


(Lewis Barclay) #6

What OS are you using?


(Christian Dahlqvist) #7

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