# Filebeat not reading JSON Array

**URL:** <https://discuss.elastic.co/t/filebeat-not-reading-json-array/191451>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 19, 2019, 8:05pm UTC](https://discuss.elastic.co/t/filebeat-not-reading-json-array/191451 "2019-07-19T20:05:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![subodhp](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@subodhp](https://discuss.elastic.co/u/subodhp)\
**Post date:** [July 19, 2019, 8:05pm UTC](https://discuss.elastic.co/t/filebeat-not-reading-json-array/191451/1 "2019-07-19T20:05:01Z")

</div>

I have "sourceIPs":["127.0.0.1"] in my JSON Logs, I am using drop\_events processor conditions like "equals" and "contains" to filter out events having 127.0.0.1 as sourceIP but none of the obvious filters seems to work. Filebeat version - 5.5.

drop\_events:  
when:  
contains:  
sourceIPs.0: "127.0.0.1" or tried this filter as well - sourceIPs[0]: "127.0.0.1"  
but no luck.

Any help would be highly appreciated.

---

<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:** [August 16, 2019, 8:05pm UTC](https://discuss.elastic.co/t/filebeat-not-reading-json-array/191451/2 "2019-08-16T20:05:03Z")

</div>

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