Error:multiple process in single config file


(Abhiraj Gowda) #1

output {
if [type] == "foo" {
elasticsearch {
index => "foo-index"
}
} else {
elasticsearch {
#hosts => "localhost"
index => "bar-index"
}
}
}

bin/logstash -f config/jira_entire_project_report.conf --debug

result :
[2017-08-30T16:28:22,365][DEBUG][logstash.agent ] Starting puma
[2017-08-30T16:28:22,366][DEBUG][logstash.agent ] Trying to start WebServer {:port=>9600}
[2017-08-30T16:28:22,369][DEBUG][logstash.api.service ] [api-service] start
[2017-08-30T16:28:22,416][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2017-08-30T16:28:25,365][DEBUG][logstash.instrument.periodicpoller.os] PeriodicPoller: Stopping
[2017-08-30T16:28:25,366][DEBUG][logstash.instrument.periodicpoller.jvm] PeriodicPoller: Stopping
[2017-08-30T16:28:25,366][DEBUG][logstash.instrument.periodicpoller.persistentqueue] PeriodicPoller: Stopping
[2017-08-30T16:28:25,371][WARN ][logstash.agent ] stopping pipeline {:id=>"main"}
[2017-08-30T16:28:25,372][DEBUG][logstash.pipeline ] Closing inputs
[2017-08-30T16:28:25,373][DEBUG][logstash.inputs.http_poller] stopping {:plugin=>"LogStash::Inputs::HTTP_Poller"}
[2017-08-30T16:28:25,373][DEBUG][logstash.pipeline ] Closed inputs


(system) #2

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