Hello,
I am building a bunch of self-contained ES examples in different
directories. I am trying to figure out the easiest way to point ES to
various locations with minimum absolute paths hardcoded.
Is there a way to point one variable to some sort of home for
everything (elasticsearch.yml, logging.yml, data, logs, etc) to be
relative to that? Or using relative directories in the
elasticsearch.yml in a way that I could just clone that directory
structure to a new example.
I have tried elasticsearch -Des.config and it picks up my config file
but the default paths do not change and are still within ES's install
directory. Relative paths also seem to be relative to the install.
I guess I can do an environmental variable as a common root, but I
would still need to repeat that to point at my config file directly
anyway, right? I am hoping to reduce the call to one simple command
line to switch between examples.
Regards,
Alex.
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAEFAe-HTfQoubr5v%3DzineXjmkJN7TmY0k_qaVyYgeFTKRN-hoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.