# Elastic Stack

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

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

**Page:** 913

---

## [Get Aggregate results grouped by nested field value(s)](https://discuss.elastic.co/t/get-aggregate-results-grouped-by-nested-field-value-s/306554)

<div class="topic-metadata">

**Author:** [@Vignesh\_Theyagarajan](https://discuss.elastic.co/u/Vignesh_Theyagarajan)\
**Replies:** 0\
**Last updated:** [June 7, 2022, 10:47am UTC](https://discuss.elastic.co/t/get-aggregate-results-grouped-by-nested-field-value-s/306554 "2022-06-07T10:47:04Z")

</div>

Sample input json: Email1 - Paragraph1: { “ParagraphId”: “Para1", “EmailId”: “Email1", “Content”: “The city is Chennai”, “Tags”: \[ { “TagId”: “Tag1”, “Name: “City”, …

---

## [The problem that the query thrown into the elastic sometimes responds and sometimes does not](https://discuss.elastic.co/t/the-problem-that-the-query-thrown-into-the-elastic-sometimes-responds-and-sometimes-does-not/306463)

<div class="topic-metadata">

**Author:** [@Busra\_Duygu](https://discuss.elastic.co/u/Busra_Duygu)\
**Replies:** 2\
**Last updated:** [June 7, 2022, 6:02am UTC](https://discuss.elastic.co/t/the-problem-that-the-query-thrown-into-the-elastic-sometimes-responds-and-sometimes-does-not/306463 "2022-06-07T06:02:26Z")

</div>

Hello friends, I am facing a problem. I am throwing a query with no error in Elasticsearch. For example, I want it to fetch about 10 thousand or 20 thousand documents, sorted by date and fulfilling some conditions. I'm d…

---

## [Encountered a retryable error (will retry with exponential backoff) {:code=\>400, :url=\>"http://localhost:9200/\_bulk", :content\_length=\>187}](https://discuss.elastic.co/t/encountered-a-retryable-error-will-retry-with-exponential-backoff-code-400-url-http-localhost-9200-bulk-content-length-187/306547)

<div class="topic-metadata">

**Author:** [@akshay\_bhardwaj](https://discuss.elastic.co/u/akshay_bhardwaj)\
**Replies:** 0\
**Last updated:** [June 7, 2022, 9:24am UTC](https://discuss.elastic.co/t/encountered-a-retryable-error-will-retry-with-exponential-backoff-code-400-url-http-localhost-9200-bulk-content-length-187/306547 "2022-06-07T09:24:03Z")

</div>

Hi i want to config logstash with incremental pipeline but i am getting below error t\[2022-06-07T14:47:45,313\]\[ERROR\]\[logstash.outputs.Elasticsearch\]\[main\]\[d24e130edb19f1038da36ee73576edcc3bb8a8df6f0207c132792ec2475e92ec…

---

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

<div class="topic-metadata">

**Author:** [@Surya\_Raviraj](https://discuss.elastic.co/u/Surya_Raviraj)\
**Replies:** 6\
**Last updated:** [June 7, 2022, 9:00am UTC](https://discuss.elastic.co/t/painless-script-error/306243 "2022-06-07T09:00:32Z")

</div>

Hi, I have a script below - if(doc\['not\_shipped\_shortfall'\].value \< 0) { return doc\['not\_shipped\_shortfall'\].value; }else{ return 0; } when I click 'preview results' I see my desired result and looks like the script is…

---

## [Problem to setup sub flieds](https://discuss.elastic.co/t/problem-to-setup-sub-flieds/306134)

<div class="topic-metadata">

**Author:** [@cRaZyT](https://discuss.elastic.co/u/cRaZyT)\
**Replies:** 5\
**Last updated:** [June 7, 2022, 8:39am UTC](https://discuss.elastic.co/t/problem-to-setup-sub-flieds/306134 "2022-06-07T08:39:17Z")

</div>

Hi, I have a problem to generate sub fileds from a json message . With the following filter I try to check if the field "details" exist and add the json fields to it. If it doesn't exist the field sould be created wit…

---

## [So many segments under 2mb](https://discuss.elastic.co/t/so-many-segments-under-2mb/306536)

<div class="topic-metadata">

**Author:** [@ericsoul](https://discuss.elastic.co/u/ericsoul)\
**Replies:** 6\
**Last updated:** [June 7, 2022, 8:26am UTC](https://discuss.elastic.co/t/so-many-segments-under-2mb/306536 "2022-06-07T08:26:31Z")

</div>

The default parameter index.merge.policy.floor\_segment is 2mb, but why there are still so many segments under 2mb, even through I send command POST indices\_name/\_forcemerge many times.

---

## [Exception occurred during upserting to Elasticsearch](https://discuss.elastic.co/t/exception-occurred-during-upserting-to-elasticsearch/306534)

<div class="topic-metadata">

**Author:** [@Clyton](https://discuss.elastic.co/u/Clyton)\
**Replies:** 0\
**Last updated:** [June 7, 2022, 7:22am UTC](https://discuss.elastic.co/t/exception-occurred-during-upserting-to-elasticsearch/306534 "2022-06-07T07:22:14Z")

</div>

Hi All, We are encountering the issue while we happened to push the bulk data into Elasticsearch. Error Details: "errorCode" : "UOP-OVI-E30102" , "errorMessage" : "Exception occurred during Upserting to Elasticsearch.…

---

## [Multiple cluster](https://discuss.elastic.co/t/multiple-cluster/306529)

<div class="topic-metadata">

**Author:** [@A\_j\_xx](https://discuss.elastic.co/u/A_j_xx)\
**Replies:** 3\
**Last updated:** [June 7, 2022, 7:14am UTC](https://discuss.elastic.co/t/multiple-cluster/306529 "2022-06-07T07:14:06Z")

</div>

Hi all , How do i setup a 2nd cluster on my local machine , assuming 1 cluster is already learning ? Is there any official documentation which i should refer as i was not able to find anything suitable on internet Tha…

---

## [Elastic rally-tracks stable branch](https://discuss.elastic.co/t/elastic-rally-tracks-stable-branch/306530)

<div class="topic-metadata">

**Author:** [@amitsa](https://discuss.elastic.co/u/amitsa)\
**Replies:** 2\
**Last updated:** [June 7, 2022, 7:09am UTC](https://discuss.elastic.co/t/elastic-rally-tracks-stable-branch/306530 "2022-06-07T07:09:26Z")

</div>

Hi All, I am looking to use the elastic rally tracks stable branch. I see there are list of branches but am not able to figure out the latest stable branch to use. kindly help me out.

---

## [Upgrade Elasticsearch from 7.4.1 to 7.93](https://discuss.elastic.co/t/upgrade-elasticsearch-from-7-4-1-to-7-93/306531)

<div class="topic-metadata">

**Author:** [@cosminh](https://discuss.elastic.co/u/cosminh)\
**Replies:** 1\
**Last updated:** [June 7, 2022, 7:03am UTC](https://discuss.elastic.co/t/upgrade-elasticsearch-from-7-4-1-to-7-93/306531 "2022-06-07T07:03:24Z")

</div>

Hello, Is there a procedure on how to upgrade step-by-step Elasticsearch from 7.4.1 to 7.9.3 and at the same keep all the existing settings? example: stop Elastisearch service do this 3 do that etc. Thank you, Cos…

---

## [Salesforce object NOT\_FOUND](https://discuss.elastic.co/t/salesforce-object-not-found/305937)

<div class="topic-metadata">

**Author:** [@Simone1](https://discuss.elastic.co/u/Simone1)\
**Replies:** 2\
**Last updated:** [June 7, 2022, 6:42am UTC](https://discuss.elastic.co/t/salesforce-object-not-found/305937 "2022-06-07T06:42:47Z")

</div>

I want to send data from Salesforce to Elasticsearch with Logstash. I have a case.conf file that sends data of the Case object and it works fine. But i want to send other object (WorkOrder for example) but when i start…

---

## [Can you help me to push the json data to ELK?](https://discuss.elastic.co/t/can-you-help-me-to-push-the-json-data-to-elk/306525)

<div class="topic-metadata">

**Author:** [@dineshsekar](https://discuss.elastic.co/u/dineshsekar)\
**Replies:** 1\
**Last updated:** [June 7, 2022, 6:31am UTC](https://discuss.elastic.co/t/can-you-help-me-to-push-the-json-data-to-elk/306525 "2022-06-07T06:31:14Z")

</div>

Continuing the discussion from Push json key value with ELK: File name: data.json In below json, these are the content, can you help me to push the data to ELK ? { "\_source": { "model": "commit", "tool": "bitbucke…

---

## [Looking a proper way to send the queried data to an HTTP Endpoint](https://discuss.elastic.co/t/looking-a-proper-way-to-send-the-queried-data-to-an-http-endpoint/306333)

<div class="topic-metadata">

**Author:** [@Mohamed\_Naufal](https://discuss.elastic.co/u/Mohamed_Naufal)\
**Replies:** 3\
**Last updated:** [June 7, 2022, 6:26am UTC](https://discuss.elastic.co/t/looking-a-proper-way-to-send-the-queried-data-to-an-http-endpoint/306333 "2022-06-07T06:26:45Z")

</div>

Hi Community, So far, we've queried our logs, got the curl and shared it with our developers. So, they set the cron job on their jar to hit the curl for a given, specific amount of time. When the job stops, they won't r…

---

## [Ansible SLM](https://discuss.elastic.co/t/ansible-slm/306503)

<div class="topic-metadata">

**Author:** [@A\_j\_xx](https://discuss.elastic.co/u/A_j_xx)\
**Replies:** 2\
**Last updated:** [June 7, 2022, 5:10am UTC](https://discuss.elastic.co/t/ansible-slm/306503 "2022-06-07T05:10:54Z")

</div>

Hi all, Can we configure SLM policies via Ansible as well ? If so , then can you suggest me the ways or maybe refer me to the correct documentation link. Thanks

---

## [Favour prefixes at query time for an analyzed index?](https://discuss.elastic.co/t/favour-prefixes-at-query-time-for-an-analyzed-index/306517)

<div class="topic-metadata">

**Author:** [@corndog](https://discuss.elastic.co/u/corndog)\
**Replies:** 1\
**Last updated:** [June 7, 2022, 5:00am UTC](https://discuss.elastic.co/t/favour-prefixes-at-query-time-for-an-analyzed-index/306517 "2022-06-07T05:00:43Z")

</div>

How can I get the desired output at query time for my edge-ngram autocomplete, given my mappings? Desired Output "Fish Lake, New Zealand" "Fife Rock, New Zealand" "Fish Rock, New Zealand" \>"Finger Rocks, New Zealand"\< \>…

---

## [Circuit breaker exception](https://discuss.elastic.co/t/circuit-breaker-exception/305599)

<div class="topic-metadata">

**Author:** [@charvi23](https://discuss.elastic.co/u/charvi23)\
**Replies:** 14\
**Last updated:** [June 7, 2022, 4:57am UTC](https://discuss.elastic.co/t/circuit-breaker-exception/305599 "2022-06-07T04:57:09Z")

</div>

I get the following exception while I am trying to insert data using ES-Hive Hadoop jar. I am currently inserting around 60 million data. Following is the error I get Caused by: org.elasticsearch.hadoop.rest.EsHadoopIn…

---

## [Anomali threat intel dashboard not populating](https://discuss.elastic.co/t/anomali-threat-intel-dashboard-not-populating/306496)

<div class="topic-metadata">

**Author:** [@Charles\_Allen](https://discuss.elastic.co/u/Charles_Allen)\
**Replies:** 3\
**Last updated:** [June 7, 2022, 2:40am UTC](https://discuss.elastic.co/t/anomali-threat-intel-dashboard-not-populating/306496 "2022-06-07T02:40:05Z")

</div>

Hello, I am trying to see Anomali threat intel data in kibana but the dashboard is just empty. I am running Elasticsearch 7.17.4 I have uncommented the anomali guest account and password. I am seeing results within …

---

## [Metricbeat aws module cant collect s3\_dailystorage metrics](https://discuss.elastic.co/t/metricbeat-aws-module-cant-collect-s3-dailystorage-metrics/306512)

<div class="topic-metadata">

**Author:** [@desluk](https://discuss.elastic.co/u/desluk)\
**Replies:** 0\
**Last updated:** [June 7, 2022, 2:16am UTC](https://discuss.elastic.co/t/metricbeat-aws-module-cant-collect-s3-dailystorage-metrics/306512 "2022-06-07T02:16:29Z")

</div>

Hi mate, I'm trying to collect the ec2, lambda, s3\_dailystorage via the aws module, ec2 and lambda are fine, but no s3 data can be collected. Below is my AWS module config: - module: aws period: 300s regions: …

---

## [Updating openjdk](https://discuss.elastic.co/t/updating-openjdk/306342)

<div class="topic-metadata">

**Author:** [@wazzu62](https://discuss.elastic.co/u/wazzu62)\
**Replies:** 2\
**Last updated:** [June 7, 2022, 12:01am UTC](https://discuss.elastic.co/t/updating-openjdk/306342 "2022-06-07T00:01:20Z")

</div>

Running a cluster with Elasticsearch 7.4.2 on Centos 7, ES was installed using RPMs There is a version of java (1.13.0.1.9) included in /usr/share/Elasticsearch that our Nessus scans are hitting on. Can I have ES use t…

---

## [Rabbitmq in azure](https://discuss.elastic.co/t/rabbitmq-in-azure/306413)

<div class="topic-metadata">

**Author:** [@Kirtash](https://discuss.elastic.co/u/Kirtash)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 11:51pm UTC](https://discuss.elastic.co/t/rabbitmq-in-azure/306413 "2022-06-06T23:51:45Z")

</div>

Hiiii!! I have a question about rabbitmq and Elasticsearch. In this moment I have installed Elasticsearch in cloud enterprise and the rabbitmq in azure machines. My intention is connect the two machines but I can't add …

---

## [Monitoring .NET Core EventCounters with Metricbeat or Filebeat?](https://discuss.elastic.co/t/monitoring-net-core-eventcounters-with-metricbeat-or-filebeat/306414)

<div class="topic-metadata">

**Author:** [@Inammathe\_Inna](https://discuss.elastic.co/u/Inammathe_Inna)\
**Replies:** 0\
**Last updated:** [June 5, 2022, 10:19pm UTC](https://discuss.elastic.co/t/monitoring-net-core-eventcounters-with-metricbeat-or-filebeat/306414 "2022-06-05T22:19:48Z")

</div>

Hi guys, So apparently .NET Core on Windows no longer writes to the metricset perfmon. It instead uses EventCounters - EventCounters in .NET Core | Microsoft Docs Has anybody found an elegant way to send these metrics…

---

## [Performance impact](https://discuss.elastic.co/t/performance-impact/306433)

<div class="topic-metadata">

**Author:** [@A\_j\_xx](https://discuss.elastic.co/u/A_j_xx)\
**Replies:** 3\
**Last updated:** [June 6, 2022, 11:50pm UTC](https://discuss.elastic.co/t/performance-impact/306433 "2022-06-06T23:50:11Z")

</div>

Hi all , Some basic doubts which i have What is performance impact on cluster while snapshotting ? Is there any downtime while restoring snapshot in the same cluster Let us say i am a restoring an index "A" on my clus…

---

## [Unable to monitor URL in heartbeat](https://discuss.elastic.co/t/unable-to-monitor-url-in-heartbeat/306453)

<div class="topic-metadata">

**Author:** [@mangeshmj1992](https://discuss.elastic.co/u/mangeshmj1992)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 11:49pm UTC](https://discuss.elastic.co/t/unable-to-monitor-url-in-heartbeat/306453 "2022-06-06T23:49:28Z")

</div>

I am trying to add below URL in heartbeat but it is giving error like 401 Authentication requested or 403 Forbidden I am missing anything? - type: http urls: \["http://myurl.net:9000"\] username: abcd password: #ab…

---

## [How to remove inner list id from result in elastic search](https://discuss.elastic.co/t/how-to-remove-inner-list-id-from-result-in-elastic-search/305900)

<div class="topic-metadata">

**Author:** [@Sangeet\_Shah](https://discuss.elastic.co/u/Sangeet_Shah)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 10:12pm UTC](https://discuss.elastic.co/t/how-to-remove-inner-list-id-from-result-in-elastic-search/305900 "2022-06-06T22:12:09Z")

</div>

I have product list into elastic. My product entity is as below Id,Name, AssociateProductIds Now I have to remove AssociateProductIds from result. What query I have to write? e.g. Id Name AssociateProductI…

---

## [2 Logstash for load balancing and avoid duplication](https://discuss.elastic.co/t/2-logstash-for-load-balancing-and-avoid-duplication/306501)

<div class="topic-metadata">

**Author:** [@Devraj\_patel](https://discuss.elastic.co/u/Devraj_patel)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 8:56pm UTC](https://discuss.elastic.co/t/2-logstash-for-load-balancing-and-avoid-duplication/306501 "2022-06-06T20:56:20Z")

</div>

Till now I was using only 1 server with logstash for sending syslog data to Elasticsearch. I am switching to 2 servers with logstash for load balancing and using f5 VIP, is there a way logstash from different instances c…

---

## [Bash: line 1: yum: command not found](https://discuss.elastic.co/t/bash-line-1-yum-command-not-found/306492)

<div class="topic-metadata">

**Author:** [@alexus](https://discuss.elastic.co/u/alexus)\
**Replies:** 1\
**Last updated:** [June 6, 2022, 7:55pm UTC](https://discuss.elastic.co/t/bash-line-1-yum-command-not-found/306492 "2022-06-06T19:55:37Z")

</div>

Hello World! I'm trying to get started with Elastic Stack 7.17 by following: Running the Elastic Stack on Docker, yet running into this: % docker-compose -f create-certs.yml run --rm create\_certs \[+\] Running 2/0 ⠿ Ne…

---

## [Error installing Fleet Server](https://discuss.elastic.co/t/error-installing-fleet-server/306216)

<div class="topic-metadata">

**Author:** [@aviral\_srivastava](https://discuss.elastic.co/u/aviral_srivastava)\
**Replies:** 4\
**Last updated:** [June 6, 2022, 6:54pm UTC](https://discuss.elastic.co/t/error-installing-fleet-server/306216 "2022-06-06T18:54:47Z")

</div>

Hi, My setup: Elasticsearch 8.1.0, Kibana 8.1.0, Elastic Agent 8.1.0 Downloaded elastic agent on my windows machine. Ran the following command: elastic-agent.exe install --fleet-server-es=https://localhost:9200 --fl…

---

## [Error":{"root\_cause":\[{"type":"mapper\_parsing\_exception","reason":"analyzer \[analyzer\_keyword\] not found for field](https://discuss.elastic.co/t/error-root-cause-type-mapper-parsing-exception-reason-analyzer-analyzer-keyword-not-found-for-field/306416)

<div class="topic-metadata">

**Author:** [@sameer\_khamkar](https://discuss.elastic.co/u/sameer_khamkar)\
**Replies:** 5\
**Last updated:** [June 6, 2022, 5:38pm UTC](https://discuss.elastic.co/t/error-root-cause-type-mapper-parsing-exception-reason-analyzer-analyzer-keyword-not-found-for-field/306416 "2022-06-06T17:38:26Z")

</div>

Hello Team, When I am creating new index I am getting below error "curl -X PUT \[localhost:9200/holly\_good\](http://localhost:9200/holly\_good) -H 'Content-Type: application/json' -d @new.json " but it gave below error …

---

## [HTTP Response 401 "Unauthorized" Using API\_KEY (MetricBeat --\> Kibana)](https://discuss.elastic.co/t/http-response-401-unauthorized-using-api-key-metricbeat-kibana/305462)

<div class="topic-metadata">

**Author:** [@Lokesh\_Sachdeva](https://discuss.elastic.co/u/Lokesh_Sachdeva)\
**Replies:** 6\
**Last updated:** [June 6, 2022, 4:41pm UTC](https://discuss.elastic.co/t/http-response-401-unauthorized-using-api-key-metricbeat-kibana/305462 "2022-06-06T16:41:32Z")

</div>

Hi Elastic Team We are trying to load data from Metricbeat to Kibana using API KEY. API Key is created and provided full superuser (elastic role) access. API KEY is able to authenticate into Elasticsearch but while con…

---

## [How to use data plugin inside custom plugin?](https://discuss.elastic.co/t/how-to-use-data-plugin-inside-custom-plugin/306481)

<div class="topic-metadata">

**Author:** [@Azhar\_Uddin1](https://discuss.elastic.co/u/Azhar_Uddin1)\
**Replies:** 0\
**Last updated:** [June 6, 2022, 4:24pm UTC](https://discuss.elastic.co/t/how-to-use-data-plugin-inside-custom-plugin/306481 "2022-06-06T16:24:40Z")

</div>

I want to render some data of a CSV file or sample data which provided by elastic search inside a custom plugin using data plugin I find this but couldn't able to get most out of it DashBoard plugin also used data plug…

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

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