Using environment variables in kibana.yml

Hello all!

I've done some looking around, but can't find the answer: Is it possible to use environment variables in kibana.yml to influence things like the logging.dest target? I've tried a couple things, but have had no luck.

logging.dest:  %{LOG_DIR}  

Creates the file %{LOG_DIR} which isn't quite what I was after. :smiley:

Thanks!

I'm looking to see if there are other options, but the only thing I can think of off-hand is to set the config via CLI arguments using the environment variables. Something like:

bin/kibana --logging.dest=LOG_DIR

1 Like

Thanks! I saw that, too... I made that work for that particular setting... now if I could just get the PID to come out somewhere writable to me...