# Elasticsearch cluster query logic by ElastAlert

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-query-logic-by-elastalert/286301>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [October 9, 2021, 4:34pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-query-logic-by-elastalert/286301 "2021-10-09T16:34:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![josh12](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@josh12](https://discuss.elastic.co/u/josh12)\
**Post date:** [October 9, 2021, 4:34pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-query-logic-by-elastalert/286301/1 "2021-10-09T16:34:43Z")

</div>

Hi, I have question. I am planning to use elasticalert for Elasticsearch. I have 1 cluster with 3 node in my docker es01,es02 and es03. Can I know when elasticalert query in es01, if data does not exists will it query in es02 as well automatically? As the data is split into shards

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 11, 2021, 12:19am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-query-logic-by-elastalert/286301/2 "2021-10-11T00:19:45Z")

</div>

You will need to ask the developers of elastalert how their query code works, it's not something that we support sorry.

---

<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:** [November 8, 2021, 12:20am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-query-logic-by-elastalert/286301/3 "2021-11-08T00:20:17Z")

</div>

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