Closed cultofmetatron closed 10 years ago
@cultofmetatron, I don't use the embedded elasticsearch
for anything other than testing, so I don't have much experience trying to persist the data.
Having said that, I'm fairly certain the embedded elasticsearch
uses the default elasticsearch directory layout.
You should be able to set elasticsearch
config values using the LS_JAVA_OPTS
environment variable. From there, bin/logstash
should pass LS_JAVA_OPTS
to the embedded elasticsearch
java environment.
For example, LS_JAVA_OPTS="$LS_JAVA_OPTS -Des.path.home=/opt/elasticsearch
. The log directory path is relative to home
set above, {path.home}/logs
.
I hope this helps.
Closing due to inactivity. Please reopen this issue if the problem persists.
I want to be able to persist the container and store backups of the data. Where does loggerstass's embedded elastic search store the data so that I can either copy it for backups?