# Getting the logs in filebeat log but not in kibana

**URL:** https://discuss.elastic.co/t/getting-the-logs-in-filebeat-log-but-not-in-kibana/221177
**Category:** Beats
**Tags:** filebeat
**Created:** [February 27, 2020, 8:46am UTC](https://discuss.elastic.co/t/getting-the-logs-in-filebeat-log-but-not-in-kibana/221177 "2020-02-27T08:46:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![HimanshiM](https://avatars.discourse-cdn.com/v4/letter/h/5daacb/32.png) [@HimanshiM](https://discuss.elastic.co/u/HimanshiM)
#### Post date: [February 27, 2020, 8:46am UTC](https://discuss.elastic.co/t/getting-the-logs-in-filebeat-log-but-not-in-kibana/221177/1 "2020-02-27T08:46:53Z")

</div>

Hi,

Somedays back I was getting the logs in kibana. Then since two days the logs are getting into filebeat logs but I could not see them on Kibana although I have not made any changes in any file.

Please help me as soon as possible.

---

<div class="post-metadata">

### Author: ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)
#### Post date: [February 27, 2020, 8:58am UTC](https://discuss.elastic.co/t/getting-the-logs-in-filebeat-log-but-not-in-kibana/221177/2 "2020-02-27T08:58:46Z")

</div>

Hi!

Could you provide more information about your setup/configuration etc? Anything interesting in what filebeat logging? Are events successfully sent to Elasticsearch?

C.

---

<div class="post-metadata">

### Author: ![HimanshiM](https://avatars.discourse-cdn.com/v4/letter/h/5daacb/32.png) [@HimanshiM](https://discuss.elastic.co/u/HimanshiM)
#### Post date: [February 27, 2020, 9:47am UTC](https://discuss.elastic.co/t/getting-the-logs-in-filebeat-log-but-not-in-kibana/221177/3 "2020-02-27T09:47:40Z")

</div>

**#=========================== Filebeat inputs =============================**

**filebeat.inputs:**

**# Each - is an input. Most options can be set at the input level, so**  
**# you can use different inputs for various configurations.**  
**# Below are the input specific configurations.**

**- type: log**

\*\* # Change to true to enable this input configuration.\*\*  
\*\* enabled: true\*\*  
\*\* json.keys\_under\_root: true\*\*  
\*\* json.add\_error\_key: true\*\*  
\*\* json.message\_key: log\*\*

\*\* # Paths that should be crawled and fetched. Glob based paths.\*\*  
\*\* paths:\*\*  
\*\* - /var/atlassian/application-data/jira/log/\*.log\*\*  
\*\* #- c:\programdata\elasticsearch\logs\*\*\*

\*\* # Configure the file encoding for reading files with international characters\*\*  
\*\* # following the W3C recommendation for HTML5 ([http://www.w3.org/TR/encoding](http://www.w3.org/TR/encoding)).\*\*  
\*\* # Some sample encodings:\*\*  
\*\* # plain, utf-8, utf-16be-bom, utf-16be, utf-16le, big5, gb18030, gbk,\*\*  
\*\* # hz-gb-2312, euc-kr, euc-jp, iso-2022-jp, shift-jis, ...\*\*  
\*\* # encoding: utf-8\*\*

\*\* # Exclude lines. A list of regular expressions to match. It drops the lines that are\*\*  
\*\* # matching any regular expression from the list.\*\*  
\*\* #exclude\_lines: ['^DBG']\*\*

\*\* # Include lines. A list of regular expressions to match. It exports the lines that are\*\*  
\*\* # matching any regular expression from the list.\*\*  
\*\* #include\_lines: ['^ERR', '^WARN']\*\*

In filebeat log file I can lot many errors as:  
ERROR readjson/json.go:52 Error decoding JSON: invalid character 't' after object key:value pair  
Error decoding JSON: invalid character 'a' looking for beginning of value

But I an getting some good data as well so I am expecting the correct data to be displayed on kibana which I cannot see.

---

<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: [March 26, 2020, 9:47am UTC](https://discuss.elastic.co/t/getting-the-logs-in-filebeat-log-but-not-in-kibana/221177/4 "2020-03-26T09:47:48Z")

</div>

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