# Kibana logs on Windows

**URL:** <https://discuss.elastic.co/t/kibana-logs-on-windows/338974>\
**Category:** Kibana\
**Created:** [July 22, 2023, 12:09am UTC](https://discuss.elastic.co/t/kibana-logs-on-windows/338974 "2023-07-22T00:09:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kvoyce2023](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvoyce2023/32/123012_2.png) [@Kvoyce2023](https://discuss.elastic.co/u/Kvoyce2023)\
**Post date:** [July 22, 2023, 12:09am UTC](https://discuss.elastic.co/t/kibana-logs-on-windows/338974/1 "2023-07-22T00:09:12Z")

</div>

This is on Windows. Kibana works and I am able to visualize the data.

What I am trying to achieve is to view the Kibana logs on the location which I have provided. Below is what I got on my kibana.yml but nothing gets created on the location provided for logs, when I start kibana.bat

Can someone advise to resolve the issue ? Thank you.

```auto
# =================== System: Logging ===================
# Set the value of this setting to off to suppress all logging output, or to debug to log everything. Defaults to 'info'
logging.root.level: info
logging:
  appenders:
    rolling-file:
      type: rolling-file
      fileName: "C:\\elastic\\kibana-8.6.2\\logs\\kibana.log"
      policy:
        type: size-limit
        size: 100mb
      layout:
        type: pattern

```

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [July 22, 2023, 9:39am UTC](https://discuss.elastic.co/t/kibana-logs-on-windows/338974/2 "2023-07-22T09:39:34Z")

</div>

I'm using this:

```auto
logging.root.level: info
logging.appenders.default:
  type: file
  fileName: C:/elastic/Kibana/logs/kibana.log
  layout:
    type: pattern

```

So try your with: ` fileName: "C:/elastic/kibana-8.6.2/logs/kibana.log"` or my settings

---

<div class="post-metadata">

**Author:** ![Kvoyce2023](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvoyce2023/32/123012_2.png) [@Kvoyce2023](https://discuss.elastic.co/u/Kvoyce2023)\
**Post date:** [July 22, 2023, 1:45pm UTC](https://discuss.elastic.co/t/kibana-logs-on-windows/338974/3 "2023-07-22T13:45:08Z")

</div>

it worked. backward slashes on the path was the issue. Thank you Rios.

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [July 22, 2023, 1:51pm UTC](https://discuss.elastic.co/t/kibana-logs-on-windows/338974/4 "2023-07-22T13:51:56Z")

</div>

Long live the king and the Elastic team.

---

<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 19, 2023, 1:52pm UTC](https://discuss.elastic.co/t/kibana-logs-on-windows/338974/5 "2023-08-19T13:52:52Z")

</div>

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