# Elasticsearch

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

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

**Page:** 401

---

## [Kronos API | Can I unlock an account using the Kronos API?](https://discuss.elastic.co/t/kronos-api-can-i-unlock-an-account-using-the-kronos-api/310266)

<div class="topic-metadata">

**Author:** [@pavanknrhnk](https://discuss.elastic.co/u/pavanknrhnk)\
**Replies:** 2\
**Last updated:** [July 26, 2022, 12:33am UTC](https://discuss.elastic.co/t/kronos-api-can-i-unlock-an-account-using-the-kronos-api/310266 "2022-07-26T00:33:58Z")

</div>

How can I unlock a locked account using the Kronos API? I have checked the Timekeeping - Developer’s Toolkit API Reference Guide, and was not able to find anything for the following keywords: disable, locked, locked acc…

---

## [The Elasticsearch keystore \[C:\\elasticsearch-7.17.0\\elasticsearch-7.17.0\\config\\elasticsearch.keystore\] format is too new. Are you trying to downgrade? You should delete and recreate it in order to downgrade](https://discuss.elastic.co/t/the-elasticsearch-keystore-c-elasticsearch-7-17-0-elasticsearch-7-17-0-config-elasticsearch-keystore-format-is-too-new-are-you-trying-to-downgrade-you-should-delete-and-recreate-it-in-order-to-downgrade/310527)

<div class="topic-metadata">

**Author:** [@mujtabah](https://discuss.elastic.co/u/mujtabah)\
**Replies:** 1\
**Last updated:** [July 26, 2022, 12:11am UTC](https://discuss.elastic.co/t/the-elasticsearch-keystore-c-elasticsearch-7-17-0-elasticsearch-7-17-0-config-elasticsearch-keystore-format-is-too-new-are-you-trying-to-downgrade-you-should-delete-and-recreate-it-in-order-to-downgrade/310527 "2022-07-26T00:11:56Z")

</div>

I am currently using windows server 2019. i was trying to upgrade ES from 7.16.2 to 8.3, then i got error to upgrade first to 7.17. i have upgraded it to 7.17 but now when i run elasticsearch.bat file its giving this er…

---

## [Error in send logs of filebeat to kibana](https://discuss.elastic.co/t/error-in-send-logs-of-filebeat-to-kibana/310537)

<div class="topic-metadata">

**Author:** [@Firas\_Bougrine](https://discuss.elastic.co/u/Firas_Bougrine)\
**Replies:** 1\
**Last updated:** [July 26, 2022, 12:11am UTC](https://discuss.elastic.co/t/error-in-send-logs-of-filebeat-to-kibana/310537 "2022-07-26T00:11:46Z")

</div>

i configured to access it from the browser with HTTPS and when i configured filebeat i let kibana by default with http # =================================== Kibana =================================== # Starting with Be…

---

## [Elasticsearch6 python client - SSL works with RequestsHttpConnection, but not with Urllib3HttpConnection](https://discuss.elastic.co/t/elasticsearch6-python-client-ssl-works-with-requestshttpconnection-but-not-with-urllib3httpconnection/310541)

<div class="topic-metadata">

**Author:** [@nethlaria](https://discuss.elastic.co/u/nethlaria)\
**Replies:** 3\
**Last updated:** [July 25, 2022, 11:15pm UTC](https://discuss.elastic.co/t/elasticsearch6-python-client-ssl-works-with-requestshttpconnection-but-not-with-urllib3httpconnection/310541 "2022-07-25T23:15:51Z")

</div>

Hi, having a headscratching time trying to use elasticsearch python client with client certs. Using the same client certs (they're definitely fine), I can only connect using the RequestsHttpConnection class. Here's some …

---

## [Can not find Elasticsearch 7.9 with RPM/yum](https://discuss.elastic.co/t/can-not-find-elasticsearch-7-9-with-rpm-yum/310568)

<div class="topic-metadata">

**Author:** [@Leonardo\_Henrique](https://discuss.elastic.co/u/Leonardo_Henrique)\
**Replies:** 3\
**Last updated:** [July 25, 2022, 9:23pm UTC](https://discuss.elastic.co/t/can-not-find-elasticsearch-7-9-with-rpm-yum/310568 "2022-07-25T21:23:34Z")

</div>

Hello, everyone. I am trying to Install the Elasticsearch v7.9.3 with yum. I followed the steps described in Install Elasticsearch with RPM | Elasticsearch Guide \[7.9\] | Elastic but It installs version 7.17. When I cha…

---

## [Unable to send multi-line stacktrace to Kibana using python Elasticsearch client](https://discuss.elastic.co/t/unable-to-send-multi-line-stacktrace-to-kibana-using-python-elasticsearch-client/309349)

<div class="topic-metadata">

**Author:** [@Neeti\_Goenka](https://discuss.elastic.co/u/Neeti_Goenka)\
**Replies:** 1\
**Last updated:** [July 25, 2022, 8:05pm UTC](https://discuss.elastic.co/t/unable-to-send-multi-line-stacktrace-to-kibana-using-python-elasticsearch-client/309349 "2022-07-25T20:05:34Z")

</div>

Traceback (most recent call last): File "/root/.shiv/pyjordan./site-packages/jordan/common/s3\_utils.py", line 143, in get\_bucket\_policy return self.\_s3\_client.get\_bucket\_policy(Bucket=name) File "/root/.shiv/pyjordan.…

---

## [Is there an easy way to get the shard of a document?](https://discuss.elastic.co/t/is-there-an-easy-way-to-get-the-shard-of-a-document/310191)

<div class="topic-metadata">

**Author:** [@linkerc](https://discuss.elastic.co/u/linkerc)\
**Replies:** 16\
**Last updated:** [July 25, 2022, 6:18pm UTC](https://discuss.elastic.co/t/is-there-an-easy-way-to-get-the-shard-of-a-document/310191 "2022-07-25T18:18:51Z")

</div>

Hello: I often get a document directly via /index/\_doc/\_id. Is there a way to display the shard number this particular document resides? I can get the shard via "explain":true if I'm using search query. But it doesn'…

---

## [Initialize an ElasticSearch Docker container with predefined indices](https://discuss.elastic.co/t/initialize-an-elasticsearch-docker-container-with-predefined-indices/310482)

<div class="topic-metadata">

**Author:** [@Ido\_Gada](https://discuss.elastic.co/u/Ido_Gada)\
**Replies:** 2\
**Last updated:** [July 25, 2022, 3:41pm UTC](https://discuss.elastic.co/t/initialize-an-elasticsearch-docker-container-with-predefined-indices/310482 "2022-07-25T15:41:01Z")

</div>

Hello, We are using the official Docker images for ElasticSearch, and for development purposes, we would like the single node cluster to initialize with predefined indices. Is this possible? The same way were you put S…

---

## [Does snapshot and restore has history logs?](https://discuss.elastic.co/t/does-snapshot-and-restore-has-history-logs/310518)

<div class="topic-metadata">

**Author:** [@wonderland14](https://discuss.elastic.co/u/wonderland14)\
**Replies:** 1\
**Last updated:** [July 25, 2022, 3:20pm UTC](https://discuss.elastic.co/t/does-snapshot-and-restore-has-history-logs/310518 "2022-07-25T15:20:32Z")

</div>

Hi Elasticsearch Team! Just want to ask if Elasticsearch does have History logs for the restore, where we can see the details used on that restore? Like, if we restore the snapshot, can we see what snapshot name used on…

---

## [High latency in first query to completion suggester](https://discuss.elastic.co/t/high-latency-in-first-query-to-completion-suggester/309679)

<div class="topic-metadata">

**Author:** [@mpinho](https://discuss.elastic.co/u/mpinho)\
**Replies:** 1\
**Last updated:** [July 25, 2022, 2:10pm UTC](https://discuss.elastic.co/t/high-latency-in-first-query-to-completion-suggester/309679 "2022-07-25T14:10:34Z")

</div>

The first query to a completion suggester field after an indexation is taking several seconds to some minutes, whereas the following queries are in the tens of milliseconds (tested in Elastic 8.3). I think this might be…

---

## [Run a benchmark against an old ES deployment circa 5.6?](https://discuss.elastic.co/t/run-a-benchmark-against-an-old-es-deployment-circa-5-6/310456)

<div class="topic-metadata">

**Author:** [@nethlaria](https://discuss.elastic.co/u/nethlaria)\
**Replies:** 6\
**Last updated:** [July 25, 2022, 2:05pm UTC](https://discuss.elastic.co/t/run-a-benchmark-against-an-old-es-deployment-circa-5-6/310456 "2022-07-25T14:05:38Z")

</div>

Hi, I'm trying to run some benchmarks for older versions of the service we're running (had some comments from users about "performance not being so good nowadays") and wanted to prove it wasn't the case or find out if th…

---

## [Nodes crash when index reaches 50gb so I would like to auto create indexes is this possible?](https://discuss.elastic.co/t/nodes-crash-when-index-reaches-50gb-so-i-would-like-to-auto-create-indexes-is-this-possible/310530)

<div class="topic-metadata">

**Author:** [@ToonKnight](https://discuss.elastic.co/u/ToonKnight)\
**Replies:** 5\
**Last updated:** [July 25, 2022, 1:10pm UTC](https://discuss.elastic.co/t/nodes-crash-when-index-reaches-50gb-so-i-would-like-to-auto-create-indexes-is-this-possible/310530 "2022-07-25T13:10:49Z")

</div>

Hey all, I noticed that my nodes crash when my index grows over 50GB, so I would like to create a new index when it reaches 50GB then assign the events-active alias to the new index, and remove that alias from the old i…

---

## [Caused by: java.util.ServiceConfigurationError: jakarta.json.spi.JsonProvider: Provider org.eclipse.parsson.JsonProviderImpl not a subtype](https://discuss.elastic.co/t/caused-by-java-util-serviceconfigurationerror-jakarta-json-spi-jsonprovider-provider-org-eclipse-parsson-jsonproviderimpl-not-a-subtype/310540)

<div class="topic-metadata">

**Author:** [@vithiya.pandian](https://discuss.elastic.co/u/vithiya.pandian)\
**Replies:** 0\
**Last updated:** [July 25, 2022, 1:01pm UTC](https://discuss.elastic.co/t/caused-by-java-util-serviceconfigurationerror-jakarta-json-spi-jsonprovider-provider-org-eclipse-parsson-jsonproviderimpl-not-a-subtype/310540 "2022-07-25T13:01:17Z")

</div>

I am using ElasticSearch Java Client API 8.3.2. In my application, I need to load the Elasticsearch related jars using classloaders. I have the below set of jars to be loaded in order. Everytime I get the error as bel…

---

## [How to exclude system indices from all mapping list](https://discuss.elastic.co/t/how-to-exclude-system-indices-from-all-mapping-list/310409)

<div class="topic-metadata">

**Author:** [@DineshNaik](https://discuss.elastic.co/u/DineshNaik)\
**Replies:** 5\
**Last updated:** [July 25, 2022, 12:14pm UTC](https://discuss.elastic.co/t/how-to-exclude-system-indices-from-all-mapping-list/310409 "2022-07-25T12:14:59Z")

</div>

Is it possible to not have the special index details in the all mapping result from elastic. for ex. .kibana\_1 index mapping ? curl -XGET "http://localhost:9200/\_mapping" this gives below output: { "plan-index" : { …

---

## [ElasticSearch slow performance](https://discuss.elastic.co/t/elasticsearch-slow-performance/310522)

<div class="topic-metadata">

**Author:** [@jquadrada](https://discuss.elastic.co/u/jquadrada)\
**Replies:** 1\
**Last updated:** [July 25, 2022, 11:30am UTC](https://discuss.elastic.co/t/elasticsearch-slow-performance/310522 "2022-07-25T11:30:44Z")

</div>

Hello, we have elastic 7.4 running since a couple of years. We have detected a very slow performance every day at around the same time (it's not exactly at the same time every day, but almost). The monitor shows a sudde…

---

## [How to show the password of the elastic built-in superuser elastic?](https://discuss.elastic.co/t/how-to-show-the-password-of-the-elastic-built-in-superuser-elastic/310485)

<div class="topic-metadata">

**Author:** [@Firas\_Bougrine](https://discuss.elastic.co/u/Firas_Bougrine)\
**Replies:** 6\
**Last updated:** [July 25, 2022, 9:53am UTC](https://discuss.elastic.co/t/how-to-show-the-password-of-the-elastic-built-in-superuser-elastic/310485 "2022-07-25T09:53:11Z")

</div>

how to show the password of the elastic built-in superuser elastic? the pass was given when you installed elasticsearch

---

## [New elasticsearch-java API \`CreateIndexRequest\` using \`.withJson\` causes \`co.elastic.clients.util.MissingRequiredPropertyException\`](https://discuss.elastic.co/t/new-elasticsearch-java-api-createindexrequest-using-withjson-causes-co-elastic-clients-util-missingrequiredpropertyexception/308303)

<div class="topic-metadata">

**Author:** [@ALX\_DM](https://discuss.elastic.co/u/ALX_DM)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 2:24am UTC](https://discuss.elastic.co/t/new-elasticsearch-java-api-createindexrequest-using-withjson-causes-co-elastic-clients-util-missingrequiredpropertyexception/308303 "2022-06-28T02:24:46Z")

</div>

I am having a hard time on using the new elasticsearch-java api client. I am migrating from HLRC to the new elasticsearch java api. When I create an index, I used CreateIndexRequest and load it with json source But w…

---

## [ElasticSearch crashed from a user query and the main superuser elastic is now not able to authenticate](https://discuss.elastic.co/t/elasticsearch-crashed-from-a-user-query-and-the-main-superuser-elastic-is-now-not-able-to-authenticate/310428)

<div class="topic-metadata">

**Author:** [@jcheeks5281](https://discuss.elastic.co/u/jcheeks5281)\
**Replies:** 3\
**Last updated:** [July 25, 2022, 7:01am UTC](https://discuss.elastic.co/t/elasticsearch-crashed-from-a-user-query-and-the-main-superuser-elastic-is-now-not-able-to-authenticate/310428 "2022-07-25T07:01:37Z")

</div>

A query was ran from another tool that caused the whole ElasticSearch version 7.1 to lose authentication with the main user elastic. How can the elastic user be reset for the main elastic user? I already tried the passwo…

---

## [New elasticsearch java API BulkProcessor](https://discuss.elastic.co/t/new-elasticsearch-java-api-bulkprocessor/309696)

<div class="topic-metadata">

**Author:** [@ALX\_DM](https://discuss.elastic.co/u/ALX_DM)\
**Replies:** 3\
**Last updated:** [July 25, 2022, 5:51am UTC](https://discuss.elastic.co/t/new-elasticsearch-java-api-bulkprocessor/309696 "2022-07-25T05:51:33Z")

</div>

From Rest High Level API, is there an equivalent to BulkProcessor in the new elasticsearch java API?

---

## [Runtime fields cannot be used when querying ？](https://discuss.elastic.co/t/runtime-fields-cannot-be-used-when-querying/309599)

<div class="topic-metadata">

**Author:** [@lnsane](https://discuss.elastic.co/u/lnsane)\
**Replies:** 6\
**Last updated:** [July 25, 2022, 1:12am UTC](https://discuss.elastic.co/t/runtime-fields-cannot-be-used-when-querying/309599 "2022-07-25T01:12:10Z")

</div>

index "user" user doc matedata { "userName": "admin" "age": 1 } i'm add runtime fields name "userAge" scipt emit(doc\['userName'\].value + doc\['age'\].value) Why can't I use the userAge field in my program ？ my usin…

---

## [Elasticsearch multi search api is not working properly](https://discuss.elastic.co/t/elasticsearch-multi-search-api-is-not-working-properly/310429)

<div class="topic-metadata">

**Author:** [@sheiks2m](https://discuss.elastic.co/u/sheiks2m)\
**Replies:** 5\
**Last updated:** [July 24, 2022, 11:40pm UTC](https://discuss.elastic.co/t/elasticsearch-multi-search-api-is-not-working-properly/310429 "2022-07-24T23:40:51Z")

</div>

Hi, Im using elasticsearch 8.3.2. Im facing the issue while using multi search api. API: https://elasticrunningserver:9200/myindex/\_msearch Payload: { } {"query" : {"match" : { "message": "this is a test"}}} {"query"…

---

## [Elasticsearch cluster setup with 3 nodes](https://discuss.elastic.co/t/elasticsearch-cluster-setup-with-3-nodes/310238)

<div class="topic-metadata">

**Author:** [@rkidev](https://discuss.elastic.co/u/rkidev)\
**Replies:** 15\
**Last updated:** [July 24, 2022, 10:29pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-with-3-nodes/310238 "2022-07-24T22:29:59Z")

</div>

Hi, I am trying to setup elastic-search 8.3 cluster with 3 nodes(2 master, 1 data node) in VMWare(ubuntu os) (IP's - 192.168.15.11(master), 192.168.15.12(master), 192.168.15.13). Below is the elasticsearch.yml file fr…

---

## [Jdbc postgres logstash Pipeline error {:pipeline\_id=\>"main",](https://discuss.elastic.co/t/jdbc-postgres-logstash-pipeline-error-pipeline-id-main/310379)

<div class="topic-metadata">

**Author:** [@5k\_pwc](https://discuss.elastic.co/u/5k_pwc)\
**Replies:** 0\
**Last updated:** [July 22, 2022, 9:50am UTC](https://discuss.elastic.co/t/jdbc-postgres-logstash-pipeline-error-pipeline-id-main/310379 "2022-07-22T09:50:50Z")

</div>

Hi, when i tried to execute my file logstash conf input { jdbc { jdbc\_connection\_string =\> "jdbc:postgresql://localhost:5432" jdbc\_user =\> "postgres" jdbc\_password =\> "1234" jdbc\_dr…

---

## [What's the cause of the error and how to fix it?](https://discuss.elastic.co/t/whats-the-cause-of-the-error-and-how-to-fix-it/310480)

<div class="topic-metadata">

**Author:** [@Firas\_Bougrine](https://discuss.elastic.co/u/Firas_Bougrine)\
**Replies:** 1\
**Last updated:** [July 24, 2022, 3:46pm UTC](https://discuss.elastic.co/t/whats-the-cause-of-the-error-and-how-to-fix-it/310480 "2022-07-24T15:46:14Z")

</div>

when i try to create a token for kibana ::: elkfiras@elkfiras:/usr/share/elasticsearch/bin$ sudo ./elasticsearch-create-enrollment-token -s kibana \[sudo\] password for elkfiras: 12:57:33.755 \[main\] WARN org.elasticsearc…

---

## [How to setup 2ES Instances (localhost different ports) on single kibana same pc](https://discuss.elastic.co/t/how-to-setup-2es-instances-localhost-different-ports-on-single-kibana-same-pc/310463)

<div class="topic-metadata">

**Author:** [@rizawk](https://discuss.elastic.co/u/rizawk)\
**Replies:** 3\
**Last updated:** [July 24, 2022, 1:32pm UTC](https://discuss.elastic.co/t/how-to-setup-2es-instances-localhost-different-ports-on-single-kibana-same-pc/310463 "2022-07-24T13:32:26Z")

</div>

I am newbie and have setup 2ES instances on localhost using different ports 9200 and 7200 both my instances are running and I can see them in browser on respective ports, how can I point both ports to use single kibana I…

---

## [Connect ElasticSearch using username,password and ssl certificate .net](https://discuss.elastic.co/t/connect-elasticsearch-using-username-password-and-ssl-certificate-net/310162)

<div class="topic-metadata">

**Author:** [@Lahav.Harary](https://discuss.elastic.co/u/Lahav.Harary)\
**Replies:** 4\
**Last updated:** [July 24, 2022, 11:04am UTC](https://discuss.elastic.co/t/connect-elasticsearch-using-username-password-and-ssl-certificate-net/310162 "2022-07-24T11:04:08Z")

</div>

Hey, I'm having a problem connecting Elasticsearch using username,password and p12 certificate. The certificate was created using the following guide: Set up basic security for the Elastic Stack plus secured HTTPS traf…

---

## [Can't restore snapshot](https://discuss.elastic.co/t/cant-restore-snapshot/310437)

<div class="topic-metadata">

**Author:** [@wonderland14](https://discuss.elastic.co/u/wonderland14)\
**Replies:** 5\
**Last updated:** [July 23, 2022, 2:52pm UTC](https://discuss.elastic.co/t/cant-restore-snapshot/310437 "2022-07-23T14:52:34Z")

</div>

Hello Everyone, I am trying to restore my snapshot, and this error appeared: cannot restore index \[.transform-notifications\] because an open index with same name already exists in the cluster. Either close or delete the…

---

## [Painless with contains script doesn't work](https://discuss.elastic.co/t/painless-with-contains-script-doesnt-work/310423)

<div class="topic-metadata">

**Author:** [@FKarraz](https://discuss.elastic.co/u/FKarraz)\
**Replies:** 1\
**Last updated:** [July 23, 2022, 12:10pm UTC](https://discuss.elastic.co/t/painless-with-contains-script-doesnt-work/310423 "2022-07-23T12:10:21Z")

</div>

Hi, i have my index called "time\_test" with the following mapping { "mappings": { "\_doc": { "properties": { "startDate": { "type": "date" } } } } } I have a script in golang, that push the upda…

---

## [PLease explain how zone and cpu usage works](https://discuss.elastic.co/t/please-explain-how-zone-and-cpu-usage-works/310412)

<div class="topic-metadata">

**Author:** [@Sidhiksha\_Sharda](https://discuss.elastic.co/u/Sidhiksha_Sharda)\
**Replies:** 2\
**Last updated:** [July 23, 2022, 11:51am UTC](https://discuss.elastic.co/t/please-explain-how-zone-and-cpu-usage-works/310412 "2022-07-23T11:51:26Z")

</div>

THis is very simple question but hard to find answer anywere with Elasticsearch documentations. We are using Elasticsearch platinum license users with cloud. We have opt to deploy our services on AWS. We would like to …

---

## [Error: Unable to complete saved object migrations for the \[.kibana\_task\_manager\] index](https://discuss.elastic.co/t/error-unable-to-complete-saved-object-migrations-for-the-kibana-task-manager-index/309619)

<div class="topic-metadata">

**Author:** [@wonderland14](https://discuss.elastic.co/u/wonderland14)\
**Replies:** 5\
**Last updated:** [July 23, 2022, 11:25am UTC](https://discuss.elastic.co/t/error-unable-to-complete-saved-object-migrations-for-the-kibana-task-manager-index/309619 "2022-07-23T11:25:51Z")

</div>

Hi Elasticsearch Team, earlier I tried to close some indexes while performing Restore, and the Kibana turns down and not accessible. Can I have your help on this? {"type":"log","@timestamp":"2022-07-14T16:36:17+10:00",…

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

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