# Using a Beat to run a command at an interval

**URL:** <https://discuss.elastic.co/t/using-a-beat-to-run-a-command-at-an-interval/208632>\
**Category:** Beats\
**Created:** [November 20, 2019, 7:01am UTC](https://discuss.elastic.co/t/using-a-beat-to-run-a-command-at-an-interval/208632 "2019-11-20T07:01:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fledder](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@fledder](https://discuss.elastic.co/u/fledder)\
**Post date:** [November 20, 2019, 7:01am UTC](https://discuss.elastic.co/t/using-a-beat-to-run-a-command-at-an-interval/208632/1 "2019-11-20T07:01:03Z")

</div>

Hi, I have a question that I can't seem to find an answer for in the documentation or on the forum. I have a piece of software that logs to its own proprietary log format that I would like to bring into Elasticsearch. There is an open source connector that will send all the new log entries since the last run to stdout, and I think I can understand how to use Filebeat to read from stdin, but what would be really convenient is if I could use Filebeat (or another beat) to periodically run the command and send its output to Elasticsearch. Is that possible?

---

<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:** [November 20, 2019, 7:07am UTC](https://discuss.elastic.co/t/using-a-beat-to-run-a-command-at-an-interval/208632/2 "2019-11-20T07:07:35Z")

</div>

Unfortunately, it is not possible using Beats. But feel free to open an enhancement request on Github: [https://github.com/elastic/beats/issues/new?template=feature-request.md](https://github.com/elastic/beats/issues/new?template=feature-request.md)

---

<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:** [December 18, 2019, 9:09am UTC](https://discuss.elastic.co/t/using-a-beat-to-run-a-command-at-an-interval/208632/3 "2019-12-18T09:09:06Z")

</div>

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