# Elastic Stack

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

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

**Page:** 1163

---

## [Fielddata error indexing string fields](https://discuss.elastic.co/t/fielddata-error-indexing-string-fields/289105)

<div class="topic-metadata">

**Author:** [@iamtheschmitzer](https://discuss.elastic.co/u/iamtheschmitzer)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 4:18pm UTC](https://discuss.elastic.co/t/fielddata-error-indexing-string-fields/289105 "2021-11-16T16:18:25Z")

</div>

In notes of Part 5 of crash course I see By default, every string gets mapped twice as a text field and as a keyword multi-field. Each field type is primed for different types of requests. However, when I try to aggr…

---

## [Corelation Id not working](https://discuss.elastic.co/t/corelation-id-not-working/289243)

<div class="topic-metadata">

**Author:** [@Prabakar](https://discuss.elastic.co/u/Prabakar)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 4:08pm UTC](https://discuss.elastic.co/t/corelation-id-not-working/289243 "2021-11-16T16:08:21Z")

</div>

We are passing co-relation id from postman GET request using Http header. But co-relation id is not getting printed in the logs. We would like to use co-relation id to monitor the logs to debug the issues. Can you guide …

---

## [Unable to verify the first certificate - kibana/elasticsearch](https://discuss.elastic.co/t/unable-to-verify-the-first-certificate-kibana-elasticsearch/289294)

<div class="topic-metadata">

**Author:** [@slashlinux](https://discuss.elastic.co/u/slashlinux)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 3:49pm UTC](https://discuss.elastic.co/t/unable-to-verify-the-first-certificate-kibana-elasticsearch/289294 "2021-11-16T15:49:30Z")

</div>

Hi teams, I'm trying to configure xpack for Elasticsearch/kibana, I've activated the trial license for Elasticsearch, configured xpack for kibana/Elasticsearch and also I've generated ca.crt, node1-elk.crt, node1-elk.ke…

---

## [Search\_after queries are not performing as expected](https://discuss.elastic.co/t/search-after-queries-are-not-performing-as-expected/289174)

<div class="topic-metadata">

**Author:** [@manuel.pancorbo](https://discuss.elastic.co/u/manuel.pancorbo)\
**Replies:** 6\
**Last updated:** [November 16, 2021, 3:08pm UTC](https://discuss.elastic.co/t/search-after-queries-are-not-performing-as-expected/289174 "2021-11-16T15:08:42Z")

</div>

Hi all! I'm working on building a searcher for a site. This site generates a lot of writes (new or modified documents) so we need to use some mechanism to ensure pagination consistency by using certain criteria (freshne…

---

## [CORS problem when using self hosted tile map server](https://discuss.elastic.co/t/cors-problem-when-using-self-hosted-tile-map-server/289102)

<div class="topic-metadata">

**Author:** [@mehrdad22](https://discuss.elastic.co/u/mehrdad22)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 3:03pm UTC](https://discuss.elastic.co/t/cors-problem-when-using-self-hosted-tile-map-server/289102 "2021-11-16T15:03:14Z")

</div>

Hi there. I'm ran a self hosted OSM tile server with this repo. map is working well and functional and accessible with leaflet demo. when I use tile map link ( http://map.company.org:8080/tile/{z}/{x}/{y}.png) for serv…

---

## [Visualising](https://discuss.elastic.co/t/visualising/289212)

<div class="topic-metadata">

**Author:** [@tractor\_boy](https://discuss.elastic.co/u/tractor_boy)\
**Replies:** 4\
**Last updated:** [November 16, 2021, 2:55pm UTC](https://discuss.elastic.co/t/visualising/289212 "2021-11-16T14:55:00Z")

</div>

So, I have managed to get data into elastic, in this case cpu, and uptime. What I want now is to display the latest cpu and uptime value for each host. I have gone into dashboard visualise and created a table with host…

---

## [Sort Parent by Count of Unique Values of a Child Field](https://discuss.elastic.co/t/sort-parent-by-count-of-unique-values-of-a-child-field/289333)

<div class="topic-metadata">

**Author:** [@amarjotbhullar](https://discuss.elastic.co/u/amarjotbhullar)\
**Replies:** 0\
**Last updated:** [November 16, 2021, 1:49pm UTC](https://discuss.elastic.co/t/sort-parent-by-count-of-unique-values-of-a-child-field/289333 "2021-11-16T13:49:09Z")

</div>

Hi, I am currently working on a feature where I have a parent child relationship between driver and trips taken by driver. I need to sort drivers by unique count of no. of cars driven irrespective of number of trips tak…

---

## [Filebeat drop\_fields processors module does not work](https://discuss.elastic.co/t/filebeat-drop-fields-processors-module-does-not-work/289318)

<div class="topic-metadata">

**Author:** [@bilgicsin](https://discuss.elastic.co/u/bilgicsin)\
**Replies:** 0\
**Last updated:** [November 16, 2021, 11:55am UTC](https://discuss.elastic.co/t/filebeat-drop-fields-processors-module-does-not-work/289318 "2021-11-16T11:55:12Z")

</div>

Hi, We have elastic gold licence. we use filebeat agent to send logs logstash, on logstash we do some transformation and send logs to elasticsearh. Before I was dropping default values on logstash but now I want to dro…

---

## [I can't record the current date from the log string in the @timestamp field](https://discuss.elastic.co/t/i-cant-record-the-current-date-from-the-log-string-in-the-timestamp-field/289201)

<div class="topic-metadata">

**Author:** [@vanro](https://discuss.elastic.co/u/vanro)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 1:29pm UTC](https://discuss.elastic.co/t/i-cant-record-the-current-date-from-the-log-string-in-the-timestamp-field/289201 "2021-11-16T13:29:30Z")

</div>

Hello, I can't record the current date from the log string in the @timestamp field and convert the time field from the string type to the date type. Can you tell me what I'm doing wrong? My configuration is shown below.. …

---

## [Change advanced settings via API?](https://discuss.elastic.co/t/change-advanced-settings-via-api/289205)

<div class="topic-metadata">

**Author:** [@TimWardFS](https://discuss.elastic.co/u/TimWardFS)\
**Replies:** 4\
**Last updated:** [November 16, 2021, 1:02pm UTC](https://discuss.elastic.co/t/change-advanced-settings-via-api/289205 "2021-11-16T13:02:30Z")

</div>

I can't see how to change an advanced setting via the API. If I use /api/saved\_objects/\_bulk\_create and don't use overwrite then I get a 409 conflict failure, and if I do use overwrite then it appears that the entire set…

---

## [Big-ish line missing n Elasticsearch 7.9.0](https://discuss.elastic.co/t/big-ish-line-missing-n-elasticsearch-7-9-0/289145)

<div class="topic-metadata">

**Author:** [@Rayyan](https://discuss.elastic.co/u/Rayyan)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 12:48pm UTC](https://discuss.elastic.co/t/big-ish-line-missing-n-elasticsearch-7-9-0/289145 "2021-11-16T12:48:54Z")

</div>

We are using a standalone Elasticsearch on EC2 and the stack looks like Application (JSON) --\> Fluent Bit --\> Elasticsearch (7.9.0) on EC2 --\> Kibana on EC2 We have a scenario wherein if the application generated JSON l…

---

## [How to extract fields of an array with logstash?](https://discuss.elastic.co/t/how-to-extract-fields-of-an-array-with-logstash/289289)

<div class="topic-metadata">

**Author:** [@rodri.gz](https://discuss.elastic.co/u/rodri.gz)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 11:36am UTC](https://discuss.elastic.co/t/how-to-extract-fields-of-an-array-with-logstash/289289 "2021-11-16T11:36:18Z")

</div>

hello! i have a field with this format value: \["x@correo.es","x@correo.com"\] and i want to use a scanner tu extract the nested fields with something like this: ruby { code =\> " event.set('prueba', ev…

---

## [Heartbeat monitor fails with io error 'EOF'](https://discuss.elastic.co/t/heartbeat-monitor-fails-with-io-error-eof/288644)

<div class="topic-metadata">

**Author:** [@SanderP](https://discuss.elastic.co/u/SanderP)\
**Replies:** 3\
**Last updated:** [November 16, 2021, 11:34am UTC](https://discuss.elastic.co/t/heartbeat-monitor-fails-with-io-error-eof/288644 "2021-11-16T11:34:10Z")

</div>

Hi, I'm trying to do a check on philips-hue.com and my monitor is not giving the correct response. It is showing an io error with EOF in the message. I've been trying to find out why it fails, but am not successful yet: …

---

## [ML - Updated analytics task state to \[failed\] with reason \[Limit of total fields \[1000\] has been exceeded\]](https://discuss.elastic.co/t/ml-updated-analytics-task-state-to-failed-with-reason-limit-of-total-fields-1000-has-been-exceeded/288886)

<div class="topic-metadata">

**Author:** [@ciment](https://discuss.elastic.co/u/ciment)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 11:24am UTC](https://discuss.elastic.co/t/ml-updated-analytics-task-state-to-failed-with-reason-limit-of-total-fields-1000-has-been-exceeded/288886 "2021-11-16T11:24:48Z")

</div>

Hi, I want to setup ML job with outlier detection for http statuses 4xx and 5xx. I use ELK stack version 7.15.1. This is the json of ML job. { "id": "ml-http-4xx", "create\_time": 1636545614078, "version": "7.15.…

---

## [Logstash Error](https://discuss.elastic.co/t/logstash-error/289310)

<div class="topic-metadata">

**Author:** [@Angad\_Panesar1](https://discuss.elastic.co/u/Angad_Panesar1)\
**Replies:** 0\
**Last updated:** [November 16, 2021, 11:04am UTC](https://discuss.elastic.co/t/logstash-error/289310 "2021-11-16T11:04:27Z")

</div>

Hi, I am running the logstash config file and I am getting the error shown below. \[ERROR\]\[logstash.outputs.Elasticsearch\]\[main\] Failed to install template {:message=\>"Got response code '400' contacting Elasticsearch at …

---

## [Logstash Elasticsearch filer query to filter data from existing data](https://discuss.elastic.co/t/logstash-elasticsearch-filer-query-to-filter-data-from-existing-data/289304)

<div class="topic-metadata">

**Author:** [@DeepakStile](https://discuss.elastic.co/u/DeepakStile)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 11:02am UTC](https://discuss.elastic.co/t/logstash-elasticsearch-filer-query-to-filter-data-from-existing-data/289304 "2021-11-16T11:02:38Z")

</div>

I am trying to add existing data from Elasticsearch index to a current event of logstash using Elasticsearch filter current logstash event is id,status,date 123456789,ByMobile,Success Existing Data like id,status,da…

---

## [Time panel Elasticsearch/kibana](https://discuss.elastic.co/t/time-panel-elasticsearch-kibana/289308)

<div class="topic-metadata">

**Author:** [@Ragazza\_gioiosa](https://discuss.elastic.co/u/Ragazza_gioiosa)\
**Replies:** 0\
**Last updated:** [November 16, 2021, 10:58am UTC](https://discuss.elastic.co/t/time-panel-elasticsearch-kibana/289308 "2021-11-16T10:58:25Z")

</div>

I would like to know if it is possible to translate the time panel that is inside a dashboard to another language. Thanks!

---

## [Z names with an elastic index](https://discuss.elastic.co/t/z-names-with-an-elastic-index/289066)

<div class="topic-metadata">

**Author:** [@tractor\_boy](https://discuss.elastic.co/u/tractor_boy)\
**Replies:** 4\
**Last updated:** [November 16, 2021, 10:56am UTC](https://discuss.elastic.co/t/z-names-with-an-elastic-index/289066 "2021-11-16T10:56:55Z")

</div>

I support an environment similar to AWS where the server names are of limited(/no) value in their raw form, so we have aliased them such that they are meaningful. If the server were rebuilt the zname would change, but t…

---

## [Filter in the front end for the end user in the dashboard](https://discuss.elastic.co/t/filter-in-the-front-end-for-the-end-user-in-the-dashboard/287874)

<div class="topic-metadata">

**Author:** [@Divya\_Bansal](https://discuss.elastic.co/u/Divya_Bansal)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 10:47am UTC](https://discuss.elastic.co/t/filter-in-the-front-end-for-the-end-user-in-the-dashboard/287874 "2021-11-16T10:47:34Z")

</div>

Hi All, is there any option to add filter to a particular visualisation by a end user in a dashboard having multiple visualisation of different index?

---

## [Bucket selection (Elasticsearch 6.8)](https://discuss.elastic.co/t/bucket-selection-elasticsearch-6-8/287697)

<div class="topic-metadata">

**Author:** [@dev\_test](https://discuss.elastic.co/u/dev_test)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 10:29am UTC](https://discuss.elastic.co/t/bucket-selection-elasticsearch-6-8/287697 "2021-11-16T10:29:39Z")

</div>

Hi, I'm running this query GET assignment/\_search?size=0 { "query": { "bool": { "must": \[ { "term": { "user\_post": "post" } }, { "nested": { …

---

## [Sort search results when sorted by double\_range or float\_range field return array\_index\_out\_of\_bounds\_exception](https://discuss.elastic.co/t/sort-search-results-when-sorted-by-double-range-or-float-range-field-return-array-index-out-of-bounds-exception/287753)

<div class="topic-metadata">

**Author:** [@carpeDiem](https://discuss.elastic.co/u/carpeDiem)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 10:05am UTC](https://discuss.elastic.co/t/sort-search-results-when-sorted-by-double-range-or-float-range-field-return-array-index-out-of-bounds-exception/287753 "2021-11-16T10:05:15Z")

</div>

Hello experts, I'm currently trying to sort search results by double\_range or float\_range field,but return a server error:array\_index\_out\_of\_bounds\_exception,I've included the query and the error output, is this support…

---

## [Nest CleanupRepositoryAsync return body error](https://discuss.elastic.co/t/nest-cleanuprepositoryasync-return-body-error/288796)

<div class="topic-metadata">

**Author:** [@michel.st-louis](https://discuss.elastic.co/u/michel.st-louis)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 9:08am UTC](https://discuss.elastic.co/t/nest-cleanuprepositoryasync-return-body-error/288796 "2021-11-16T09:08:10Z")

</div>

I am using nest with c# and when I use the query: Blockquote var response = await IndexClient.Snapshot.CleanupRepositoryAsync(respositoryName); Blockquote it return \`\`\` illegal\_argument\_exception Reason: "reques…

---

## [Elastic search takes up a lot of virtual memory under Linux](https://discuss.elastic.co/t/elastic-search-takes-up-a-lot-of-virtual-memory-under-linux/289279)

<div class="topic-metadata">

**Author:** [@zekaifeng](https://discuss.elastic.co/u/zekaifeng)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 8:37am UTC](https://discuss.elastic.co/t/elastic-search-takes-up-a-lot-of-virtual-memory-under-linux/289279 "2021-11-16T08:37:05Z")

</div>

Our Elasticsearch version is 7.10.2. It runs on Linux system. The JVM memory allocation is about 3G, and the node memory is about 8G. It is a three node cluster system. The cluster has eight shard, each of which is about…

---

## [Aggregation with large data set using bucket aggregation](https://discuss.elastic.co/t/aggregation-with-large-data-set-using-bucket-aggregation/288141)

<div class="topic-metadata">

**Author:** [@RAVI\_GOPALANI](https://discuss.elastic.co/u/RAVI_GOPALANI)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 8:01am UTC](https://discuss.elastic.co/t/aggregation-with-large-data-set-using-bucket-aggregation/288141 "2021-11-16T08:01:34Z")

</div>

Hi , We are using Elasticsearch to get the top hits based on large volumes of data using bucket aggregation. But we see there is default limit in max\_result\_window attribute of initial 10000 records which will be proce…

---

## [Elastic Agent output to Kafka](https://discuss.elastic.co/t/elastic-agent-output-to-kafka/289068)

<div class="topic-metadata">

**Author:** [@marti1](https://discuss.elastic.co/u/marti1)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 7:32am UTC](https://discuss.elastic.co/t/elastic-agent-output-to-kafka/289068 "2021-11-16T07:32:25Z")

</div>

Hi, I would like to know if it's possible to connect Elastic Agents to Logstash through Kafka. Elastic Agent -\> Kafka \<- Logstash -\> Elasticsearch I have already read the documentation and I don't understant what mean…

---

## [Setting \[index.lifecycle.rollover\_alias\] for index \[y\] is empty or not defined](https://discuss.elastic.co/t/setting-index-lifecycle-rollover-alias-for-index-y-is-empty-or-not-defined/289053)

<div class="topic-metadata">

**Author:** [@wajika](https://discuss.elastic.co/u/wajika)\
**Replies:** 1\
**Last updated:** [November 16, 2021, 7:13am UTC](https://discuss.elastic.co/t/setting-index-lifecycle-rollover-alias-for-index-y-is-empty-or-not-defined/289053 "2021-11-16T07:13:12Z")

</div>

I have read the documentation, and the solution to this error is that I need to set an alias for the index. But this index is at the system level, that is, I did not build it. Why do I need to manually set aliases? Sett…

---

## [Elasticsearch thread count leak - threads not closed on index delete](https://discuss.elastic.co/t/elasticsearch-thread-count-leak-threads-not-closed-on-index-delete/289250)

<div class="topic-metadata">

**Author:** [@NelsonBurton](https://discuss.elastic.co/u/NelsonBurton)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 6:38am UTC](https://discuss.elastic.co/t/elasticsearch-thread-count-leak-threads-not-closed-on-index-delete/289250 "2021-11-16T06:38:18Z")

</div>

Hi Elasticsearch community, does Elasticsearch cleanly close the per-index threads after deleting an index? ES Version: 7.6.1 I have encountered an issue with my Elasticsearch set up, where the thread count slowly grow…

---

## [How to Resolve In\_flight\_request Data too Large Errors](https://discuss.elastic.co/t/how-to-resolve-in-flight-request-data-too-large-errors/289193)

<div class="topic-metadata">

**Author:** [@mertkaant](https://discuss.elastic.co/u/mertkaant)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 6:33am UTC](https://discuss.elastic.co/t/how-to-resolve-in-flight-request-data-too-large-errors/289193 "2021-11-16T06:33:54Z")

</div>

Hello, dear community, We are constantly getting this OutOfMemory error with our master-1 machine. \[in\_flight\_requests\] New used memory 4567112664 \[4.2gb\] for data of \[\<http\_request\>\] would be larger than configured br…

---

## [Synced Snapshots in S3 don't show up as available in the Repository](https://discuss.elastic.co/t/synced-snapshots-in-s3-dont-show-up-as-available-in-the-repository/289226)

<div class="topic-metadata">

**Author:** [@mattph](https://discuss.elastic.co/u/mattph)\
**Replies:** 3\
**Last updated:** [November 16, 2021, 6:23am UTC](https://discuss.elastic.co/t/synced-snapshots-in-s3-dont-show-up-as-available-in-the-repository/289226 "2021-11-16T06:23:07Z")

</div>

I'm new to Elasticsearch and trying to copy an index from a Dev environment to a Test environment. I've installed the S3 Repository plugin in both Dev and Test and configured the repository in Kibana. I setup a policy i…

---

## [KibanaReportsAutomation](https://discuss.elastic.co/t/kibanareportsautomation/289261)

<div class="topic-metadata">

**Author:** [@vish24](https://discuss.elastic.co/u/vish24)\
**Replies:** 0\
**Last updated:** [November 16, 2021, 5:34am UTC](https://discuss.elastic.co/t/kibanareportsautomation/289261 "2021-11-16T05:34:06Z")

</div>

I came to know that few people need some automation in generating Kibana reports. Please find the snippet below: This snippet needs a base file so that script edits it and then executes. Some modifications might be ne…

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

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