# Rails logs בפורמט NDJSON עבור Kibana?

**URL:** https://meta.discourse.org/t/rails-logs-in-ndjson-format-for-kibana/197259
**Category:** Support
**Created:** [15 ביולי,‏ 2021,‏ 4:26pm UTC](https://meta.discourse.org/t/rails-logs-in-ndjson-format-for-kibana/197259 "2021-07-15T16:26:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alexk](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@alexk](https://meta.discourse.org/u/alexk)
#### Post date: [15 ביולי,‏ 2021,‏ 4:26pm UTC](https://meta.discourse.org/t/rails-logs-in-ndjson-format-for-kibana/197259/1 "2021-07-15T16:26:23Z")

</div>

Howdy! I am interested in shipping Discourse logs to Kibana. To that end, I’d like to change the rails logging format to `NDJSON` if that’s a possibility.

Does anyone know how to do that or if it’s possible?

I have to admit that, outside of Discourse, I have a relatively low amount of experience with Rails apps, so if you think this isn’t really a valuable exercise just let me know 🙂

(I’m also aware of the `/logs` endpoint, but I’d like something that’s still available if the entire system is down or if my web instances are completely destroyed)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [15 ביולי,‏ 2021,‏ 5:39pm UTC](https://meta.discourse.org/t/rails-logs-in-ndjson-format-for-kibana/197259/2 "2021-07-15T17:39:07Z")

</div>

You can set `ENABLE_LOGRAGE: true` in your app.yml to get NDJSON formatted logs.

---

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [15 ביולי,‏ 2021,‏ 9:58pm UTC](https://meta.discourse.org/t/rails-logs-in-ndjson-format-for-kibana/197259/3 "2021-07-15T21:58:43Z")

</div>


