How to get log when running kibana as a developer

Hi,

I am running kibana as a developer (in development mode). How and where can I get the log files when doing the same?

Logging details in my kibana.yml
My kibana working directory is /my_work/kibana

logging.dest: /my_work/kibana/kibana.log

logging:
  appenders:
    file:
      type: file
      fileName: /my_work/kibana/kibana.log
      layout:
        type: json
  root:
    appenders: [default, file]

The log file is empty, whatever location I specify in kibana.yml

Thanks

Just added this to my {kibana_folder}/config/kibana.dev.yml file and I can see logs coming to my /tmp/kibana.log file when running kibana from the main branch.

logging:
  appenders:
    file:
      type: file
      fileName: /tmp/kibana.log
      layout:
        type: json
  root:
    appenders: [default, file]
    level: debug

Not sure what is wrong with your configuration. Do you see any errors in the console from where you run yarn start?

1 Like

It worked!! Thanks :star_struck:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.