hi,
If someone is looking for an answer, look at this, it's mine !
config logstash plugin :
input {
elasticsearch {
hosts => ["SRV1001:9200"]
index => "data_test-${an}.${nbELK:NOVAL}"
}
}
...
Here, i'm using two SYSVAR called "an" and "nbELK" and that are declared in advance.
Be careful, in Logstash version 2.41, you must execute with the flag "--allow-env"
like this >>> logstash -f ficLogstash.conf --allow-env
It's OK on Windows env. Probably no problem also on Linux...
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.