Logging not working with Kibana 7.14.1

In my kibana.yml I have given the following. But I don't see kibana logs being written to the path I defined

logging:
  root:
    level: all
  appenders:
    rolling-file:
      type: rolling-file
      fileName: /apps/elk/logs/kibana.log
      policy:
        type: size-limit
        size: 100mb
      strategy:
        type: numeric
        pattern: '-%i'
        max: 10
      layout:
        type: json

you've defined an appender, but your configuration isn't using it.

You can try the following:

logging:
  root:
    level: all
    appenders: [rolling-file]
  appenders:
    rolling-file:
      type: rolling-file
      fileName: /apps/elk/logs/kibana.log
      policy:
        type: size-limit
        size: 100mb
      strategy:
        type: numeric
        pattern: '-%i'
        max: 10
      layout:
        type: json

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