# Elasticsearch

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

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

**Page:** 404

---

## [Set cluster name when creating connection | ES 8.2.3](https://discuss.elastic.co/t/set-cluster-name-when-creating-connection-es-8-2-3/310139)

<div class="topic-metadata">

**Author:** [@Akshat\_Gupta](https://discuss.elastic.co/u/Akshat_Gupta)\
**Replies:** 0\
**Last updated:** [July 20, 2022, 12:10pm UTC](https://discuss.elastic.co/t/set-cluster-name-when-creating-connection-es-8-2-3/310139 "2022-07-20T12:10:07Z")

</div>

How to set cluster name in new ES 8.2.3 java API ? Earlier I was using: private Client client = new PreBuiltTransportClient(Settings.builder().put("cluster.name", esClusterName).build()).addTransportAddress(new Transpo…

---

## [How to add suggestion inside term query in DSL](https://discuss.elastic.co/t/how-to-add-suggestion-inside-term-query-in-dsl/309893)

<div class="topic-metadata">

**Author:** [@sim\_elastic](https://discuss.elastic.co/u/sim_elastic)\
**Replies:** 6\
**Last updated:** [July 20, 2022, 8:51am UTC](https://discuss.elastic.co/t/how-to-add-suggestion-inside-term-query-in-dsl/309893 "2022-07-20T08:51:06Z")

</div>

My DOc is below \[ {'id':1, 'name': 'sachin messi', 'description': 'football@football.com', 'type': 'football', 'var':'sports'}, {'id':2, 'name': 'lionel messi', 'description': 'messi@fifa.com','type': 'soccer','var':'sp…

---

## [IO processing speed requirements for Elastic product line](https://discuss.elastic.co/t/io-processing-speed-requirements-for-elastic-product-line/310108)

<div class="topic-metadata">

**Author:** [@its-ogawa](https://discuss.elastic.co/u/its-ogawa)\
**Replies:** 5\
**Last updated:** [July 20, 2022, 9:47am UTC](https://discuss.elastic.co/t/io-processing-speed-requirements-for-elastic-product-line/310108 "2022-07-20T09:47:41Z")

</div>

We are considering moving Elasticsearch from vsan to fnas or synology nas. We are thinking that the IO processing speed will be reduced, but how much is the impact? Or are there any hardware requirements for IO process…

---

## [How to set node.roles for a coordinating only node via environment variable?](https://discuss.elastic.co/t/how-to-set-node-roles-for-a-coordinating-only-node-via-environment-variable/307860)

<div class="topic-metadata">

**Author:** [@gerib](https://discuss.elastic.co/u/gerib)\
**Replies:** 1\
**Last updated:** [July 20, 2022, 9:30am UTC](https://discuss.elastic.co/t/how-to-set-node-roles-for-a-coordinating-only-node-via-environment-variable/307860 "2022-07-20T09:30:57Z")

</div>

Same as in: (unanswered and closed) question here: Problem with node.roles on latest Elasticsearch docker (7.11.0) question (with an unsatisfying answer) on SO: How to set default value while using env in elasticsearc…

---

## [Stats endpoints response slow](https://discuss.elastic.co/t/stats-endpoints-response-slow/310062)

<div class="topic-metadata">

**Author:** [@scroodj](https://discuss.elastic.co/u/scroodj)\
**Replies:** 3\
**Last updated:** [July 20, 2022, 8:27am UTC](https://discuss.elastic.co/t/stats-endpoints-response-slow/310062 "2022-07-20T08:27:12Z")

</div>

Elasticsearch: 7.5.1 Infrastructure: Azure AKS Storage: Standard SSD \_cat/nodes name m role ip ramMax ramPercent ramCurrent heapMax heapPercent heapCurrent diskTotal diskUsed cpu uptime iic…

---

## [Type join,Why do you get no data over 80, but you can get data over 100](https://discuss.elastic.co/t/type-join-why-do-you-get-no-data-over-80-but-you-can-get-data-over-100/310109)

<div class="topic-metadata">

**Author:** [@yangyu](https://discuss.elastic.co/u/yangyu)\
**Replies:** 0\
**Last updated:** [July 20, 2022, 8:18am UTC](https://discuss.elastic.co/t/type-join-why-do-you-get-no-data-over-80-but-you-can-get-data-over-100/310109 "2022-07-20T08:18:38Z")

</div>

Elasticsearch Version 7.17.4 Installed Plugins analysis-ik,analysis-pinyin,analysis-stconvert Java Version 1.8.0\_331-b09 OS Version MacBook-Pro.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; …

---

## [Elasticsearch - filter index on aggregated field](https://discuss.elastic.co/t/elasticsearch-filter-index-on-aggregated-field/310105)

<div class="topic-metadata">

**Author:** [@Julynell](https://discuss.elastic.co/u/Julynell)\
**Replies:** 0\
**Last updated:** [July 20, 2022, 8:00am UTC](https://discuss.elastic.co/t/elasticsearch-filter-index-on-aggregated-field/310105 "2022-07-20T08:00:48Z")

</div>

Hi, We could use your help. We have Elasticsearch with logstash. It is inserting data in elastic index from a jdbc source. In logstash we use an aggregate filter. The config looks like this: input { jdbc { …

---

## [How to see Snapshot storage?](https://discuss.elastic.co/t/how-to-see-snapshot-storage/310083)

<div class="topic-metadata">

**Author:** [@wonderland14](https://discuss.elastic.co/u/wonderland14)\
**Replies:** 2\
**Last updated:** [July 20, 2022, 7:19am UTC](https://discuss.elastic.co/t/how-to-see-snapshot-storage/310083 "2022-07-20T07:19:07Z")

</div>

Hi Team, is there a way to see my snapshot(full cluster) storage? So that I can know how many memory it consumed every time I take snapshot.

---

## [Some elasticsearch index deleted after elasticsearch cluster restart](https://discuss.elastic.co/t/some-elasticsearch-index-deleted-after-elasticsearch-cluster-restart/310088)

<div class="topic-metadata">

**Author:** [@deepakdinkar311](https://discuss.elastic.co/u/deepakdinkar311)\
**Replies:** 1\
**Last updated:** [July 20, 2022, 6:36am UTC](https://discuss.elastic.co/t/some-elasticsearch-index-deleted-after-elasticsearch-cluster-restart/310088 "2022-07-20T06:36:16Z")

</div>

After restarting elasticsearch cluster some index are deleted automatically.

---

## [\[8.3.2\] bin/elasticsearch-users throws StringIndexOutOfBoundsException](https://discuss.elastic.co/t/8-3-2-bin-elasticsearch-users-throws-stringindexoutofboundsexception/309794)

<div class="topic-metadata">

**Author:** [@gerib](https://discuss.elastic.co/u/gerib)\
**Replies:** 3\
**Last updated:** [July 20, 2022, 6:21am UTC](https://discuss.elastic.co/t/8-3-2-bin-elasticsearch-users-throws-stringindexoutofboundsexception/309794 "2022-07-20T06:21:24Z")

</div>

elasticsearch@esmaster:~/bin$ . elasticsearch-users useradd su -p password -r superuser Exception in thread "main" java.lang.StringIndexOutOfBoundsException: Range \[13, 4) out of bounds for length 4 at java.base/…

---

## [Have configured Heartbeat and logstash and influxdb but measurements are not getting created in database](https://discuss.elastic.co/t/have-configured-heartbeat-and-logstash-and-influxdb-but-measurements-are-not-getting-created-in-database/310085)

<div class="topic-metadata">

**Author:** [@sagarpathak](https://discuss.elastic.co/u/sagarpathak)\
**Replies:** 0\
**Last updated:** [July 20, 2022, 5:48am UTC](https://discuss.elastic.co/t/have-configured-heartbeat-and-logstash-and-influxdb-but-measurements-are-not-getting-created-in-database/310085 "2022-07-20T05:48:05Z")

</div>

have configured Heartbeat and logstash and influxdb but measurements are not getting created in database(telegraf)

---

## [Get previous problem after adding to docker group](https://discuss.elastic.co/t/get-previous-problem-after-adding-to-docker-group/310077)

<div class="topic-metadata">

**Author:** [@m\_pahlevanzadeh](https://discuss.elastic.co/u/m_pahlevanzadeh)\
**Replies:** 1\
**Last updated:** [July 20, 2022, 4:00am UTC](https://discuss.elastic.co/t/get-previous-problem-after-adding-to-docker-group/310077 "2022-07-20T04:00:39Z")

</div>

after adding mohsen user to docker group, I get the The UID or GID must not be smaller than 1000. But id mohsen output is: uid=1000(mohsen) gid=143(docker) groups=143(docker),24(cdrom),25(floppy),29(audio),30(dip),44(v…

---

## [This article is outdated, what's the updated article about this?](https://discuss.elastic.co/t/this-article-is-outdated-whats-the-updated-article-about-this/310078)

<div class="topic-metadata">

**Author:** [@davecomputertips](https://discuss.elastic.co/u/davecomputertips)\
**Replies:** 1\
**Last updated:** [July 20, 2022, 2:54am UTC](https://discuss.elastic.co/t/this-article-is-outdated-whats-the-updated-article-about-this/310078 "2022-07-20T02:54:09Z")

</div>

Please share a latest updated article about Elasticsearch types of index(same topic mentioned there and many).

---

## [Upgrade ES 6 Index to 7 Without Reindex](https://discuss.elastic.co/t/upgrade-es-6-index-to-7-without-reindex/309940)

<div class="topic-metadata">

**Author:** [@Jerjef](https://discuss.elastic.co/u/Jerjef)\
**Replies:** 5\
**Last updated:** [July 20, 2022, 12:05am UTC](https://discuss.elastic.co/t/upgrade-es-6-index-to-7-without-reindex/309940 "2022-07-20T00:05:35Z")

</div>

I know this sounds obvious, but I need to ask to be sure. I have an ES 6 index in an ES 7 instance. I know it's backward compatible, but is there a way or upgrading the index to an ES 7 schema without reindexing due to…

---

## [Problem with docker pull](https://discuss.elastic.co/t/problem-with-docker-pull/310056)

<div class="topic-metadata">

**Author:** [@Serhio\_Duran](https://discuss.elastic.co/u/Serhio_Duran)\
**Replies:** 1\
**Last updated:** [July 19, 2022, 10:05pm UTC](https://discuss.elastic.co/t/problem-with-docker-pull/310056 "2022-07-19T22:05:11Z")

</div>

I can't download docker pull elastic , my ip address -\> 51.158.163.158, 403 forrbiden ((

---

## [How to setup Ingest Pipeline](https://discuss.elastic.co/t/how-to-setup-ingest-pipeline/310057)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 0\
**Last updated:** [July 19, 2022, 6:26pm UTC](https://discuss.elastic.co/t/how-to-setup-ingest-pipeline/310057 "2022-07-19T18:26:02Z")

</div>

This is not a question but rather a solution. last week I was trying to find some simple to do list of how to setup ingest pipleline and make that for particular index. and was hard to find this info. All elastic docume…

---

## [Vulnerabilities in latest docker image of Elasticsearch 8.3.1](https://discuss.elastic.co/t/vulnerabilities-in-latest-docker-image-of-elasticsearch-8-3-1/310031)

<div class="topic-metadata">

**Author:** [@chitransh\_1](https://discuss.elastic.co/u/chitransh_1)\
**Replies:** 1\
**Last updated:** [July 19, 2022, 9:30pm UTC](https://discuss.elastic.co/t/vulnerabilities-in-latest-docker-image-of-elasticsearch-8-3-1/310031 "2022-07-19T21:30:13Z")

</div>

Hi, We are using Elasticsearch 8.3.1 for one of our projects. While scanning the Elasticsearch 8.3.1 with Aquasec Scanner, we are getting a few CVEs: These CVE are associated with various Java based packages which hav…

---

## [Why does it need cluster:monitor/main permission](https://discuss.elastic.co/t/why-does-it-need-cluster-monitor-main-permission/310069)

<div class="topic-metadata">

**Author:** [@xliu](https://discuss.elastic.co/u/xliu)\
**Replies:** 1\
**Last updated:** [July 19, 2022, 9:14pm UTC](https://discuss.elastic.co/t/why-does-it-need-cluster-monitor-main-permission/310069 "2022-07-19T21:14:38Z")

</div>

ES 7.17 cloud is hosted in https://xxx.elastic-cloud.com:9243 Using Java High Level REST client, I was able to connect to server ES client 7.9.3. Now I update to ES client 7.17.4. But it gives me permission issue. "roo…

---

## [Integrating Serilog with applications](https://discuss.elastic.co/t/integrating-serilog-with-applications/310068)

<div class="topic-metadata">

**Author:** [@wes.campbell](https://discuss.elastic.co/u/wes.campbell)\
**Replies:** 0\
**Last updated:** [July 19, 2022, 9:08pm UTC](https://discuss.elastic.co/t/integrating-serilog-with-applications/310068 "2022-07-19T21:08:56Z")

</div>

The logs for our applications are captured by Serilog and sent to Elasticsearch. All of our configuration info for connecting to Elasticsearch is in the application config file. What do I need to enter in the config rega…

---

## [Can I export the agent overview from Fleet](https://discuss.elastic.co/t/can-i-export-the-agent-overview-from-fleet/310059)

<div class="topic-metadata">

**Author:** [@stobbe99](https://discuss.elastic.co/u/stobbe99)\
**Replies:** 0\
**Last updated:** [July 19, 2022, 6:42pm UTC](https://discuss.elastic.co/t/can-i-export-the-agent-overview-from-fleet/310059 "2022-07-19T18:42:27Z")

</div>

Hello, Is there an easy way to export the list of agents like the one in the fleet overview? I assume this is not extracted from an index? KR Henk

---

## [ES response shows ~20 secs delay when observed from the browser network logs](https://discuss.elastic.co/t/es-response-shows-20-secs-delay-when-observed-from-the-browser-network-logs/310049)

<div class="topic-metadata">

**Author:** [@kkumar.e](https://discuss.elastic.co/u/kkumar.e)\
**Replies:** 2\
**Last updated:** [July 19, 2022, 6:10pm UTC](https://discuss.elastic.co/t/es-response-shows-20-secs-delay-when-observed-from-the-browser-network-logs/310049 "2022-07-19T18:10:00Z")

</div>

Hi All, We are observing a random ~20 sec delay on ES responses on an ES cluster with 2 nodes created on 2 AWS EC2 servers spread across 2 subnets. I followed the steps in the below ref link to generate CA and elastic-s…

---

## [Problem with elasticsearch-certutil http and "ca certificate is not a CA" error](https://discuss.elastic.co/t/problem-with-elasticsearch-certutil-http-and-ca-certificate-is-not-a-ca-error/309949)

<div class="topic-metadata">

**Author:** [@rlatta](https://discuss.elastic.co/u/rlatta)\
**Replies:** 4\
**Last updated:** [July 19, 2022, 3:54pm UTC](https://discuss.elastic.co/t/problem-with-elasticsearch-certutil-http-and-ca-certificate-is-not-a-ca-error/309949 "2022-07-19T15:54:41Z")

</div>

Hello, I installed Elasticsearch and Kibana 7.17.5 (windows server 2019). I followed the directions in the "Set up basic security for the Elastic Stack" and didn't run into problems. However, when I move on to the set…

---

## [Painless script throws "illegal tree structure." when using literal with hexadecimal value](https://discuss.elastic.co/t/painless-script-throws-illegal-tree-structure-when-using-literal-with-hexadecimal-value/310007)

<div class="topic-metadata">

**Author:** [@Nimrod\_Karni](https://discuss.elastic.co/u/Nimrod_Karni)\
**Replies:** 1\
**Last updated:** [July 19, 2022, 2:42pm UTC](https://discuss.elastic.co/t/painless-script-throws-illegal-tree-structure-when-using-literal-with-hexadecimal-value/310007 "2022-07-19T14:42:00Z")

</div>

Elasticsearch 8.3 Using painless Lab (Kibana 8.3) byte i = 0xc; return i; Works fine - output 12 byte i = 0xd; return i; output - Unhandled Exception illegal\_state\_exception Illegal tree structure. should be …

---

## [How to update index to allow nested queries?](https://discuss.elastic.co/t/how-to-update-index-to-allow-nested-queries/310027)

<div class="topic-metadata">

**Author:** [@Migodden](https://discuss.elastic.co/u/Migodden)\
**Replies:** 0\
**Last updated:** [July 19, 2022, 1:17pm UTC](https://discuss.elastic.co/t/how-to-update-index-to-allow-nested-queries/310027 "2022-07-19T13:17:28Z")

</div>

We have an index with a property that stores an array of objects with properties of strings. I want to be able to query against these array of objects to find a document where the objects properties match certain conditi…

---

## [Creating a NOT EQUAL filter in Java Fluent API](https://discuss.elastic.co/t/creating-a-not-equal-filter-in-java-fluent-api/309859)

<div class="topic-metadata">

**Author:** [@bweston](https://discuss.elastic.co/u/bweston)\
**Replies:** 4\
**Last updated:** [July 19, 2022, 12:29pm UTC](https://discuss.elastic.co/t/creating-a-not-equal-filter-in-java-fluent-api/309859 "2022-07-19T12:29:37Z")

</div>

Hi, I'm trying to compose a NOT EQUAL filter with the new Java Fluent API, querying Elastic 8.2 and have drawn a blank. The query below returns all documents that have expired according to our company retention policy, …

---

## [Java client: Jackson exception: Numeric value out of range of int](https://discuss.elastic.co/t/java-client-jackson-exception-numeric-value-out-of-range-of-int/309673)

<div class="topic-metadata">

**Author:** [@John16](https://discuss.elastic.co/u/John16)\
**Replies:** 3\
**Last updated:** [July 19, 2022, 12:14pm UTC](https://discuss.elastic.co/t/java-client-jackson-exception-numeric-value-out-of-range-of-int/309673 "2022-07-19T12:14:12Z")

</div>

Hello, I am using Java client version 7.17.4 (server is 7.17.0). Executing the following code ElasticsearchIndicesClient indicesClient = new ElasticsearchIndicesClient(transport); indicesClient.stats(b -\> b.index("nam…

---

## [Terminate after not working for elasticsearch count ? Count optimization issue](https://discuss.elastic.co/t/terminate-after-not-working-for-elasticsearch-count-count-optimization-issue/310016)

<div class="topic-metadata">

**Author:** [@mehdiz](https://discuss.elastic.co/u/mehdiz)\
**Replies:** 0\
**Last updated:** [July 19, 2022, 12:04pm UTC](https://discuss.elastic.co/t/terminate-after-not-working-for-elasticsearch-count-count-optimization-issue/310016 "2022-07-19T12:04:02Z")

</div>

I want to have the total count of documents matching a specific query using the count query api of Elasticsearch on Python. I'm using the count to have a check of maximum documents that we can fetch for one query, somet…

---

## [Kibana Server is not ready yet after deletion of indeces inside /var/lib/nodes/0/indeces](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet-after-deletion-of-indeces-inside-var-lib-nodes-0-indeces/309995)

<div class="topic-metadata">

**Author:** [@rrrrrrrrrrr](https://discuss.elastic.co/u/rrrrrrrrrrr)\
**Replies:** 3\
**Last updated:** [July 19, 2022, 11:58am UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet-after-deletion-of-indeces-inside-var-lib-nodes-0-indeces/309995 "2022-07-19T11:58:45Z")

</div>

Hello, I'm unable to access my Kibana Dashboard after deleting some of the indeces directory inside /var/lib/nodes/0/indeces/. Before this I had an error regarding Low disk space that's preventing the elasticsearch to s…

---

## [Discovery.type : single-node but the new indexes are always : index.number\_of\_replicas" : "1"?](https://discuss.elastic.co/t/discovery-type-single-node-but-the-new-indexes-are-always-index-number-of-replicas-1/309318)

<div class="topic-metadata">

**Author:** [@PM75](https://discuss.elastic.co/u/PM75)\
**Replies:** 5\
**Last updated:** [July 19, 2022, 10:21am UTC](https://discuss.elastic.co/t/discovery-type-single-node-but-the-new-indexes-are-always-index-number-of-replicas-1/309318 "2022-07-19T10:21:43Z")

</div>

Hello, \[root@STL-SAS-025 ~\]# /usr/share/elasticsearch/bin/elasticsearch --version Version: 8.3.1, Build: rpm/b9a6b2867996ba92ceac66cb5bafc6db25e7910e/2022-06-29T18:39:55.731992798Z, JVM: 18.0.1.1 I'm having trouble und…

---

## [Forbidden page in Elastic Cloud in Azure](https://discuss.elastic.co/t/forbidden-page-in-elastic-cloud-in-azure/309985)

<div class="topic-metadata">

**Author:** [@arks](https://discuss.elastic.co/u/arks)\
**Replies:** 2\
**Last updated:** [July 19, 2022, 9:50am UTC](https://discuss.elastic.co/t/forbidden-page-in-elastic-cloud-in-azure/309985 "2022-07-19T09:50:24Z")

</div>

Hello there, First of all let me start by saying that I feel silly posting a problem like this, because it feels like something particularly easy to solve, but somehow we struggle to find a way of doing it. We have a E…

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

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