# Logging configuration Kibana

**URL:** <https://discuss.elastic.co/t/logging-configuration-kibana/308580>\
**Category:** Kibana\
**Created:** [June 30, 2022, 1:18pm UTC](https://discuss.elastic.co/t/logging-configuration-kibana/308580 "2022-06-30T13:18:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lily\_si](https://avatars.discourse-cdn.com/v4/letter/l/7ba0ec/32.png) [@Lily\_si](https://discuss.elastic.co/u/Lily_si)\
**Post date:** [June 30, 2022, 1:18pm UTC](https://discuss.elastic.co/t/logging-configuration-kibana/308580/1 "2022-06-30T13:18:21Z")

</div>

Hello Everyone,

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

```auto
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

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [July 5, 2022, 5:07pm UTC](https://discuss.elastic.co/t/logging-configuration-kibana/308580/2 "2022-07-05T17:07:56Z")

</div>

Hello,

What is your stack version please?

cc @jbudz

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Lily\_si](https://avatars.discourse-cdn.com/v4/letter/l/7ba0ec/32.png) [@Lily\_si](https://discuss.elastic.co/u/Lily_si)\
**Post date:** [July 5, 2022, 8:05pm UTC](https://discuss.elastic.co/t/logging-configuration-kibana/308580/3 "2022-07-05T20:05:04Z")

</div>

Hello, I used the 7.16 version

---

<div class="post-metadata">

**Author:** ![Lily\_si](https://avatars.discourse-cdn.com/v4/letter/l/7ba0ec/32.png) [@Lily\_si](https://discuss.elastic.co/u/Lily_si)\
**Post date:** [July 11, 2022, 1:40pm UTC](https://discuss.elastic.co/t/logging-configuration-kibana/308580/4 "2022-07-11T13:40:21Z")

</div>

I resolved this by adding:

```auto
  root:
    appenders: [default, rolling-file]

```

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 8, 2022, 1:41pm UTC](https://discuss.elastic.co/t/logging-configuration-kibana/308580/5 "2022-08-08T13:41:06Z")

</div>

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