Using a Beat to run a command at an interval

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?

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