# Events beat

**URL:** <https://discuss.elastic.co/t/events-beat/281666>\
**Category:** Beats\
**Tags:** beats-module\
**Created:** [August 17, 2021, 10:32am UTC](https://discuss.elastic.co/t/events-beat/281666 "2021-08-17T10:32:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jubin03](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@jubin03](https://discuss.elastic.co/u/jubin03)\
**Post date:** [August 17, 2021, 10:32am UTC](https://discuss.elastic.co/t/events-beat/281666/1 "2021-08-17T10:32:22Z")

</div>

Is it possible to fetch events via API to beats and shipped to log stash or elastic search

---

<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:** [August 17, 2021, 11:22am UTC](https://discuss.elastic.co/t/events-beat/281666/2 "2021-08-17T11:22:12Z")

</div>

Depends on the API, but in general, yes for REST APIs with JSON responses. Several of the Filebeat modules are implemented using the `httpjson` input in Filebeat. For example Okta and CloudFlare logs are fetched this way.

> **[HTTP JSON input | Filebeat Reference \[master\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/master/filebeat-input-httpjson.html)**

---

<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:** [September 14, 2021, 1:22pm UTC](https://discuss.elastic.co/t/events-beat/281666/3 "2021-09-14T13:22:46Z")

</div>

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