Using environment variables in kibana.yml


(Dave ) #1

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!


How to set custom env variable in kibana.yml
(Court Ewing) #2

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


(Dave ) #3

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...


(system) #4