Logs in the file "message"

Hello @driveirk

Thanks for pointing it out. Currently, the Readonlyrest Kibana plugin doesn’t support rolling-file logging type, which is why logs strictly from the plugin are not saved in the file. We currently have a task for supporting it. I will bump the priority. We support two types of logging, fileand console. Since only rotated files will receive a suffix, it looks like these settings should work in your case

logging:
    appenders:
        readonlyrest-file:
            type: file
            fileName: /var/log/kibana/kibana.log
            layout:
                type: json
        rolling-file:
            type: rolling-file
            fileName: /var/log/kibana/kibana.log
            policy:
                type: time-interval
                interval: 24h
                modulate: true
            strategy:
                type: numeric
                pattern: '-%i'
                max: 7
            layout:
                type: json
    root:
        level: info
        appenders: [readonlyrest-file, rolling-file]