# CAN LOGSTASH OUTPUT TO A DATABASE

**URL:** <https://discuss.elastic.co/t/can-logstash-output-to-a-database/218485>\
**Category:** Logstash\
**Created:** [February 9, 2020, 10:48pm UTC](https://discuss.elastic.co/t/can-logstash-output-to-a-database/218485 "2020-02-09T22:48:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_Songambele](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adam_songambele/32/47708_2.png) [@Adam\_Songambele](https://discuss.elastic.co/u/Adam_Songambele)\
**Post date:** [February 9, 2020, 10:48pm UTC](https://discuss.elastic.co/t/can-logstash-output-to-a-database/218485/1 "2020-02-09T22:48:25Z")

</div>

hi,

i am new to the ELK stack and i have a few question,

I have case study that consist in collecting logs that can be saved in a database which could then be pulled down by a bot connect to a user to perform several tasks later on. My question is can logstash output to a database as well? if so how can i do this?

secondly i have had issue with my dashboard not showind data statistics, i changed the setup.dashboards.enabled to true after installing the winlogbeat service but still nothing happened.

any help would be very much appreciated ! thank you.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [February 10, 2020, 2:04am UTC](https://discuss.elastic.co/t/can-logstash-output-to-a-database/218485/2 "2020-02-10T02:04:34Z")

</div>

Threre is a third party output that can write to [jdbc](https://github.com/theangryangel/logstash-output-jdbc).

---

<div class="post-metadata">

**Author:** ![Adam\_Songambele](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adam_songambele/32/47708_2.png) [@Adam\_Songambele](https://discuss.elastic.co/u/Adam_Songambele)\
**Post date:** [February 12, 2020, 12:09am UTC](https://discuss.elastic.co/t/can-logstash-output-to-a-database/218485/3 "2020-02-12T00:09:11Z")

</div>

thank you for your reply, is the documentation on this plugin `easy to find` i would like to find some examples of how to make the connection to the DB?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [February 12, 2020, 1:44am UTC](https://discuss.elastic.co/t/can-logstash-output-to-a-database/218485/4 "2020-02-12T01:44:04Z")

</div>

The link I provided _is_ the documentation of the output. It is not part of the open source product it is a community addition.

---

<div class="post-metadata">

**Author:** ![ropc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ropc/32/47022_2.png) [@ropc](https://discuss.elastic.co/u/ropc)\
**Post date:** [February 12, 2020, 4:08am UTC](https://discuss.elastic.co/t/can-logstash-output-to-a-database/218485/5 "2020-02-12T04:08:00Z")

</div>

To add-on to what @Badger mentioned, `logstash-output-jdbc` is a community plugin and is not supported by Elastic. You can find the list of supported Logstash plugins in our [support matrix](https://www.elastic.co/support/matrix#matrix_logstash_plugins).

---

<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:** [March 11, 2020, 4:08am UTC](https://discuss.elastic.co/t/can-logstash-output-to-a-database/218485/6 "2020-03-11T04:08:20Z")

</div>

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