Can we pass command line arguments to logstash.?
I am sending the output from logstash to redis server. I would like to use command line arguments to pass the redis host.
How can we pass command line arguments to logstash and use them in script.?
Can we pass command line arguments to logstash.?
I am sending the output from logstash to redis server. I would like to use command line arguments to pass the redis host.
How can we pass command line arguments to logstash and use them in script.?
No, but in recent versions of Logstash you can reference environment variables in the configuration files.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.