# \[RESOLVED\] Custom log in Kibana

**URL:** https://discuss.elastic.co/t/resolved-custom-log-in-kibana/85100
**Category:** Kibana
**Created:** [May 9, 2017, 1:35pm UTC](https://discuss.elastic.co/t/resolved-custom-log-in-kibana/85100 "2017-05-09T13:35:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Florius](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@Florius](https://discuss.elastic.co/u/Florius)
#### Post date: [May 9, 2017, 1:35pm UTC](https://discuss.elastic.co/t/resolved-custom-log-in-kibana/85100/1 "2017-05-09T13:35:57Z")

</div>

Hi. I use software that makes logfiles in /var/log/_softwarename_/_YYYYMMDD_/  
It uses JSON formatting. But I'm new to Kibana and have no idea how I can read out the log files properly, as I get the log files in a single rule while I should be able to use formatting.

This all sounds very vague, but please see [https://www.youtube.com/watch?v=H6dCCw666Xw&t=341s](https://www.youtube.com/watch?v=H6dCCw666Xw&t=341s) (skip to 2:39).  
Hopefully this explains some things...

EDIT: Okay, I did some research and found out that it reads the correct files.  
However formatting of it in Kibana is wrong:  
[![](https://puu.sh/vKyFO/0097ac2c0f.png) ](https://puu.sh/vKyFO/0097ac2c0f.png)  
So how can I make sure it has proper fields and such, as in the video?

EDIT2: Fixed it. Disabled Logstash and using only Filebeat to parse the JSON files, works perfect!

---

<div class="post-metadata">

### Author: ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)
#### Post date: [May 9, 2017, 7:00pm UTC](https://discuss.elastic.co/t/resolved-custom-log-in-kibana/85100/2 "2017-05-09T19:00:45Z")

</div>

Hi @Florius,

what tool are you using to ingest the logs into Elasticsearch? Logstash? Filebeat?

---

<div class="post-metadata">

### Author: ![Florius](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@Florius](https://discuss.elastic.co/u/Florius)
#### Post date: [May 9, 2017, 7:13pm UTC](https://discuss.elastic.co/t/resolved-custom-log-in-kibana/85100/3 "2017-05-09T19:13:05Z")

</div>

Well I actually use both Logstash and Filebeat... I'm not even sure if that's possible but Filebeat prospector gives me the correct files and I try to parse it with Logstash.

(Both Logstash and Filebeat run on the same server as intended, I will be using it only for logfiles on this server.)

---

<div class="post-metadata">

### Author: ![StephenGoodall](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@StephenGoodall](https://discuss.elastic.co/u/StephenGoodall)
#### Post date: [May 10, 2017, 5:26am UTC](https://discuss.elastic.co/t/resolved-custom-log-in-kibana/85100/4 "2017-05-10T05:26:55Z")

</div>

What do you have in your logstash config?  
As it's already in JSON format you should just be able to use something like:  
`{ codec => json_lines }`

in your input block

---

<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: [June 7, 2017, 5:34am UTC](https://discuss.elastic.co/t/resolved-custom-log-in-kibana/85100/5 "2017-06-07T05:34:09Z")

</div>

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