# Elasticsearch

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

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

**Page:** 627

---

## [Enabling http & https connections to elastic](https://discuss.elastic.co/t/enabling-http-https-connections-to-elastic/276141)

<div class="topic-metadata">

**Author:** [@jdswifty](https://discuss.elastic.co/u/jdswifty)\
**Replies:** 2\
**Last updated:** [June 17, 2021, 1:17am UTC](https://discuss.elastic.co/t/enabling-http-https-connections-to-elastic/276141 "2021-06-17T01:17:36Z")

</div>

Running Elasticsearch 7.11 & getting towards the end of a piece of work to enable TLS across the platform I'm now at the point i need to enable tls on the http connections for the ingest nodes but I need to be able to s…

---

## [How can send large json file (62.5 GO) to elasticsearch using Api?](https://discuss.elastic.co/t/how-can-send-large-json-file-62-5-go-to-elasticsearch-using-api/276111)

<div class="topic-metadata">

**Author:** [@hana\_sk](https://discuss.elastic.co/u/hana_sk)\
**Replies:** 3\
**Last updated:** [June 17, 2021, 1:15am UTC](https://discuss.elastic.co/t/how-can-send-large-json-file-62-5-go-to-elasticsearch-using-api/276111 "2021-06-17T01:15:09Z")

</div>

i'm stuck. how can send large json file (62.5 GO) to elasticsearch using Api?

---

## [Threadpool.bulk.size key ignored](https://discuss.elastic.co/t/threadpool-bulk-size-key-ignored/276124)

<div class="topic-metadata">

**Author:** [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Replies:** 1\
**Last updated:** [June 17, 2021, 1:14am UTC](https://discuss.elastic.co/t/threadpool-bulk-size-key-ignored/276124 "2021-06-17T01:14:34Z")

</div>

Hey there, using an old ES version (2.x) I was trying to use a custom configuration regarding threadpool. currently, nodes have 8 processors. This value is correctly recognized by ES but when I try to increase it, noth…

---

## [Elasticsearch upgrade from 7.6 to 7.13](https://discuss.elastic.co/t/elasticsearch-upgrade-from-7-6-to-7-13/276146)

<div class="topic-metadata">

**Author:** [@thewasta](https://discuss.elastic.co/u/thewasta)\
**Replies:** 2\
**Last updated:** [June 17, 2021, 1:09am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-7-6-to-7-13/276146 "2021-06-17T01:09:24Z")

</div>

S.O: Ubuntu 18.04 ES: 7.6.1 (Before upgrade) I tried to upgrade my ElasticStack with 3 nodes (1 master, 2 slave). Following the Guide. And all of those steps are only on master. here my steps: curl -XPUT -u elastic:…

---

## [Improvement of Average Response time](https://discuss.elastic.co/t/improvement-of-average-response-time/276163)

<div class="topic-metadata">

**Author:** [@purushothamkdr143](https://discuss.elastic.co/u/purushothamkdr143)\
**Replies:** 1\
**Last updated:** [June 17, 2021, 1:08am UTC](https://discuss.elastic.co/t/improvement-of-average-response-time/276163 "2021-06-17T01:08:25Z")

</div>

Hi All, I have setup elasticsearch on k8s using eck operator. Throughput is fine but response time(average response time) is little high. How can I improve it? by allocating more cpu/ram to data nodes will improve it? K…

---

## [Searchable Snapshot ILM ERROR](https://discuss.elastic.co/t/searchable-snapshot-ilm-error/276166)

<div class="topic-metadata">

**Author:** [@egalpin](https://discuss.elastic.co/u/egalpin)\
**Replies:** 0\
**Last updated:** [June 16, 2021, 4:17pm UTC](https://discuss.elastic.co/t/searchable-snapshot-ilm-error/276166 "2021-06-16T16:17:52Z")

</div>

Hi there, I'm attempting to make use of the newly GA Frozen phase with searchable\_snapshot enabled. I'm consistently getting the following error at the step mount-snapshot of the frozen phase: index \[restored-my-index\]…

---

## [Isolate parallel requests to Elasticsearch](https://discuss.elastic.co/t/isolate-parallel-requests-to-elasticsearch/275996)

<div class="topic-metadata">

**Author:** [@daksh0225](https://discuss.elastic.co/u/daksh0225)\
**Replies:** 3\
**Last updated:** [June 17, 2021, 12:51am UTC](https://discuss.elastic.co/t/isolate-parallel-requests-to-elasticsearch/275996 "2021-06-17T00:51:38Z")

</div>

Hi all, I want to run a set of test classes for my application in parallel. Inside each of the test class, the functions make calls to elasticsearch. Currently the problem I am facing in running the tests in parallel is…

---

## [Large cluster on vm vs bare metal](https://discuss.elastic.co/t/large-cluster-on-vm-vs-bare-metal/276017)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 3\
**Last updated:** [June 17, 2021, 12:50am UTC](https://discuss.elastic.co/t/large-cluster-on-vm-vs-bare-metal/276017 "2021-06-17T00:50:44Z")

</div>

What would be better run on vm or on bare metal? metricbeat getting large set of data, about billion document a day, 100+ gig data, data will be feed by three logstash spec I was making was 8 data node, three master a…

---

## [Words with some special character arenot displayed well after elasticsearch injection](https://discuss.elastic.co/t/words-with-some-special-character-arenot-displayed-well-after-elasticsearch-injection/276025)

<div class="topic-metadata">

**Author:** [@F\_Abde](https://discuss.elastic.co/u/F_Abde)\
**Replies:** 8\
**Last updated:** [June 16, 2021, 11:49pm UTC](https://discuss.elastic.co/t/words-with-some-special-character-arenot-displayed-well-after-elasticsearch-injection/276025 "2021-06-16T23:49:52Z")

</div>

Hello, I need you help, My data looks like this (My json files) {"index": {"\_id":2530}} {"visitor\_id": "4395667", "timestamp": "2020-08-07T10:24:00Z", "station\_id": "Place A"} {"index": {"\_id":2531}} {"visitor\_id": "43…

---

## [Using pre registered search template is not working](https://discuss.elastic.co/t/using-pre-registered-search-template-is-not-working/276063)

<div class="topic-metadata">

**Author:** [@amarga83](https://discuss.elastic.co/u/amarga83)\
**Replies:** 1\
**Last updated:** [June 16, 2021, 10:11pm UTC](https://discuss.elastic.co/t/using-pre-registered-search-template-is-not-working/276063 "2021-06-16T22:11:28Z")

</div>

Hi everyone, I created a search template using kibana as follows: Post \_scripts/mytemplateid3 { "script": { "lang": "mustache", "source": { "query": { "match": { "author": "{{query\_s…

---

## [Scroll or sliced scroll with sorted results](https://discuss.elastic.co/t/scroll-or-sliced-scroll-with-sorted-results/276199)

<div class="topic-metadata">

**Author:** [@jratliff](https://discuss.elastic.co/u/jratliff)\
**Replies:** 0\
**Last updated:** [June 16, 2021, 9:04pm UTC](https://discuss.elastic.co/t/scroll-or-sliced-scroll-with-sorted-results/276199 "2021-06-16T21:04:26Z")

</div>

I'm trying to pull results from elasticsearch with a sort. There are millions of records within each time period I'm looking at. It's taking a very long time to fetch all of the results. I'm looking for ways to improve t…

---

## [Curator Configuration / Errors](https://discuss.elastic.co/t/curator-configuration-errors/276051)

<div class="topic-metadata">

**Author:** [@bgreen](https://discuss.elastic.co/u/bgreen)\
**Replies:** 1\
**Last updated:** [June 16, 2021, 8:52pm UTC](https://discuss.elastic.co/t/curator-configuration-errors/276051 "2021-06-16T20:52:30Z")

</div>

Hi, Like many folks, my Elasticsearch indices are taking up quite a bit of disk space and I'm trying to use curator to delete/reduce disk usage. However, when I execute the command I get the following error and I'm a b…

---

## [Constant Garbage Collecting](https://discuss.elastic.co/t/constant-garbage-collecting/276180)

<div class="topic-metadata">

**Author:** [@Tim\_Mobley](https://discuss.elastic.co/u/Tim_Mobley)\
**Replies:** 4\
**Last updated:** [June 16, 2021, 8:43pm UTC](https://discuss.elastic.co/t/constant-garbage-collecting/276180 "2021-06-16T20:43:22Z")

</div>

I am getting a constant stream of garbage collection logs in my cluster.log of the type shown below: \[2021-06-16T13:33:31,031\]\[WARN\] \[o.e.m.j.JvmGcMonitorService\] \[hot-data.domain.com\] \[gc\] \[255\] overhead, spent \[1.8s…

---

## [Painless script arrays](https://discuss.elastic.co/t/painless-script-arrays/276162)

<div class="topic-metadata">

**Author:** [@nickgregz](https://discuss.elastic.co/u/nickgregz)\
**Replies:** 1\
**Last updated:** [June 16, 2021, 6:46pm UTC](https://discuss.elastic.co/t/painless-script-arrays/276162 "2021-06-16T18:46:06Z")

</div>

Hello, Is there a way to easily create and empty string array in Painless script, than add a string to it if it doesn't already exist in the array. I can't seem to find proper examples of arrays for Painless script any…

---

## [Self monitoring won't enable 7.13](https://discuss.elastic.co/t/self-monitoring-wont-enable-7-13/276018)

<div class="topic-metadata">

**Author:** [@P\_Larsen](https://discuss.elastic.co/u/P_Larsen)\
**Replies:** 2\
**Last updated:** [June 16, 2021, 5:24pm UTC](https://discuss.elastic.co/t/self-monitoring-wont-enable-7-13/276018 "2021-06-16T17:24:50Z")

</div>

Trying to activate Self Monitoring in 7.13. The message logged to Kibana is 2021-06-15T14:16:46+00:00","tags":\["warning","plugins","monitoring","monitoring","kibana-monitoring"\],"pid":128991,"message":"Unable to bulk …

---

## [Nested Query Filter](https://discuss.elastic.co/t/nested-query-filter/276160)

<div class="topic-metadata">

**Author:** [@SAMBUDDHA\_CHAUDHURI](https://discuss.elastic.co/u/SAMBUDDHA_CHAUDHURI)\
**Replies:** 0\
**Last updated:** [June 16, 2021, 3:37pm UTC](https://discuss.elastic.co/t/nested-query-filter/276160 "2021-06-16T15:37:23Z")

</div>

Currently I am trying to search/filter a nested Document in Elastic Search Spring Data. The Current Document Structure is: { "id": 1, "customername": "Cust@123", "policydetails": { "address": { "city": …

---

## [Convert a legacy template into a composable template?](https://discuss.elastic.co/t/convert-a-legacy-template-into-a-composable-template/276145)

<div class="topic-metadata">

**Author:** [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Replies:** 0\
**Last updated:** [June 16, 2021, 1:06pm UTC](https://discuss.elastic.co/t/convert-a-legacy-template-into-a-composable-template/276145 "2021-06-16T13:06:07Z")

</div>

Hello There is a legacy template with a lot of good default mappings that I want to use as a base (a base template, even though it is rudundent) That being said, I want to use it as a composable template. Is there a wa…

---

## [Check whether document returned is from a read or a write index](https://discuss.elastic.co/t/check-whether-document-returned-is-from-a-read-or-a-write-index/276133)

<div class="topic-metadata">

**Author:** [@Deepti](https://discuss.elastic.co/u/Deepti)\
**Replies:** 3\
**Last updated:** [June 16, 2021, 12:48pm UTC](https://discuss.elastic.co/t/check-whether-document-returned-is-from-a-read-or-a-write-index/276133 "2021-06-16T12:48:58Z")

</div>

I have a requirement where I want to delete the documents which match the query but only if they are in the read index , if it is in a write index I don't want the documents to be deleted. Below query deletes irrespecti…

---

## [Higher CPU vs Higher Memory. Which helps in what cases?](https://discuss.elastic.co/t/higher-cpu-vs-higher-memory-which-helps-in-what-cases/272798)

<div class="topic-metadata">

**Author:** [@Aurel\_Drejta](https://discuss.elastic.co/u/Aurel_Drejta)\
**Replies:** 23\
**Last updated:** [June 16, 2021, 12:33pm UTC](https://discuss.elastic.co/t/higher-cpu-vs-higher-memory-which-helps-in-what-cases/272798 "2021-06-16T12:33:32Z")

</div>

Hi everyone, What are the cases where a higher CPU and/or faster CPU benefits the cluster more than higher memory? I am currently running on 3 Nodes that are 8 CPU 16GB RAM configurations. I will scale the cluster fir…

---

## [Highlighting | Fragments | Order:Score --- is it possible to get the score of every fragment?](https://discuss.elastic.co/t/highlighting-fragments-order-score-is-it-possible-to-get-the-score-of-every-fragment/276137)

<div class="topic-metadata">

**Author:** [@edyas](https://discuss.elastic.co/u/edyas)\
**Replies:** 0\
**Last updated:** [June 16, 2021, 12:20pm UTC](https://discuss.elastic.co/t/highlighting-fragments-order-score-is-it-possible-to-get-the-score-of-every-fragment/276137 "2021-06-16T12:20:11Z")

</div>

When using Highlighting, fragments can be sorted by their respective score, which is a very useful feature. But is there any way to get their individual score (which must be calculated in the background for the sorting)…

---

## [Can i connect two different (not clustered) elasticsearch hosts to single kibana?](https://discuss.elastic.co/t/can-i-connect-two-different-not-clustered-elasticsearch-hosts-to-single-kibana/275626)

<div class="topic-metadata">

**Author:** [@Kamil\_Siraliyev](https://discuss.elastic.co/u/Kamil_Siraliyev)\
**Replies:** 4\
**Last updated:** [June 16, 2021, 11:20am UTC](https://discuss.elastic.co/t/can-i-connect-two-different-not-clustered-elasticsearch-hosts-to-single-kibana/275626 "2021-06-16T11:20:19Z")

</div>

I have 2 different not clustered elasticsearch hosts 192.168.1.10 and 192.168.1.85. The 192.168.1.10 server also has kibana. Question: can i connect both of them to a single kibana? Thanks.

---

## [Is it possible to choose the fields from the event before passing it for analysis?](https://discuss.elastic.co/t/is-it-possible-to-choose-the-fields-from-the-event-before-passing-it-for-analysis/276086)

<div class="topic-metadata">

**Author:** [@pk.241011](https://discuss.elastic.co/u/pk.241011)\
**Replies:** 2\
**Last updated:** [June 16, 2021, 11:05am UTC](https://discuss.elastic.co/t/is-it-possible-to-choose-the-fields-from-the-event-before-passing-it-for-analysis/276086 "2021-06-16T11:05:02Z")

</div>

Is it possible to limit the number of fields we process? In anomaly detection-\>Configure datafeed the elasticsearch query is : { "bool": { "must": \[ { "match\_all": {} } \] } } I tried to…

---

## [Not able call SSL configured elasticsearch API from elasticsearch plugin](https://discuss.elastic.co/t/not-able-call-ssl-configured-elasticsearch-api-from-elasticsearch-plugin/275941)

<div class="topic-metadata">

**Author:** [@Rohit\_Sawant1](https://discuss.elastic.co/u/Rohit_Sawant1)\
**Replies:** 5\
**Last updated:** [June 16, 2021, 10:36am UTC](https://discuss.elastic.co/t/not-able-call-ssl-configured-elasticsearch-api-from-elasticsearch-plugin/275941 "2021-06-16T10:36:56Z")

</div>

Hi Team, I am trying to call elasticsearch search ,createindex api from NodeClient but it is giving error message: action \[indices:data/read/search\] is unauthorized for user \[\_system\]. elasticsearch configured with SSL…

---

## [Filter on multiple indice](https://discuss.elastic.co/t/filter-on-multiple-indice/276042)

<div class="topic-metadata">

**Author:** [@dgastudio](https://discuss.elastic.co/u/dgastudio)\
**Replies:** 3\
**Last updated:** [June 16, 2021, 10:31am UTC](https://discuss.elastic.co/t/filter-on-multiple-indice/276042 "2021-06-16T10:31:34Z")

</div>

Hello. i have 2 indices, employee\_profile and employee\_shift a need to create a page, on which one, i have to list all the employees with calendar of shifts for each one right now, i'm doing a request to employee\_prof…

---

## [How to create autoincremented Id (integer) in Elasticsearch?](https://discuss.elastic.co/t/how-to-create-autoincremented-id-integer-in-elasticsearch/276108)

<div class="topic-metadata">

**Author:** [@zeusfsx](https://discuss.elastic.co/u/zeusfsx)\
**Replies:** 1\
**Last updated:** [June 16, 2021, 8:53am UTC](https://discuss.elastic.co/t/how-to-create-autoincremented-id-integer-in-elasticsearch/276108 "2021-06-16T08:53:06Z")

</div>

Hi, I\`m interested in how to create autoincremented Id (integer) in Elasticsearch, or maybe someone knows how to create autoincrement field with the script when added a new document into the index?

---

## [CSV reports](https://discuss.elastic.co/t/csv-reports/275796)

<div class="topic-metadata">

**Author:** [@Andrejs\_G](https://discuss.elastic.co/u/Andrejs_G)\
**Replies:** 2\
**Last updated:** [June 16, 2021, 8:15am UTC](https://discuss.elastic.co/t/csv-reports/275796 "2021-06-16T08:15:57Z")

</div>

Hi, I'm new in Elasticsearch, don't know if it is some kind bug or just need to enable something. Problem is that when I generate CSV file it always contains only one row, doesn't mater if I want to export search with 20…

---

## [Using Windows AD Authentication With NEST](https://discuss.elastic.co/t/using-windows-ad-authentication-with-nest/276085)

<div class="topic-metadata">

**Author:** [@abushokry](https://discuss.elastic.co/u/abushokry)\
**Replies:** 0\
**Last updated:** [June 16, 2021, 5:58am UTC](https://discuss.elastic.co/t/using-windows-ad-authentication-with-nest/276085 "2021-06-16T05:58:26Z")

</div>

Hi All, I'm trying to use the NEST .net Client to connect to elastic search using the identity of the App Pool account. i.e. without Basic Auth nor API Keys. I'm unable to find a way to get that done. Generally, when de…

---

## [Sort doesn't work with delete by query](https://discuss.elastic.co/t/sort-doesnt-work-with-delete-by-query/276074)

<div class="topic-metadata">

**Author:** [@Deepti](https://discuss.elastic.co/u/Deepti)\
**Replies:** 2\
**Last updated:** [June 16, 2021, 5:33am UTC](https://discuss.elastic.co/t/sort-doesnt-work-with-delete-by-query/276074 "2021-06-16T05:33:01Z")

</div>

Iam trying to delete the oldest document in the alias by using sort ,but this deletes all the documents that matches the query. Is sort not supported by delete by query? Is there any other option to use in the delete by…

---

## [Delete from read indexes](https://discuss.elastic.co/t/delete-from-read-indexes/275919)

<div class="topic-metadata">

**Author:** [@Deepti](https://discuss.elastic.co/u/Deepti)\
**Replies:** 11\
**Last updated:** [June 16, 2021, 3:45am UTC](https://discuss.elastic.co/t/delete-from-read-indexes/275919 "2021-06-16T03:45:30Z")

</div>

Hello, I have a current write index and multiple read indexes .Is it possible to delete the documents from only the read indexes? Document with same ID will be present in both read and write index but I want the documen…

---

## [Decrease query delay time in ML jobs](https://discuss.elastic.co/t/decrease-query-delay-time-in-ml-jobs/276058)

<div class="topic-metadata">

**Author:** [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Replies:** 2\
**Last updated:** [June 16, 2021, 2:13am UTC](https://discuss.elastic.co/t/decrease-query-delay-time-in-ml-jobs/276058 "2021-06-16T02:13:40Z")

</div>

Hi, I get data from a database using logstash every 5 minutes. my bucket span is 15 minutes, and, because I was missing documents in the datafeed of the job, my query delay is 23 minutes. What would you recomend to decr…

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

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