# Ingest data from 3 databases

**URL:** <https://discuss.elastic.co/t/ingest-data-from-3-databases/330624>\
**Category:** Elasticsearch\
**Created:** [April 24, 2023, 9:50am UTC](https://discuss.elastic.co/t/ingest-data-from-3-databases/330624 "2023-04-24T09:50:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![baba72210](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baba72210/32/120127_2.png) [@baba72210](https://discuss.elastic.co/u/baba72210)\
**Post date:** [April 24, 2023, 9:50am UTC](https://discuss.elastic.co/t/ingest-data-from-3-databases/330624/1 "2023-04-24T09:50:29Z")

</div>

Hi everyone,

I have a project where I need to index data from 3 differents databases to be able to search for revelant information. I have a Cassandra, a MSSQL and a mongoDB. Do you think it would be possible to use the ELK stack to do this?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 25, 2023, 3:15am UTC](https://discuss.elastic.co/t/ingest-data-from-3-databases/330624/2 "2023-04-25T03:15:15Z")

</div>

Welcome!

Yes I think it's a good project to answer your search needs.

---

<div class="post-metadata">

**Author:** ![psramkumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/psramkumar/32/31393_2.png) [@psramkumar](https://discuss.elastic.co/u/psramkumar)\
**Post date:** [April 25, 2023, 3:23pm UTC](https://discuss.elastic.co/t/ingest-data-from-3-databases/330624/3 "2023-04-25T15:23:46Z")

</div>

this is Doable, you have to use a tool to load data to Elastic Search,  
in my project i was using three Options, which is for three different Index.

1. Nifi, 2. LogStash, 3 Java code using HighRest Client.

---

<div class="post-metadata">

**Author:** ![baba72210](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baba72210/32/120127_2.png) [@baba72210](https://discuss.elastic.co/u/baba72210)\
**Post date:** [April 25, 2023, 3:35pm UTC](https://discuss.elastic.co/t/ingest-data-from-3-databases/330624/4 "2023-04-25T15:35:03Z")

</div>

And each option was for one database type ?

---

<div class="post-metadata">

**Author:** ![psramkumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/psramkumar/32/31393_2.png) [@psramkumar](https://discuss.elastic.co/u/psramkumar)\
**Post date:** [May 17, 2023, 3:45am UTC](https://discuss.elastic.co/t/ingest-data-from-3-databases/330624/5 "2023-05-17T03:45:39Z")

</div>

thats right, but it loads data to same Index

---

<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:** [June 14, 2023, 3:45am UTC](https://discuss.elastic.co/t/ingest-data-from-3-databases/330624/6 "2023-06-14T03:45:51Z")

</div>

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