Logging configuration Kibana

Hello Everyone,

I'm trying to set logging parameters in the file kibana.yml by using the "rolling-file" function, here is my configuration :

logging:
  appenders:
    rolling-file:
      type: rolling-file
      fileName: /home/elk/logs.json
      policy:
        type: size-limit
        size: 50mb
      strategy:
        type: numeric 
        pattern: '-%i'
        max: 2
      layout:
        type: json

There are no file created in this path...
Can someone help me please ?
Thank you

Hello,

What is your stack version please?

cc @jbudz

Thanks,
Bhavya

Hello, I used the 7.16 version

I resolved this by adding:

  root:
    appenders: [default, rolling-file]

It seems that kibana ignore the configuration even on the 7.16 version...

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