# Httpjson input broke in 7.7

**URL:** <https://discuss.elastic.co/t/httpjson-input-broke-in-7-7/234517>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 27, 2020, 10:10am UTC](https://discuss.elastic.co/t/httpjson-input-broke-in-7-7/234517 "2020-05-27T10:10:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nemhods](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@nemhods](https://discuss.elastic.co/u/nemhods)\
**Post date:** [May 27, 2020, 10:10am UTC](https://discuss.elastic.co/t/httpjson-input-broke-in-7-7/234517/1 "2020-05-27T10:10:23Z")

</div>

Since 7.7, the httpjson input has issues with the `json_objects_array` option - if that option is set, filebeat faults with `ERROR	[httpjson]	httpjson/input.go:123	key not found`. I've prepared a docker-compose setup to make reproducing easy:

> **[nemhods/filebeat-7.7-httpjson-issue](https://github.com/nemhods/filebeat-7.7-httpjson-issue)**
>
> Contribute to nemhods/filebeat-7.7-httpjson-issue development by creating an account on GitHub.

Consider this JSON response:

> **Summary**
>
> ```
> {
> "response": [
> {
> "name": "object1"
> },
> {
> "name": "object2"
> }
> ]
> }
> 
> ```

Setting `json_objects_array` to "response" should result in two events being produced. This works in 7.6 (you can confirm by changing the 7.7.0 in my docker-compose.yml to 7.6.0). In 7.7.0, filebeat errors out instead.  
It might be related to the new pagination feature. I've tried disabling it with `pagination.enabled: false`, but that doesn't help.

---

<div class="post-metadata">

**Author:** ![Andre\_Letterer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andre_letterer/32/42248_2.png) [@Andre\_Letterer](https://discuss.elastic.co/u/Andre_Letterer)\
**Post date:** [June 2, 2020, 10:53pm UTC](https://discuss.elastic.co/t/httpjson-input-broke-in-7-7/234517/2 "2020-06-02T22:53:04Z")

</div>

Hi,

yes, there is something wrong, we opened a bug issue here:

> <https://github.com/elastic/beats/issues/18919>
>
> I tried the example from the docs and it doesn't pass config validation. Then after fixing the validation issues it doesn't...

Best

André

---

<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 30, 2020, 10:53pm UTC](https://discuss.elastic.co/t/httpjson-input-broke-in-7-7/234517/3 "2020-06-30T22:53:15Z")

</div>

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