I am trying to improve my ELK security with logstash keystore.
I am following instruction from this article: https://www.elastic.co/guide/en/logstash/current/keystore.html
All instructions seems to be straight forward until there is actually time to type variables ....
I want to create 2 variables: ${var1} , ${var1}. I have created password protected keystore and I have moved it to config folder (this is where my .conf file is located)
Now, when I create variables that supposed to hold cloud_id and cloud_auth do I need to type it character by character or can I simple copy - paste? Especially cloud_id is a super long String. To make it more complicated when I type I can not see what is getting type. This makes it super easy to make a mistake.
That's correct, after creation keystore ends up in bin dicrectory. But also, as you cited above
The keystore must be located in Logstash’s path.settings directory. This is the same directory that contains the logstash.yml file.
This says that logstash.yml should be in the same direcotry that keystore. Does it mean that I should move .yml file to bin instead of moving keystore to config directory?
Nice, so it created keystore in config folder when you executed "logstash-keystore create" from the base directory. Cool, I have a few meetings in the morning but I will keep working on this today.
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.