# \[odbcbeat\] Gather analytics from SQL databases

**URL:** <https://discuss.elastic.co/t/odbcbeat-gather-analytics-from-sql-databases/34019>\
**Category:** Beats\
**Created:** [November 6, 2015, 4:58pm UTC](https://discuss.elastic.co/t/odbcbeat-gather-analytics-from-sql-databases/34019 "2015-11-06T16:58:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ei-grad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ei-grad/32/5775_2.png) [@ei-grad](https://discuss.elastic.co/u/ei-grad)\
**Post date:** [November 6, 2015, 4:58pm UTC](https://discuss.elastic.co/t/odbcbeat-gather-analytics-from-sql-databases/34019/1 "2015-11-06T16:58:59Z")

</div>

Hi!

Is there any existing solution to periodically execute SQL queries, and put result to ElasticSearch?

I'm pretty new to Go, and think that writing a new beat for that could be also a good start to dive in Go. But when I looked to the packetbeat source tree (as libbeat README suggests) my first thought was - "Is there any not such complex example how to use libbeat?"

---

<div class="post-metadata">

**Author:** ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)\
**Post date:** [November 6, 2015, 5:16pm UTC](https://discuss.elastic.co/t/odbcbeat-gather-analytics-from-sql-databases/34019/2 "2015-11-06T17:16:29Z")

</div>

There's the [Logstash JDBC input plugin](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html) which might do what you are looking for.

Regarding libbeat, we now have a new Beat [developer guide](https://www.elastic.co/guide/en/beats/libbeat/current/new-beat.html) which uses [Topbeat](https://github.com/elastic/topbeat) as an example. Topbeat is a lot simpler then Packetbeat, so we should update the readme.

---

<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:** [July 5, 2017, 9:58pm UTC](https://discuss.elastic.co/t/odbcbeat-gather-analytics-from-sql-databases/34019/3 "2017-07-05T21:58:24Z")

</div>


