Starting logstash with index provided by user from UI screen

(Ganesha Venkanna) #1

I understand that currently the index name is supplied in the logstash.conf,i have a requirement where,where user will supply a index name through UI and i need to run logstash with the name provided.

Can we supply the index name when starting logstash something like below.

bin\logstash -f logstash.conf -i "indexName"


(Magnus Bäck) #2

You can reference an environment variable in the configuration file ( and set that variable when you start Logstash.

(Ganesha Venkanna) #3

Thanks for the response,the link tells about unix machine,can you give me the command for windows machine?

(Magnus Bäck) #4

(system) #5

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