# Elasticsearch

**URL:** https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=457

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 458

---

## [esrally.exceptions.LaunchError: Daemon startup failed with exit code \[1\]](https://discuss.elastic.co/t/esrally-exceptions-launcherror-daemon-startup-failed-with-exit-code-1/302323)

<div class="topic-metadata">

**Author:** [@likhith1995](https://discuss.elastic.co/u/likhith1995)\
**Replies:** 1\
**Last updated:** [April 13, 2022, 1:02pm UTC](https://discuss.elastic.co/t/esrally-exceptions-launcherror-daemon-startup-failed-with-exit-code-1/302323 "2022-04-13T13:02:54Z")

</div>

Hi Team, When we try to run esrally on linux server, we are getting an exception. Exception: esrally.exceptions.LaunchError: Daemon startup failed with exit code \[1\] Kindly help in resolving this error. Thanks and r…

---

## [Path.repo on ECK environment](https://discuss.elastic.co/t/path-repo-on-eck-environment/302255)

<div class="topic-metadata">

**Author:** [@Prabakar](https://discuss.elastic.co/u/Prabakar)\
**Replies:** 2\
**Last updated:** [April 13, 2022, 12:46pm UTC](https://discuss.elastic.co/t/path-repo-on-eck-environment/302255 "2022-04-13T12:46:54Z")

</div>

We set path.repo on YAML file like below. path: repo: - But we are unable to add this path into kibana--\> Snapshot --\> Register Repository, it throws below error Cannot register new repository \[test\] failed to cr…

---

## [How to configure sendgrid api in elasticsearch.yml](https://discuss.elastic.co/t/how-to-configure-sendgrid-api-in-elasticsearch-yml/302113)

<div class="topic-metadata">

**Author:** [@kirankatkar](https://discuss.elastic.co/u/kirankatkar)\
**Replies:** 2\
**Last updated:** [April 13, 2022, 11:58am UTC](https://discuss.elastic.co/t/how-to-configure-sendgrid-api-in-elasticsearch-yml/302113 "2022-04-13T11:58:40Z")

</div>

Hello, Can any one please help me? Want to configure sendgrid api in Elasticsearch.yml to send and alert notification. Thanks & Regards, Kiran Katkar.

---

## [SAML Role mapping (Keycloak Idp)](https://discuss.elastic.co/t/saml-role-mapping-keycloak-idp/302270)

<div class="topic-metadata">

**Author:** [@Vitali\_Lushchyk](https://discuss.elastic.co/u/Vitali_Lushchyk)\
**Replies:** 3\
**Last updated:** [April 13, 2022, 11:49am UTC](https://discuss.elastic.co/t/saml-role-mapping-keycloak-idp/302270 "2022-04-13T11:49:47Z")

</div>

cluster elasticsearch configuration: xpack.security.authc.realms.saml.saml1: order: 2 idp.metadata.path: https://login-uat.exadel.com/auth/realms/exadel-uat/protocol/saml/descriptor idp.entity\_id: "https://login-u…

---

## [CCR procedure question](https://discuss.elastic.co/t/ccr-procedure-question/302325)

<div class="topic-metadata">

**Author:** [@Soren\_vdc](https://discuss.elastic.co/u/Soren_vdc)\
**Replies:** 0\
**Last updated:** [April 13, 2022, 11:47am UTC](https://discuss.elastic.co/t/ccr-procedure-question/302325 "2022-04-13T11:47:58Z")

</div>

Hi, I'm testing with cross cluster replication. Question: What if the leader index is unavailable, the follower index will not be updated. When the leader index is active again, CCR will be running again? No manual ta…

---

## [Problem on Short Keywords](https://discuss.elastic.co/t/problem-on-short-keywords/302297)

<div class="topic-metadata">

**Author:** [@icgncl](https://discuss.elastic.co/u/icgncl)\
**Replies:** 1\
**Last updated:** [April 13, 2022, 11:25am UTC](https://discuss.elastic.co/t/problem-on-short-keywords/302297 "2022-04-13T11:25:46Z")

</div>

Hello everyone, I have an Elasticsearch index which includes more than 5 fields and my query searches on all these fields. However, today I have realized something wrong. Even though I set fuzziness as 0, when I search …

---

## [Anomaly detection job severity score change](https://discuss.elastic.co/t/anomaly-detection-job-severity-score-change/302290)

<div class="topic-metadata">

**Author:** [@zerojin63](https://discuss.elastic.co/u/zerojin63)\
**Replies:** 1\
**Last updated:** [April 13, 2022, 10:55am UTC](https://discuss.elastic.co/t/anomaly-detection-job-severity-score-change/302290 "2022-04-13T10:55:08Z")

</div>

Hi I've been running an ML job to detect high amount of data stream. Here's specific configuration of the job. Detectors: high\_count partition\_field\_name=src\_ip bucket\_span: 1d So the thing is that the 'severity' of …

---

## [How to implement advanced search?](https://discuss.elastic.co/t/how-to-implement-advanced-search/301188)

<div class="topic-metadata">

**Author:** [@TS1997](https://discuss.elastic.co/u/TS1997)\
**Replies:** 2\
**Last updated:** [April 13, 2022, 10:29am UTC](https://discuss.elastic.co/t/how-to-implement-advanced-search/301188 "2022-04-13T10:29:10Z")

</div>

Hello, I'm currently developing a site using Pimcore and their Advanced Object Search addon for Elasticsearch but am having issues getting hits on the correct words. A stripped down version of the index itself looks lik…

---

## [Parsing query string with custom aggregation, using Search API](https://discuss.elastic.co/t/parsing-query-string-with-custom-aggregation-using-search-api/302200)

<div class="topic-metadata">

**Author:** [@veggiss](https://discuss.elastic.co/u/veggiss)\
**Replies:** 2\
**Last updated:** [April 13, 2022, 9:32am UTC](https://discuss.elastic.co/t/parsing-query-string-with-custom-aggregation-using-search-api/302200 "2022-04-13T09:32:17Z")

</div>

I've installed a plugin to elastic (GitHub - opendatasoft/elasticsearch-aggregation-geoclustering: An Elasticsearch plugin to aggregate Geo Points in clusters.) and I have an endpoint (high level rest client) that takes …

---

## [ElasticSearch pods are in intializing dstate after configuring xpack security and tls](https://discuss.elastic.co/t/elasticsearch-pods-are-in-intializing-dstate-after-configuring-xpack-security-and-tls/302310)

<div class="topic-metadata">

**Author:** [@s19k15](https://discuss.elastic.co/u/s19k15)\
**Replies:** 0\
**Last updated:** [April 13, 2022, 9:19am UTC](https://discuss.elastic.co/t/elasticsearch-pods-are-in-intializing-dstate-after-configuring-xpack-security-and-tls/302310 "2022-04-13T09:19:55Z")

</div>

I am having an Elasticsearch deployment on a kubernetes cluster that was deployed with a 7.x chart and i changed the image to 8.x. This worked but now i need to enable new security feature, I have the following values: -…

---

## [Reindex is failing slice option](https://discuss.elastic.co/t/reindex-is-failing-slice-option/302293)

<div class="topic-metadata">

**Author:** [@sreekanth](https://discuss.elastic.co/u/sreekanth)\
**Replies:** 0\
**Last updated:** [April 13, 2022, 6:25am UTC](https://discuss.elastic.co/t/reindex-is-failing-slice-option/302293 "2022-04-13T06:25:06Z")

</div>

We have an index with 28 shards. Reindex is failing when we use the slice option as below. POST https://localhost:9200/\_reindex?wait\_for\_completion=false&slices=10 {"source":{ "index": "OldIndex"},"dest":{ "index": "new…

---

## [Running Elasticsearch with expired license](https://discuss.elastic.co/t/running-elasticsearch-with-expired-license/302282)

<div class="topic-metadata">

**Author:** [@Chris\_Gatihi](https://discuss.elastic.co/u/Chris_Gatihi)\
**Replies:** 1\
**Last updated:** [April 13, 2022, 5:27am UTC](https://discuss.elastic.co/t/running-elasticsearch-with-expired-license/302282 "2022-04-13T05:27:25Z")

</div>

Hi, My team is running Elasticsearch 7.16.3 with an enterprise license that is about to expire. We use X-Pack but as far as I know that became open-source since we started using it and we don't actively use any of the …

---

## [Are there any tiny tracks which can be used to run quickly to see everything is fine.?](https://discuss.elastic.co/t/are-there-any-tiny-tracks-which-can-be-used-to-run-quickly-to-see-everything-is-fine/302288)

<div class="topic-metadata">

**Author:** [@amitsa](https://discuss.elastic.co/u/amitsa)\
**Replies:** 1\
**Last updated:** [April 13, 2022, 5:19am UTC](https://discuss.elastic.co/t/are-there-any-tiny-tracks-which-can-be-used-to-run-quickly-to-see-everything-is-fine/302288 "2022-04-13T05:19:45Z")

</div>

I am looking for tiny tracks which can be executed quickly to verify over all cluster and track executions. Thanks

---

## [Why does not es use FileChannel2SocketChannel to recover shard？](https://discuss.elastic.co/t/why-does-not-es-use-filechannel2socketchannel-to-recover-shard/302224)

<div class="topic-metadata">

**Author:** [@vsop\_479](https://discuss.elastic.co/u/vsop_479)\
**Replies:** 2\
**Last updated:** [April 13, 2022, 2:43am UTC](https://discuss.elastic.co/t/why-does-not-es-use-filechannel2socketchannel-to-recover-shard/302224 "2022-04-13T02:43:23Z")

</div>

Why does not es use FileChannel2SocketChannel to recover shard? which can eliminate the copy between user and kernel. The only benefit that sending file though heap, i can think is to control sending rate. Is there an…

---

## [Index filter doesn't work on Data Frame Analytics](https://discuss.elastic.co/t/index-filter-doesnt-work-on-data-frame-analytics/301841)

<div class="topic-metadata">

**Author:** [@shuiqu](https://discuss.elastic.co/u/shuiqu)\
**Replies:** 5\
**Last updated:** [April 13, 2022, 2:19am UTC](https://discuss.elastic.co/t/index-filter-doesnt-work-on-data-frame-analytics/301841 "2022-04-13T02:19:20Z")

</div>

I am new to elastic. When I use the machine learning feature I find that Index filter does not seem to work on Data Frame Analytics. I set the filter AveTicketPrice:500 to 600 on kibana\_sample\_data\_flights and saved th…

---

## [Conditional dynamic templates](https://discuss.elastic.co/t/conditional-dynamic-templates/302243)

<div class="topic-metadata">

**Author:** [@channing\_froom](https://discuss.elastic.co/u/channing_froom)\
**Replies:** 1\
**Last updated:** [April 13, 2022, 1:59am UTC](https://discuss.elastic.co/t/conditional-dynamic-templates/302243 "2022-04-13T01:59:26Z")

</div>

Is it possible to set up dynamic templates through conditions, for example i have an attributes object in my index which holds only dynamic data, there are hundreds of possible combinations of data that is passed into th…

---

## [How to search on a graph using elastic search?](https://discuss.elastic.co/t/how-to-search-on-a-graph-using-elastic-search/302173)

<div class="topic-metadata">

**Author:** [@Mujo](https://discuss.elastic.co/u/Mujo)\
**Replies:** 1\
**Last updated:** [April 12, 2022, 11:47pm UTC](https://discuss.elastic.co/t/how-to-search-on-a-graph-using-elastic-search/302173 "2022-04-12T23:47:20Z")

</div>

I'm thinking about building a search engine based on syntactic structure of a sentences. For example, an entry "Gus is learning piano" will be stored in a syntactically enriched form such as, {{"Gus", nsubj, "learning"…

---

## [Too many buckets](https://discuss.elastic.co/t/too-many-buckets/302275)

<div class="topic-metadata">

**Author:** [@mario-slowinski](https://discuss.elastic.co/u/mario-slowinski)\
**Replies:** 0\
**Last updated:** [April 12, 2022, 9:34pm UTC](https://discuss.elastic.co/t/too-many-buckets/302275 "2022-04-12T21:34:20Z")

</div>

Hello In environment with almost 200 hosts, each sends metricbeat (i.e. network metrics every 30 seconds) to single Elasticsearch cluster. There is a business requirement to visualize incoming network traffic bandwidth …

---

## [This version of the ElasticsearchIO is only compatible with Elasticsearch v7.x, v6.x, v5.x and v2.x](https://discuss.elastic.co/t/this-version-of-the-elasticsearchio-is-only-compatible-with-elasticsearch-v7-x-v6-x-v5-x-and-v2-x/302253)

<div class="topic-metadata">

**Author:** [@Pavlo\_Kovalenko](https://discuss.elastic.co/u/Pavlo_Kovalenko)\
**Replies:** 1\
**Last updated:** [April 12, 2022, 6:04pm UTC](https://discuss.elastic.co/t/this-version-of-the-elasticsearchio-is-only-compatible-with-elasticsearch-v7-x-v6-x-v5-x-and-v2-x/302253 "2022-04-12T18:04:29Z")

</div>

I need to integrate Google BigQuery into elasticsearch. I used Job template "BigQuery to elasticsearch" from DataFlow in Google console. But it is impossible because my elastic version is 8.1.2. And I got error java.lan…

---

## [Tcp/tcp.go:230 dial failed with: dial tcp localhost:8095: i/o timeout](https://discuss.elastic.co/t/tcp-tcp-go-230-dial-failed-with-dial-tcp-localhost-i-o-timeout/302261)

<div class="topic-metadata">

**Author:** [@BKS](https://discuss.elastic.co/u/BKS)\
**Replies:** 0\
**Last updated:** [April 12, 2022, 5:23pm UTC](https://discuss.elastic.co/t/tcp-tcp-go-230-dial-failed-with-dial-tcp-localhost-i-o-timeout/302261 "2022-04-12T17:23:04Z")

</div>

Hi, I have configured heartbeat service to monitor the micro services to get the status of up/down. In Kibana heartbeat dashboard, status is showing as down, but in actually the service is running over the mentioned po…

---

## [Elasticsearch 8.1 - python security client issues](https://discuss.elastic.co/t/elasticsearch-8-1-python-security-client-issues/302162)

<div class="topic-metadata">

**Author:** [@Aldo2](https://discuss.elastic.co/u/Aldo2)\
**Replies:** 2\
**Last updated:** [April 12, 2022, 3:43pm UTC](https://discuss.elastic.co/t/elasticsearch-8-1-python-security-client-issues/302162 "2022-04-12T15:43:54Z")

</div>

Hi Elastic Community, We are having problems trying to connect a python (2.7.5) client to Elasticsearch 8.1 (with security enabled). We have tried the following example code: from elasticsearch import Elasticsearch fr…

---

## [CVE-2022-22965 vulnerability on Elastic Search or Kibana](https://discuss.elastic.co/t/cve-2022-22965-vulnerability-on-elastic-search-or-kibana/302216)

<div class="topic-metadata">

**Author:** [@kavirajansakthivel](https://discuss.elastic.co/u/kavirajansakthivel)\
**Replies:** 1\
**Last updated:** [April 12, 2022, 3:11pm UTC](https://discuss.elastic.co/t/cve-2022-22965-vulnerability-on-elastic-search-or-kibana/302216 "2022-04-12T15:11:46Z")

</div>

We are having Elasticsearch and Kibana (7.17.0) in our system. we do not have any spring framework integrated which are mentioned in this link (Integrations | Elasticsearch Plugins and Integrations \[7.17\] | Elastic). Des…

---

## [High CPU load](https://discuss.elastic.co/t/high-cpu-load/302102)

<div class="topic-metadata">

**Author:** [@hebph001](https://discuss.elastic.co/u/hebph001)\
**Replies:** 9\
**Last updated:** [April 12, 2022, 2:58pm UTC](https://discuss.elastic.co/t/high-cpu-load/302102 "2022-04-12T14:58:25Z")

</div>

Hi Elastic community, I have a cloud cluster with 3 hot nodes. Stack monitoring data is showing me that 2 out of 3 are constantly under heavy load. CPU usage is nearly 100% all the time. I would like to know how can I t…

---

## [Percentile after aggregation](https://discuss.elastic.co/t/percentile-after-aggregation/302245)

<div class="topic-metadata">

**Author:** [@Robert\_Hornsby](https://discuss.elastic.co/u/Robert_Hornsby)\
**Replies:** 0\
**Last updated:** [April 12, 2022, 2:06pm UTC](https://discuss.elastic.co/t/percentile-after-aggregation/302245 "2022-04-12T14:06:04Z")

</div>

My data is a series of document each with a time and a transaction id. I want to group the data by transaction id, from each group select the largest time and then use those times as input to a percentile function. I can…

---

## [Get the number of people who have bought twice](https://discuss.elastic.co/t/get-the-number-of-people-who-have-bought-twice/302211)

<div class="topic-metadata">

**Author:** [@Amir\_Faramarzi](https://discuss.elastic.co/u/Amir_Faramarzi)\
**Replies:** 3\
**Last updated:** [April 12, 2022, 1:52pm UTC](https://discuss.elastic.co/t/get-the-number-of-people-who-have-bought-twice/302211 "2022-04-12T13:52:28Z")

</div>

Hello friends I have an index of orders as follows { "offer" : { "type" : "unsigned\_long" }, "order\_number" : { "type" : "keyword" }, "payable" : { …

---

## [Cannot get Elasticsearch version](https://discuss.elastic.co/t/cannot-get-elasticsearch-version/302206)

<div class="topic-metadata">

**Author:** [@Pavlo\_Kovalenko](https://discuss.elastic.co/u/Pavlo_Kovalenko)\
**Replies:** 1\
**Last updated:** [April 12, 2022, 1:39pm UTC](https://discuss.elastic.co/t/cannot-get-elasticsearch-version/302206 "2022-04-12T13:39:46Z")

</div>

Hi PLease assist, I want to ingest data from GoogleBigQuery into Elastic using Google DataFlow. I created DataFlow from template, Inserted my Elastic cloudID and API key, setted up table name from BigQuery. But when I …

---

## [No Detections after the first time zero detection was detected](https://discuss.elastic.co/t/no-detections-after-the-first-time-zero-detection-was-detected/302047)

<div class="topic-metadata">

**Author:** [@Shahzaib\_Abid](https://discuss.elastic.co/u/Shahzaib_Abid)\
**Replies:** 9\
**Last updated:** [April 12, 2022, 12:16pm UTC](https://discuss.elastic.co/t/no-detections-after-the-first-time-zero-detection-was-detected/302047 "2022-04-12T12:16:07Z")

</div>

We have created an anomaly detection job using elastic machine learning. For this particular case, our device doing detections failed for electrical issues and stopped doing detection. Previously for cases like these…

---

## [Authentication Exception](https://discuss.elastic.co/t/authentication-exception/302177)

<div class="topic-metadata">

**Author:** [@Farid\_N](https://discuss.elastic.co/u/Farid_N)\
**Replies:** 2\
**Last updated:** [April 12, 2022, 11:18am UTC](https://discuss.elastic.co/t/authentication-exception/302177 "2022-04-12T11:18:43Z")

</div>

Hi dears I have 4nodes of Elasticsearch 7.16.2 and 1node with Kibana, apm-server and Metricbeat. There are 3 instances of Logstash running on Elasticsearch nodes (3 of 4 servers have both ES and Logstash) My cluster wo…

---

## [ILM - How to configure it](https://discuss.elastic.co/t/ilm-how-to-configure-it/302204)

<div class="topic-metadata">

**Author:** [@mgfeal](https://discuss.elastic.co/u/mgfeal)\
**Replies:** 0\
**Last updated:** [April 12, 2022, 9:49am UTC](https://discuss.elastic.co/t/ilm-how-to-configure-it/302204 "2022-04-12T09:49:06Z")

</div>

Hi, Our hot storage is almost full. In our deployment in Elastic Cloud, several Index Lifecycle Policies have been created. One of them is perfect for us: "30-days-default" with this settings: But now we don't e…

---

## [Execute enrich policy always blocks until complete. Improve documentation or bug?](https://discuss.elastic.co/t/execute-enrich-policy-always-blocks-until-complete-improve-documentation-or-bug/302196)

<div class="topic-metadata">

**Author:** [@Baard](https://discuss.elastic.co/u/Baard)\
**Replies:** 0\
**Last updated:** [April 12, 2022, 9:01am UTC](https://discuss.elastic.co/t/execute-enrich-policy-always-blocks-until-complete-improve-documentation-or-bug/302196 "2022-04-12T09:01:25Z")

</div>

See execute-enrich-policy-api-query-params wait\_for\_completion I am running Elasticsearch version 7.17.2 and this part of the documentation is a bit confusing wait\_for\_completion (Required, Boolean) If true, the re…

[Previous page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=456)

[Next page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=458)
