# Elasticsearch

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

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

**Page:** 337

---

## [Elasti Search failed to connect local host port:9200](https://discuss.elastic.co/t/elasti-search-failed-to-connect-local-host-port-9200/319958)

<div class="topic-metadata">

**Author:** [@Naga\_rajan](https://discuss.elastic.co/u/Naga_rajan)\
**Replies:** 4\
**Last updated:** [November 30, 2022, 6:23am UTC](https://discuss.elastic.co/t/elasti-search-failed-to-connect-local-host-port-9200/319958 "2022-11-30T06:23:22Z")

</div>

Hi Everyone, I Installed eck-operator, elasticsearch and kibana using this chart - \[helm-charts/elasticsearch at main · elastic/helm-charts · GitHub\] successfully deployed. kibana ui user page also coming. But while ex…

---

## [Disk storage per node](https://discuss.elastic.co/t/disk-storage-per-node/319551)

<div class="topic-metadata">

**Author:** [@qksjdhi1212](https://discuss.elastic.co/u/qksjdhi1212)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 1:18am UTC](https://discuss.elastic.co/t/disk-storage-per-node/319551 "2022-11-30T01:18:22Z")

</div>

I read this article (Benchmarking and sizing your Elasticsearch cluster for logs and metrics | Elastic Blog) It introduced how to calculate total data, total storage and the number of data nodes in my cluster \* Total D…

---

## [Create Python elasticsearch connection](https://discuss.elastic.co/t/create-python-elasticsearch-connection/319690)

<div class="topic-metadata">

**Author:** [@3482bd7cf80a5a43e5a9](https://discuss.elastic.co/u/3482bd7cf80a5a43e5a9)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 1:17am UTC](https://discuss.elastic.co/t/create-python-elasticsearch-connection/319690 "2022-11-30T01:17:29Z")

</div>

Hi I'm using python client:Python Elasticsearch Client — Elasticsearch 8.0.0 documentation to initiate API calls to my ES hosted behind AWS API gateway. Can i use the SDK to talk to my ES stack if mTLS has been enabled…

---

## [The first request on my java application the search is slow but took is small and then it become quick](https://discuss.elastic.co/t/the-first-request-on-my-java-application-the-search-is-slow-but-took-is-small-and-then-it-become-quick/319715)

<div class="topic-metadata">

**Author:** [@MonkAscetic](https://discuss.elastic.co/u/MonkAscetic)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 1:14am UTC](https://discuss.elastic.co/t/the-first-request-on-my-java-application-the-search-is-slow-but-took-is-small-and-then-it-become-quick/319715 "2022-11-30T01:14:37Z")

</div>

the first request on my java application the search is slow but took is small and then it become quick, reponse took between 10ms and 20ms but actually is 2s,I used elasticseach 7.17.2,and client is ElasticsearchClient …

---

## [Can any one help me out for my cluster, It one node as this error](https://discuss.elastic.co/t/can-any-one-help-me-out-for-my-cluster-it-one-node-as-this-error/319731)

<div class="topic-metadata">

**Author:** [@Dhrumil\_Sakhreliya](https://discuss.elastic.co/u/Dhrumil_Sakhreliya)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 1:12am UTC](https://discuss.elastic.co/t/can-any-one-help-me-out-for-my-cluster-it-one-node-as-this-error/319731 "2022-11-30T01:12:31Z")

</div>

\[2022-11-24T04:38:53,120\]\[WARN \]\[r.suppressed \] \[cybernode01\] path: /\_cluster/health, params: {} org.elasticsearch.discovery.MasterNotDiscoveredException: null at org.elasticsearch.action.support.master.Tra…

---

## [Change the Certificate](https://discuss.elastic.co/t/change-the-certificate/319804)

<div class="topic-metadata">

**Author:** [@sa002](https://discuss.elastic.co/u/sa002)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 1:12am UTC](https://discuss.elastic.co/t/change-the-certificate/319804 "2022-11-30T01:12:05Z")

</div>

we have an Elasticsearch cluster with the version "7.17.5" The certificate has expired. I have renewed the certificate but somehow the cluster does not accept the certificate. It still has the old certificate because th…

---

## [Is it safe to modify system index template settings?](https://discuss.elastic.co/t/is-it-safe-to-modify-system-index-template-settings/319894)

<div class="topic-metadata">

**Author:** [@windows95](https://discuss.elastic.co/u/windows95)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 1:03am UTC](https://discuss.elastic.co/t/is-it-safe-to-modify-system-index-template-settings/319894 "2022-11-30T01:03:56Z")

</div>

I have a single node installation. This leads to an yellow/unhealthy status when indices have replication configured. In my case there are these system indices which cause problems: .internal.alerts-observability.logs.a…

---

## [How to Stop Deletion of a Specific Index?](https://discuss.elastic.co/t/how-to-stop-deletion-of-a-specific-index/320032)

<div class="topic-metadata">

**Author:** [@Jdman647](https://discuss.elastic.co/u/Jdman647)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 12:58am UTC](https://discuss.elastic.co/t/how-to-stop-deletion-of-a-specific-index/320032 "2022-11-30T00:58:45Z")

</div>

Hello, Using Securityonion's 'advanced clustering' which means us managing it's cluster. Our delete time is set to 15 days for our so-\* indices. If I want to stop specific index: so-zeek-11232022 from being deleted af…

---

## [cURL command to create the snapshot (cURL PUT) is showing empty response](https://discuss.elastic.co/t/curl-command-to-create-the-snapshot-curl-put-is-showing-empty-response/320041)

<div class="topic-metadata">

**Author:** [@thulsidosskrishnan](https://discuss.elastic.co/u/thulsidosskrishnan)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 12:58am UTC](https://discuss.elastic.co/t/curl-command-to-create-the-snapshot-curl-put-is-showing-empty-response/320041 "2022-11-30T00:58:07Z")

</div>

Hello All, Greetings. I have a script that does the process for creating a repo on S3 AWS . I get all the indices and use the ES PUT CURL command to create the snapshot . For some time now the process is not completin…

---

## [Generating a periodic(i.e. timeslot based, say 2min duration) aggregation on an existing ELK index](https://discuss.elastic.co/t/generating-a-periodic-i-e-timeslot-based-say-2min-duration-aggregation-on-an-existing-elk-index/319858)

<div class="topic-metadata">

**Author:** [@rvadiga](https://discuss.elastic.co/u/rvadiga)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 12:50am UTC](https://discuss.elastic.co/t/generating-a-periodic-i-e-timeslot-based-say-2min-duration-aggregation-on-an-existing-elk-index/319858 "2022-11-30T00:50:59Z")

</div>

Hi Team, I need to design or derive a ELK index (configurable time-window/time-slot) populated based on a highly loaded (i.e say 300 million data points generated per day and indexed) ELK index and define a dashboard ba…

---

## [Postman PUT GET](https://discuss.elastic.co/t/postman-put-get/319861)

<div class="topic-metadata">

**Author:** [@codeRed123](https://discuss.elastic.co/u/codeRed123)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 12:50am UTC](https://discuss.elastic.co/t/postman-put-get/319861 "2022-11-30T00:50:20Z")

</div>

How to get POSTMAN to create index and all when im doing localhost:9200/ it says "type": "security\_exception", Can some one tell how to resolve this error, when i try it via console of kibana it is fine but I want it in …

---

## [How to change the number of replicas of the indices .internal.preview.alerts-security.alerts-default](https://discuss.elastic.co/t/how-to-change-the-number-of-replicas-of-the-indices-internal-preview-alerts-security-alerts-default/319713)

<div class="topic-metadata">

**Author:** [@Mor123460](https://discuss.elastic.co/u/Mor123460)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 12:49am UTC](https://discuss.elastic.co/t/how-to-change-the-number-of-replicas-of-the-indices-internal-preview-alerts-security-alerts-default/319713 "2022-11-30T00:49:47Z")

</div>

Hey :slight\_smile: I have a kibana and elasticsearch installed on the same server, meaning only one data node, without the need for any replicas. I successfully changed all the index templates to: "index.number\_of\_rep…

---

## [How to manage data retention time in ElasticSearch](https://discuss.elastic.co/t/how-to-manage-data-retention-time-in-elasticsearch/319729)

<div class="topic-metadata">

**Author:** [@m3bgwad](https://discuss.elastic.co/u/m3bgwad)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 12:49am UTC](https://discuss.elastic.co/t/how-to-manage-data-retention-time-in-elasticsearch/319729 "2022-11-30T00:49:10Z")

</div>

Hello, What is default of index data retention? If I want to change and edit this retentions for customize the time, if the data after I specifically time I want to remove this data. Thanks in advance for your help.

---

## [Elasticsearch upgrade](https://discuss.elastic.co/t/elasticsearch-upgrade/319837)

<div class="topic-metadata">

**Author:** [@Suraj\_Jannu](https://discuss.elastic.co/u/Suraj_Jannu)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 12:47am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade/319837 "2022-11-30T00:47:44Z")

</div>

Hello, We are planning to upgrade the ELK stack of the below versions to 8.4.3. Elasticsearch: 7.5.1 Kibana : 6.7.2 Logstash : 6.8.12 Questions: What should be the order of Upgrade? (Should I up…

---

## [Data/master node offline for extended period](https://discuss.elastic.co/t/data-master-node-offline-for-extended-period/319566)

<div class="topic-metadata">

**Author:** [@eh2021-elastic](https://discuss.elastic.co/u/eh2021-elastic)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 12:43am UTC](https://discuss.elastic.co/t/data-master-node-offline-for-extended-period/319566 "2022-11-30T00:43:48Z")

</div>

I have a 3-node cluster that is used for monitoring. Each node runs the master and data roles. I just noticed that one of the nodes had been offline for a couple of months and after finding out why, the config had been …

---

## [Does elasticsearch8.5.1 support vector dimensionality reduction when using vector retrieval?](https://discuss.elastic.co/t/does-elasticsearch8-5-1-support-vector-dimensionality-reduction-when-using-vector-retrieval/319600)

<div class="topic-metadata">

**Author:** [@xy\_xia](https://discuss.elastic.co/u/xy_xia)\
**Replies:** 0\
**Last updated:** [November 23, 2022, 1:46am UTC](https://discuss.elastic.co/t/does-elasticsearch8-5-1-support-vector-dimensionality-reduction-when-using-vector-retrieval/319600 "2022-11-23T01:46:30Z")

</div>

Hello， As far as I know, the number of vector dimensions. Can’t exceed 1024 for indexed vectors ("index": true ), or 2048 for non-indexed vectors. But, my model outputs a vector with dimensions greater than 1024, a…

---

## [Rollover alias vs index alias](https://discuss.elastic.co/t/rollover-alias-vs-index-alias/319698)

<div class="topic-metadata">

**Author:** [@mikhatanu](https://discuss.elastic.co/u/mikhatanu)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 12:42am UTC](https://discuss.elastic.co/t/rollover-alias-vs-index-alias/319698 "2022-11-30T00:42:01Z")

</div>

Hello, I am going to apply ILM to an index template from Kibana. When applying to index template, there's a field of "alias for rollover index", but i have set and alias already in index template. What is the difference …

---

## [“distinct” query in elasticsearch java api](https://discuss.elastic.co/t/distinct-query-in-elasticsearch-java-api/319349)

<div class="topic-metadata">

**Author:** [@hmkhitaryan](https://discuss.elastic.co/u/hmkhitaryan)\
**Replies:** 18\
**Last updated:** [November 29, 2022, 11:19pm UTC](https://discuss.elastic.co/t/distinct-query-in-elasticsearch-java-api/319349 "2022-11-29T23:19:05Z")

</div>

How to create “distinct” query in elasticsearch java api, like we do in sql. here is my query, which kibana generated, so I should do the same with java, and I'm trying many ways, but again getting with duplicates. "agg…

---

## [How robust is an Elastic cluster for planned single host outages?](https://discuss.elastic.co/t/how-robust-is-an-elastic-cluster-for-planned-single-host-outages/319794)

<div class="topic-metadata">

**Author:** [@ankh](https://discuss.elastic.co/u/ankh)\
**Replies:** 8\
**Last updated:** [November 29, 2022, 9:33pm UTC](https://discuss.elastic.co/t/how-robust-is-an-elastic-cluster-for-planned-single-host-outages/319794 "2022-11-29T21:33:37Z")

</div>

We are doing some network changes on about a dozen or so Elastic hosts, necessitating taking each host off the network briefly (up to a few minutes). We have at least 2 replicas for every index (ie 1 primary + 2 replica…

---

## [ELK 7.12.1 version ssl and tsl certificate issue](https://discuss.elastic.co/t/elk-7-12-1-version-ssl-and-tsl-certificate-issue/319411)

<div class="topic-metadata">

**Author:** [@Yog](https://discuss.elastic.co/u/Yog)\
**Replies:** 14\
**Last updated:** [November 29, 2022, 6:47pm UTC](https://discuss.elastic.co/t/elk-7-12-1-version-ssl-and-tsl-certificate-issue/319411 "2022-11-29T18:47:12Z")

</div>

I have 3 nodes , in that 1 is master node and 2 are child node , while enable ssl and tsl certificate i am getting an error : below is the error. at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.j…

---

## [Unable to delete datastream using delete datastream api](https://discuss.elastic.co/t/unable-to-delete-datastream-using-delete-datastream-api/320053)

<div class="topic-metadata">

**Author:** [@chinmoy\_padhi](https://discuss.elastic.co/u/chinmoy_padhi)\
**Replies:** 1\
**Last updated:** [November 29, 2022, 3:22pm UTC](https://discuss.elastic.co/t/unable-to-delete-datastream-using-delete-datastream-api/320053 "2022-11-29T15:22:54Z")

</div>

Hi I have referred the following link Delete data stream API | Elasticsearch Guide \[7.17\] | Elastic to delete Data stream. Unfortunately, not able to succeed Whenever I tried from console curl -X DELETE localhost:9200/…

---

## [Docker or binaries?](https://discuss.elastic.co/t/docker-or-binaries/320057)

<div class="topic-metadata">

**Author:** [@turboclick](https://discuss.elastic.co/u/turboclick)\
**Replies:** 1\
**Last updated:** [November 29, 2022, 3:10pm UTC](https://discuss.elastic.co/t/docker-or-binaries/320057 "2022-11-29T15:10:19Z")

</div>

Hi, I would discover and try ELK. I would install it on ma personal computer. Could you tell me what is the better solution between launch the binaries into a simple folder or use docker and why ? Thanks a lot for y…

---

## [One of the nodes disk usage is almost full](https://discuss.elastic.co/t/one-of-the-nodes-disk-usage-is-almost-full/318977)

<div class="topic-metadata">

**Author:** [@catadetest](https://discuss.elastic.co/u/catadetest)\
**Replies:** 8\
**Last updated:** [November 29, 2022, 2:44pm UTC](https://discuss.elastic.co/t/one-of-the-nodes-disk-usage-is-almost-full/318977 "2022-11-29T14:44:39Z")

</div>

We have 3 nodes in an elasticsearch cluster on version: 6.8.21 All of them are master and data nodes. Today, we observed that one node disk usage is almost full (88%), while the others are only 13%, 25% used. curl -s …

---

## [Wildcard queries slow since ES 5.x](https://discuss.elastic.co/t/wildcard-queries-slow-since-es-5-x/320054)

<div class="topic-metadata">

**Author:** [@nesretep](https://discuss.elastic.co/u/nesretep)\
**Replies:** 1\
**Last updated:** [November 29, 2022, 2:33pm UTC](https://discuss.elastic.co/t/wildcard-queries-slow-since-es-5-x/320054 "2022-11-29T14:33:18Z")

</div>

Hi there In the past, to my knowledge untill ES 6, queries - especially wildcard queries - were in general blisteringly fast. Since then, performance has degraded dramatically, with small improvements up through ES 7 an…

---

## [Elasticsearch search querry](https://discuss.elastic.co/t/elasticsearch-search-querry/320021)

<div class="topic-metadata">

**Author:** [@Ali5](https://discuss.elastic.co/u/Ali5)\
**Replies:** 4\
**Last updated:** [November 29, 2022, 11:56am UTC](https://discuss.elastic.co/t/elasticsearch-search-querry/320021 "2022-11-29T11:56:35Z")

</div>

GET products/\_search { "query": { "multi\_match" : { "query": "novel", "fields": \[ "description", "name","id" ,"price"\] } } } this is the querry which get my results done i want to convert it into java api in …

---

## [Install Elasticsearch as a service - Windows](https://discuss.elastic.co/t/install-elasticsearch-as-a-service-windows/319463)

<div class="topic-metadata">

**Author:** [@Clonky](https://discuss.elastic.co/u/Clonky)\
**Replies:** 4\
**Last updated:** [November 29, 2022, 9:41am UTC](https://discuss.elastic.co/t/install-elasticsearch-as-a-service-windows/319463 "2022-11-29T09:41:19Z")

</div>

HI all, I have a fresh installation of Elasticsearch 8.5 and Kibana 8.5 on my Windows Server. I would like to install Elasticsearch as a Service that it gets started as soon as the Server starts and Kibana as well. Ho…

---

## [How to convert this ES querry into java?](https://discuss.elastic.co/t/how-to-convert-this-es-querry-into-java/320019)

<div class="topic-metadata">

**Author:** [@Ali5](https://discuss.elastic.co/u/Ali5)\
**Replies:** 0\
**Last updated:** [November 29, 2022, 9:37am UTC](https://discuss.elastic.co/t/how-to-convert-this-es-querry-into-java/320019 "2022-11-29T09:37:33Z")

</div>

GET products/\_search { "query": { "multi\_match" : { "query": "novel", "fields": \[ "description", "name","id" ,"price"\] } } } \`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`

---

## [Collector \[cluster\_stats\] timed out when collecting data: node](https://discuss.elastic.co/t/collector-cluster-stats-timed-out-when-collecting-data-node/319955)

<div class="topic-metadata">

**Author:** [@rh05](https://discuss.elastic.co/u/rh05)\
**Replies:** 3\
**Last updated:** [November 29, 2022, 9:12am UTC](https://discuss.elastic.co/t/collector-cluster-stats-timed-out-when-collecting-data-node/319955 "2022-11-29T09:12:54Z")

</div>

Hello everyone, I have a problem if someone can help me it would be very appreciated. For several weeks I have noticed that my elastic cluster is unavailable for about 1 hour almost all the time at the same time on Sun…

---

## [Adding html\_strip filter](https://discuss.elastic.co/t/adding-html-strip-filter/319768)

<div class="topic-metadata">

**Author:** [@Srikanth\_V](https://discuss.elastic.co/u/Srikanth_V)\
**Replies:** 5\
**Last updated:** [November 29, 2022, 8:39am UTC](https://discuss.elastic.co/t/adding-html-strip-filter/319768 "2022-11-29T08:39:57Z")

</div>

Hello all, I would like to eliminate html tags when I am performing search on certain fields in elastic. Can this be achieved using html\_strip filter? If yes, can I have an example on how to add the analyzer and the fil…

---

## [Delete old document automatically (version 6.5.4)](https://discuss.elastic.co/t/delete-old-document-automatically-version-6-5-4/320007)

<div class="topic-metadata">

**Author:** [@gyrao\_72](https://discuss.elastic.co/u/gyrao_72)\
**Replies:** 1\
**Last updated:** [November 29, 2022, 8:06am UTC](https://discuss.elastic.co/t/delete-old-document-automatically-version-6-5-4/320007 "2022-11-29T08:06:09Z")

</div>

I want to delete old documents from elastic whenever a new record is inserted with the same request\_id through logstash Example: Suppose my first log to be inserted in elastic is 6b06a196-0f9e-4bec-9c2c-17f4f6cdd652 t…

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

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