# Filebeat 5.4.2 not processing JSON file

**URL:** https://discuss.elastic.co/t/filebeat-5-4-2-not-processing-json-file/90700
**Category:** Beats
**Created:** [June 24, 2017, 8:00am UTC](https://discuss.elastic.co/t/filebeat-5-4-2-not-processing-json-file/90700 "2017-06-24T08:00:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Yasho](https://avatars.discourse-cdn.com/v4/letter/y/c2a13f/32.png) [@Yasho](https://discuss.elastic.co/u/Yasho)
#### Post date: [June 24, 2017, 8:00am UTC](https://discuss.elastic.co/t/filebeat-5-4-2-not-processing-json-file/90700/1 "2017-06-24T08:00:11Z")

</div>

Hi,

I am trying to process a simple JSON file into Logstash but i see the logstash which is listening at port 5044 is not receiving any data from filebeat.

Here is my filebeat config

```
filebeat.prospectors:

# Each - is a prospector. Most options can be set at the prospector level, so
# you can use different prospectors for various configurations.
# Below are the prospector specific configurations.

- input_type: log
# Paths that should be crawled and fetched. Glob based paths.
  paths:
          - /home/box/memory_data_yash2.json
  json.keys_under_root: true
  json.add_error_key: true
  json.message_key: target

```

And here is my simple 1 line json  
[{"target": "memory-buffered","name": {"firstname": "yasho"}}]

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [June 27, 2017, 4:27pm UTC](https://discuss.elastic.co/t/filebeat-5-4-2-not-processing-json-file/90700/2 "2017-06-27T16:27:18Z")

</div>

Please enable [debug logging](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-logging.html) and provide the log output.

---

<div class="post-metadata">

### Author: ![Yasho](https://avatars.discourse-cdn.com/v4/letter/y/c2a13f/32.png) [@Yasho](https://discuss.elastic.co/u/Yasho)
#### Post date: [July 5, 2017, 8:10am UTC](https://discuss.elastic.co/t/filebeat-5-4-2-not-processing-json-file/90700/3 "2017-07-05T08:10:31Z")

</div>

Resolved this issue, I was processing just one record and it did not have a "\n" in it.

---

<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: [July 15, 2017, 8:00am UTC](https://discuss.elastic.co/t/filebeat-5-4-2-not-processing-json-file/90700/4 "2017-07-15T08:00:12Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
