# Elastic Stack

**URL:** https://discuss.elastic.co/c/elastic-stack/81.md?page=1600

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

**Page:** 1601

---

## [Elasticsearch OpenJDK process takes over every available TCP port](https://discuss.elastic.co/t/elasticsearch-openjdk-process-takes-over-every-available-tcp-port/261107)

<div class="topic-metadata">

**Author:** [@MiriamJu](https://discuss.elastic.co/u/MiriamJu)\
**Replies:** 5\
**Last updated:** [January 17, 2021, 12:42pm UTC](https://discuss.elastic.co/t/elasticsearch-openjdk-process-takes-over-every-available-tcp-port/261107 "2021-01-17T12:42:16Z")

</div>

Hi, I am facing an issue with Elastic Search: In one of our PCs, The ES Java process took over every available TCP port on the system and held them, so the system entered TCP starvation and failed to continue functionin…

---

## [Direct correlation between pending tasks and GC](https://discuss.elastic.co/t/direct-correlation-between-pending-tasks-and-gc/260704)

<div class="topic-metadata">

**Author:** [@tutunak](https://discuss.elastic.co/u/tutunak)\
**Replies:** 6\
**Last updated:** [January 17, 2021, 12:23pm UTC](https://discuss.elastic.co/t/direct-correlation-between-pending-tasks-and-gc/260704 "2021-01-17T12:23:31Z")

</div>

Hi for all my clusters I see the direct correlation between pending tasks and GC time. What can I do with that? How can avoid this situation?

---

## [Lucene commit failed: checksum failed, while indexing](https://discuss.elastic.co/t/lucene-commit-failed-checksum-failed-while-indexing/253215)

<div class="topic-metadata">

**Author:** [@SuperToma](https://discuss.elastic.co/u/SuperToma)\
**Replies:** 1\
**Last updated:** [January 17, 2021, 8:44am UTC](https://discuss.elastic.co/t/lucene-commit-failed-checksum-failed-while-indexing/253215 "2021-01-17T08:44:07Z")

</div>

Hello guys ! I'm faced with this error while indexing: \[2020-10-24T18:18:31,520\]\[WARN \]\[o.e.i.e.Engine \] \[mini-server\] \[release\]\[0\] failed engine \[lucene commit failed\] org.apache.lucene.index.CorruptInde…

---

## [Why replica shard is not allocated](https://discuss.elastic.co/t/why-replica-shard-is-not-allocated/259768)

<div class="topic-metadata">

**Author:** [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Replies:** 16\
**Last updated:** [January 17, 2021, 8:30am UTC](https://discuss.elastic.co/t/why-replica-shard-is-not-allocated/259768 "2021-01-17T08:30:03Z")

</div>

I have 8 nodes of cluster 3 master node 3 data node and 2 coordinate node.Everyday i saw this Missing replica shards and manually i close those index and open and then refresh those index in kibana and my problem gets so…

---

## ['Access Denied' trying to open Elasticsearch for first time on Windows 10](https://discuss.elastic.co/t/access-denied-trying-to-open-elasticsearch-for-first-time-on-windows-10/261343)

<div class="topic-metadata">

**Author:** [@Rookie2011](https://discuss.elastic.co/u/Rookie2011)\
**Replies:** 1\
**Last updated:** [January 17, 2021, 8:15am UTC](https://discuss.elastic.co/t/access-denied-trying-to-open-elasticsearch-for-first-time-on-windows-10/261343 "2021-01-17T08:15:01Z")

</div>

C:\\Users\\jorda\>cd C:\\Program Files\\Elastic\\Elasticsearch\\7.10.2 C:\\Program Files\\Elastic\\Elasticsearch\\7.10.2\>bin\>elasticsearch-setup-passwords auto Access is denied.

---

## [How to add a global dashboard filter that will only be shown when the dashboard is not embedded](https://discuss.elastic.co/t/how-to-add-a-global-dashboard-filter-that-will-only-be-shown-when-the-dashboard-is-not-embedded/260284)

<div class="topic-metadata">

**Author:** [@ranitg](https://discuss.elastic.co/u/ranitg)\
**Replies:** 5\
**Last updated:** [January 17, 2021, 7:53am UTC](https://discuss.elastic.co/t/how-to-add-a-global-dashboard-filter-that-will-only-be-shown-when-the-dashboard-is-not-embedded/260284 "2021-01-17T07:53:18Z")

</div>

Hi, I'm trying to add a filter to a dashboard without the filter shown in the embedded dashboard. Is there a way to do so? Add it in edit mode, save it and somehow for it not to be visible to the user while he is using…

---

## [Elastic Templates:](https://discuss.elastic.co/t/elastic-templates/261328)

<div class="topic-metadata">

**Author:** [@charleseblack126](https://discuss.elastic.co/u/charleseblack126)\
**Replies:** 4\
**Last updated:** [January 17, 2021, 3:20am UTC](https://discuss.elastic.co/t/elastic-templates/261328 "2021-01-17T03:20:19Z")

</div>

I have installed Winlogbeats and have created an elastic template using a PowerShell statement. I wish to install it on a version elastic in my Ubuntu installation. The PowerShell statement does not allow transfer of tha…

---

## [Score calculation with nested object](https://discuss.elastic.co/t/score-calculation-with-nested-object/261340)

<div class="topic-metadata">

**Author:** [@Indy](https://discuss.elastic.co/u/Indy)\
**Replies:** 0\
**Last updated:** [January 17, 2021, 12:24am UTC](https://discuss.elastic.co/t/score-calculation-with-nested-object/261340 "2021-01-17T00:24:02Z")

</div>

Hello ! I try to do this : I have books, books have many tags. It's a nested relation ! When a user search "starwars vador", I search in all books to find books with this tags. If a book has tags "starwars" and "vado…

---

## [Service elasticsearch start but not the ports](https://discuss.elastic.co/t/service-elasticsearch-start-but-not-the-ports/261292)

<div class="topic-metadata">

**Author:** [@Emiliano\_Baum](https://discuss.elastic.co/u/Emiliano_Baum)\
**Replies:** 2\
**Last updated:** [January 16, 2021, 11:17pm UTC](https://discuss.elastic.co/t/service-elasticsearch-start-but-not-the-ports/261292 "2021-01-16T23:17:36Z")

</div>

Hi , I am struggling with a rare problem, the elasticsearch service starts but not the ports. I have been running a maintenance routine on my cluster and in two nodes I have the same problem, the elastic search service…

---

## [Why 1000 shards?](https://discuss.elastic.co/t/why-1000-shards/261324)

<div class="topic-metadata">

**Author:** [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Replies:** 1\
**Last updated:** [January 16, 2021, 11:17pm UTC](https://discuss.elastic.co/t/why-1000-shards/261324 "2021-01-16T23:17:17Z")

</div>

Why elasticsearch has 1000 shards at a cluster level is there any specific reason because i know too many shards causes memory problem, query speed low, recovery of shards etc

---

## [Elasticsearch: Snapshot repository - index compression - "hard" archiving](https://discuss.elastic.co/t/elasticsearch-snapshot-repository-index-compression-hard-archiving/261334)

<div class="topic-metadata">

**Author:** [@Rysiu](https://discuss.elastic.co/u/Rysiu)\
**Replies:** 1\
**Last updated:** [January 16, 2021, 9:37pm UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-repository-index-compression-hard-archiving/261334 "2021-01-16T21:37:56Z")

</div>

Hi! Are the snapshots taken within elasticsearch repositories compressed in some fairly efficient way by default? When you "permanently" secure (e.g. BD-ROM) a snapshot repository, is it worth compressing it to some ar…

---

## [Match all terms of field with fuzziness](https://discuss.elastic.co/t/match-all-terms-of-field-with-fuzziness/261323)

<div class="topic-metadata">

**Author:** [@floryan](https://discuss.elastic.co/u/floryan)\
**Replies:** 0\
**Last updated:** [January 16, 2021, 5:34pm UTC](https://discuss.elastic.co/t/match-all-terms-of-field-with-fuzziness/261323 "2021-01-16T17:34:01Z")

</div>

Hi everyone, I've been trying to figure out how to perform a specific search but cannot wrap my head around it and was hoping that someone here could give me some helpful input. I'd like to write a query against one sp…

---

## [Metricbeat Index Lifecycle Error](https://discuss.elastic.co/t/metricbeat-index-lifecycle-error/261071)

<div class="topic-metadata">

**Author:** [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Replies:** 3\
**Last updated:** [January 16, 2021, 3:21pm UTC](https://discuss.elastic.co/t/metricbeat-index-lifecycle-error/261071 "2021-01-16T15:21:50Z")

</div>

i am not using user remote\_monitoring\_user i've created user called test as superuser but after an hour it show me unauthorized user remote\_monitoring\_user.I am using metricbeat for ELK i have not used user remote\_mon…

---

## [TSVB math aggregation on multiple series](https://discuss.elastic.co/t/tsvb-math-aggregation-on-multiple-series/261288)

<div class="topic-metadata">

**Author:** [@Hugo\_Pires](https://discuss.elastic.co/u/Hugo_Pires)\
**Replies:** 4\
**Last updated:** [January 16, 2021, 10:43am UTC](https://discuss.elastic.co/t/tsvb-math-aggregation-on-multiple-series/261288 "2021-01-16T10:43:22Z")

</div>

Hello I've read discussion on https://discuss.elastic.co/t/tsvb-creating-variables-for-math/228385. I was using different series with index pattern override to plot data from two different indexes, but I've figured out…

---

## [Start elasticsearch as a single node](https://discuss.elastic.co/t/start-elasticsearch-as-a-single-node/261317)

<div class="topic-metadata">

**Author:** [@Mohammad\_Mousavi](https://discuss.elastic.co/u/Mohammad_Mousavi)\
**Replies:** 1\
**Last updated:** [January 16, 2021, 10:30am UTC](https://discuss.elastic.co/t/start-elasticsearch-as-a-single-node/261317 "2021-01-16T10:30:50Z")

</div>

Hi, I have a cluster with 3 nodes. it's configured for 1 shard and 2 replica so all 3 nodes have all data. I have a back up of one of them, ( backup from VM ). I'm going to restore and start this backup as a single node…

---

## [The age of index which is using ilm policy management](https://discuss.elastic.co/t/the-age-of-index-which-is-using-ilm-policy-management/261198)

<div class="topic-metadata">

**Author:** [@carpeDiem](https://discuss.elastic.co/u/carpeDiem)\
**Replies:** 7\
**Last updated:** [January 16, 2021, 9:42am UTC](https://discuss.elastic.co/t/the-age-of-index-which-is-using-ilm-policy-management/261198 "2021-01-16T09:42:03Z")

</div>

Hello, I'm currently trying to configure and using ilm lifecycle management and data stream for my indices,we are metting a question,when the index was rollovered,the age of index will be reset,this got us into trouble.…

---

## [Redirect or POST to "press the button"](https://discuss.elastic.co/t/redirect-or-post-to-press-the-button/261289)

<div class="topic-metadata">

**Author:** [@Rnx](https://discuss.elastic.co/u/Rnx)\
**Replies:** 2\
**Last updated:** [January 16, 2021, 9:27am UTC](https://discuss.elastic.co/t/redirect-or-post-to-press-the-button/261289 "2021-01-16T09:27:43Z")

</div>

Hi, my heartbeat (7.8.0) is stuck on page asking for "press the button", to redirect further. Is there any way to configure Heartbeat to get past the page? Output which I'm receiving is: \<!DOCTYPE html\> \<html\> \<body o…

---

## [How to calculate a delta value and show it in visualization](https://discuss.elastic.co/t/how-to-calculate-a-delta-value-and-show-it-in-visualization/261154)

<div class="topic-metadata">

**Author:** [@nguyenduyhung1979](https://discuss.elastic.co/u/nguyenduyhung1979)\
**Replies:** 10\
**Last updated:** [January 16, 2021, 7:41am UTC](https://discuss.elastic.co/t/how-to-calculate-a-delta-value-and-show-it-in-visualization/261154 "2021-01-16T07:41:20Z")

</div>

I have a data in format below: Release Num - Server Name - CPU Average 15.4.001 - App01 - 55.56 15.4.001 - App02 - 34.12 16.1.003 - App01 - 71.04 16.1.003 - App02 - 26.82 What I want is to have a graph displaying o…

---

## [Need different time stamp other than default @timestamp from the indexed log](https://discuss.elastic.co/t/need-different-time-stamp-other-than-default-timestamp-from-the-indexed-log/261313)

<div class="topic-metadata">

**Author:** [@Aryaman\_Gupta](https://discuss.elastic.co/u/Aryaman_Gupta)\
**Replies:** 0\
**Last updated:** [January 16, 2021, 6:20am UTC](https://discuss.elastic.co/t/need-different-time-stamp-other-than-default-timestamp-from-the-indexed-log/261313 "2021-01-16T06:20:01Z")

</div>

Hi, My log looks like this 2021-01-13 15:30:12.543723914 node0:app:4786 APP\_ERR\_NUM Function = "DumpSample", Msg = "internal\_stats: Wed 2021-01-13 15:15:45 UTC", Val = 0 On visualising the data in the kibana dashboard…

---

## [How to delete a write index that had no allocated shards](https://discuss.elastic.co/t/how-to-delete-a-write-index-that-had-no-allocated-shards/261304)

<div class="topic-metadata">

**Author:** [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)\
**Replies:** 0\
**Last updated:** [January 16, 2021, 2:51am UTC](https://discuss.elastic.co/t/how-to-delete-a-write-index-that-had-no-allocated-shards/261304 "2021-01-16T02:51:26Z")

</div>

ES 7.10 original title: how can I delete a write index which has no allocated shards. I started the post after struggling with this for a day but, as is often the case, the action of documenting the problem and and dou…

---

## [How to search parent document without children?](https://discuss.elastic.co/t/how-to-search-parent-document-without-children/261239)

<div class="topic-metadata">

**Author:** [@J\_Kit](https://discuss.elastic.co/u/J_Kit)\
**Replies:** 4\
**Last updated:** [January 16, 2021, 3:16am UTC](https://discuss.elastic.co/t/how-to-search-parent-document-without-children/261239 "2021-01-16T03:16:20Z")

</div>

I created parent-child relationship. "my\_join\_field": { "type": "join", "relations": { "parent": "child" } } I tried to search for all parent document with…

---

## [Configuring ILM hot cold delete policy on ES Cluster](https://discuss.elastic.co/t/configuring-ilm-hot-cold-delete-policy-on-es-cluster/259509)

<div class="topic-metadata">

**Author:** [@sandeepkanabar](https://discuss.elastic.co/u/sandeepkanabar)\
**Replies:** 5\
**Last updated:** [January 16, 2021, 3:21am UTC](https://discuss.elastic.co/t/configuring-ilm-hot-cold-delete-policy-on-es-cluster/259509 "2021-01-16T03:21:56Z")

</div>

I'm thinking to apply ILM policies on my ES cluster containing historical data that needs to be preserved for legal purposes with retention period being 7 years (85 months). This cluster used to have day-wise indices. I…

---

## [Plainless Query Cannot invoke \\"Object.getClass()\\" because \\"callArgs\[0\]\\" is null](https://discuss.elastic.co/t/plainless-query-cannot-invoke-object-getclass-because-callargs-0-is-null/261305)

<div class="topic-metadata">

**Author:** [@carpeDiem](https://discuss.elastic.co/u/carpeDiem)\
**Replies:** 0\
**Last updated:** [January 16, 2021, 3:16am UTC](https://discuss.elastic.co/t/plainless-query-cannot-invoke-object-getclass-because-callargs-0-is-null/261305 "2021-01-16T03:16:36Z")

</div>

Hello, I am using a painless scripting language to query,but the hit of result is empty. This is my query body POST test\_script-0/\_search { "\_source":true, "aggs":{}, "from":0, "highlig…

---

## [Python: Method to get connection pool details](https://discuss.elastic.co/t/python-method-to-get-connection-pool-details/261301)

<div class="topic-metadata">

**Author:** [@rpotnuru](https://discuss.elastic.co/u/rpotnuru)\
**Replies:** 0\
**Last updated:** [January 16, 2021, 12:00am UTC](https://discuss.elastic.co/t/python-method-to-get-connection-pool-details/261301 "2021-01-16T00:00:41Z")

</div>

Hello Team, We are using ElasticSearch Python client for talking to ES, Is there any api/method to get the following when using the ES client. total number of connections (active,closed, stale etc). total number of c…

---

## [Is there a simple way to get the execution times of Transport.perform\_request() method](https://discuss.elastic.co/t/is-there-a-simple-way-to-get-the-execution-times-of-transport-perform-request-method/261300)

<div class="topic-metadata">

**Author:** [@rpotnuru](https://discuss.elastic.co/u/rpotnuru)\
**Replies:** 0\
**Last updated:** [January 15, 2021, 11:58pm UTC](https://discuss.elastic.co/t/is-there-a-simple-way-to-get-the-execution-times-of-transport-perform-request-method/261300 "2021-01-15T23:58:14Z")

</div>

Hello Team, We are using ElasticSearch Python module in our application and would like to see if there is a way to capture execution times of Transport.perform\_request() method along with with some useful metadata of th…

---

## [ALgorithm in ElasticSearch for similarity distances between 2 floating vectors](https://discuss.elastic.co/t/algorithm-in-elasticsearch-for-similarity-distances-between-2-floating-vectors/259859)

<div class="topic-metadata">

**Author:** [@deshwal.mahesh](https://discuss.elastic.co/u/deshwal.mahesh)\
**Replies:** 1\
**Last updated:** [January 15, 2021, 11:52pm UTC](https://discuss.elastic.co/t/algorithm-in-elasticsearch-for-similarity-distances-between-2-floating-vectors/259859 "2021-01-15T23:52:10Z")

</div>

Before I start, I seriously have no idea what Elastic is and How it works. I am ML Engineer and has recently been assigned the task for Image - Image similarity. I developed a model which will compare the distances betwe…

---

## [Transform aggregation is not keeping up](https://discuss.elastic.co/t/transform-aggregation-is-not-keeping-up/261176)

<div class="topic-metadata">

**Author:** [@Mike\_Connor](https://discuss.elastic.co/u/Mike_Connor)\
**Replies:** 6\
**Last updated:** [January 15, 2021, 9:27pm UTC](https://discuss.elastic.co/t/transform-aggregation-is-not-keeping-up/261176 "2021-01-15T21:27:36Z")

</div>

Hello, I am struggling with a transform that when originally deployed was performing, but after a seemingly minor change has now become slow and not able to keep up. The transform queries an index for the past 3 hours, …

---

## [Install on air gap system](https://discuss.elastic.co/t/install-on-air-gap-system/261291)

<div class="topic-metadata">

**Author:** [@Andrew\_McDonald](https://discuss.elastic.co/u/Andrew_McDonald)\
**Replies:** 2\
**Last updated:** [January 15, 2021, 8:32pm UTC](https://discuss.elastic.co/t/install-on-air-gap-system/261291 "2021-01-15T20:32:01Z")

</div>

I work in an air gap aws system and we use puppet for deployment. So usually we make or grab an rpm and install it to the local repo and puppet takes care of the rest. Unfortunately, after adding the filebeats-oss rpm …

---

## [Unable to connect to Elasticsearch. Error: Request Timeout](https://discuss.elastic.co/t/unable-to-connect-to-elasticsearch-error-request-timeout/261276)

<div class="topic-metadata">

**Author:** [@first100](https://discuss.elastic.co/u/first100)\
**Replies:** 2\
**Last updated:** [January 15, 2021, 8:28pm UTC](https://discuss.elastic.co/t/unable-to-connect-to-elasticsearch-error-request-timeout/261276 "2021-01-15T20:28:11Z")

</div>

I tried to delete kibana\_1 index as stated in the previuos elastic log: (Cluster health status changed from \[RED\] to \[YELLOW\] (reason: \[shards started \[\[.kibana\_1\] ) : so i ran: DELETE /.kibana\_1 and i received a suc…

---

## [Kibana watcher alert when error log rate exceeds 1 per min for 1 hour](https://discuss.elastic.co/t/kibana-watcher-alert-when-error-log-rate-exceeds-1-per-min-for-1-hour/261197)

<div class="topic-metadata">

**Author:** [@Chenyang\_Liu](https://discuss.elastic.co/u/Chenyang_Liu)\
**Replies:** 1\
**Last updated:** [January 15, 2021, 6:11pm UTC](https://discuss.elastic.co/t/kibana-watcher-alert-when-error-log-rate-exceeds-1-per-min-for-1-hour/261197 "2021-01-15T18:11:53Z")

</div>

I would like to setup a Kibana watcher to send alert when error log rate is over 1 per minute for one hour. So I set a scheduler interval to 1m, then query log.level: ERROR to get the error count for 1 min But after th…

[Previous page](https://discuss.elastic.co/c/elastic-stack/81.md?page=1599)

[Next page](https://discuss.elastic.co/c/elastic-stack/81.md?page=1601)
