# Issue with Filebeat and JSON to Kibana

**URL:** <https://discuss.elastic.co/t/issue-with-filebeat-and-json-to-kibana/230587>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 30, 2020, 3:34pm UTC](https://discuss.elastic.co/t/issue-with-filebeat-and-json-to-kibana/230587 "2020-04-30T15:34:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![EmilioIgn](https://avatars.discourse-cdn.com/v4/letter/e/ee7513/32.png) [@EmilioIgn](https://discuss.elastic.co/u/EmilioIgn)\
**Post date:** [April 30, 2020, 3:34pm UTC](https://discuss.elastic.co/t/issue-with-filebeat-and-json-to-kibana/230587/1 "2020-04-30T15:34:50Z")

</div>

Hello experts, I am new to this world of ELK and I have already read the documentation but I still do not find the problem ... I am very horrible to write problems, but here I go:

**Case:**  
I have a JSON report (a Behave Test) and I want to send that report to Kibana via filebeat

**Version:**  
filebeat version 7.6.2 (amd64), libbeat 7.6.2

**filebeat.yml:**

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

filebeat.inputs:

```
- type: log
  enabled: true

  paths:
    - /var/lib/jenkins/workspace/jsonreport

  json.keys_under_root: true
  json.overwrite_keys: true
  json.add_error_key: true
  json.message_key: log

```

**Results:**

Kibana still showing information from the last path i used to use last week, was a .log.

![kibana_log](https://us1.discourse-cdn.com/elastic/original/3X/8/0/8027004ba60b4bb20856dc3449388f151e92fc96.png)

**Report Example**

```
[
    {
      "elements": [
        {
          "keyword": "Scenario",
          "location": "Basic.feature:2",
          "name": "A_Scenario",
          "status": "passed",
          "steps": [
            {
              "keyword": "Then",
              "location": "Basic_Tests.feature:3",
              "match": {
                "arguments": [],
                "location": "../behave/steps.py:2"
              },
              "name": "Set Local IP 1",
              "result": {
                "duration": 0.00011992454528808594,
                "status": "passed"
              },
              "step_type": "then"
            },
            {
              "keyword": "Then",
              "location": "Basic_Tests.feature:4",
              "match": {
                "arguments": [],
                "location": "../behave/steps.py:6"
              },
              "name": "Set IP 1",
              "result": {
                "duration": 0.00012803077697753906,
                "status": "passed"
              },
              "step_type": "then"
            }
          ],
          "tags": [],
          "type": "scenario"
        }
      ],
      "keyword": "Feature",
      "location": "Basic_Tests.feature:1",
      "name": "APN-Scenario",
      "status": "passed",
      "tags": []
    }
]

```

I'm pretty sure I'm skipping some step, or something I need to do with elasticsearch to make it recognize the JSON, but I've searched 3 days in a row and nothing works ☹

thanks guys for your time and if i miss some extra information i'll add it as soon as i can.

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [April 30, 2020, 4:27pm UTC](https://discuss.elastic.co/t/issue-with-filebeat-and-json-to-kibana/230587/2 "2020-04-30T16:27:11Z")

</div>

Could you please share a few example reports?

---

<div class="post-metadata">

**Author:** ![EmilioIgn](https://avatars.discourse-cdn.com/v4/letter/e/ee7513/32.png) [@EmilioIgn](https://discuss.elastic.co/u/EmilioIgn)\
**Post date:** [April 30, 2020, 4:29pm UTC](https://discuss.elastic.co/t/issue-with-filebeat-and-json-to-kibana/230587/3 "2020-04-30T16:29:44Z")

</div>

Actually i dont have any errors or anything ... my issue is that, i'd love have a path error but its like JSON is not compatible or something.

i attached a picture and as you can see still showing me older paths but the new JSON Path still unknown

Edit: Report is attached, sorry i read totally wrong your answer jaja

---

<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:** [May 28, 2020, 4:29pm UTC](https://discuss.elastic.co/t/issue-with-filebeat-and-json-to-kibana/230587/4 "2020-05-28T16:29:50Z")

</div>

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