# Elastic Stack

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

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

**Page:** 959

---

## [Mapping conflict -\> Reindex/mapping for only one field](https://discuss.elastic.co/t/mapping-conflict-reindex-mapping-for-only-one-field/303466)

<div class="topic-metadata">

**Author:** [@INS](https://discuss.elastic.co/u/INS)\
**Replies:** 1\
**Last updated:** [April 29, 2022, 1:00am UTC](https://discuss.elastic.co/t/mapping-conflict-reindex-mapping-for-only-one-field/303466 "2022-04-29T01:00:28Z")

</div>

Hi after some changes I need to reindex(or mapping) mass of close indexes of high capacity. I've tried already global reindex but it consumed a lot of time. How I can reindex/remapping all of my historical indexes throu…

---

## [Extract field from kibana](https://discuss.elastic.co/t/extract-field-from-kibana/303495)

<div class="topic-metadata">

**Author:** [@Roberto\_Mejri](https://discuss.elastic.co/u/Roberto_Mejri)\
**Replies:** 2\
**Last updated:** [April 29, 2022, 12:50am UTC](https://discuss.elastic.co/t/extract-field-from-kibana/303495 "2022-04-29T00:50:23Z")

</div>

Hi, I need to exctract all the field: "cf" from kibana to a txt file or visualize... the field: "cf" are inside the "message", Does somebody know How may I accomplish the duty? They are also kept in an other field…

---

## [Elasticsearch OOM, IndexWrter consumed significant memory, seems memory leak](https://discuss.elastic.co/t/elasticsearch-oom-indexwrter-consumed-significant-memory-seems-memory-leak/301283)

<div class="topic-metadata">

**Author:** [@medcl.net](https://discuss.elastic.co/u/medcl.net)\
**Replies:** 0\
**Last updated:** [April 1, 2022, 7:04am UTC](https://discuss.elastic.co/t/elasticsearch-oom-indexwrter-consumed-significant-memory-seems-memory-leak/301283 "2022-04-01T07:04:48Z")

</div>

Hi Team, We recently upgraded our Elasticsearch cluster from 7.6.2 to 7.17.1, and after a few days, it seems working very well, but when we doing some heavy indexing job, the cluster start to crash in an randomly way. T…

---

## [Minimal example of connection from Java and search for every document on index](https://discuss.elastic.co/t/minimal-example-of-connection-from-java-and-search-for-every-document-on-index/301334)

<div class="topic-metadata">

**Author:** [@Malo\_Maisonneuve](https://discuss.elastic.co/u/Malo_Maisonneuve)\
**Replies:** 5\
**Last updated:** [April 28, 2022, 9:55pm UTC](https://discuss.elastic.co/t/minimal-example-of-connection-from-java-and-search-for-every-document-on-index/301334 "2022-04-28T21:55:06Z")

</div>

Hello, I want to use Java to do basic queries in a remote elastic cluster. It seems I successfully am connected to it, but querying does not return any result, whereas I have documents on my elastic cluster, on the req…

---

## [ElasticSearch High Search response times on new Machine](https://discuss.elastic.co/t/elasticsearch-high-search-response-times-on-new-machine/303293)

<div class="topic-metadata">

**Author:** [@dnsh](https://discuss.elastic.co/u/dnsh)\
**Replies:** 4\
**Last updated:** [April 28, 2022, 7:37pm UTC](https://discuss.elastic.co/t/elasticsearch-high-search-response-times-on-new-machine/303293 "2022-04-28T19:37:42Z")

</div>

I have 4 EC2 machines in Elasticsearch Cluster. Configuration: c5d.large, Memory: 3.5G, Data Disk: 50GB NVME instance storage. Elasticsearch Version: 6.8.21 I added the 5th machine with the same configuration c5d.larg…

---

## [After update to 8.1.3 Logstash in cluster no longer functioning](https://discuss.elastic.co/t/after-update-to-8-1-3-logstash-in-cluster-no-longer-functioning/303439)

<div class="topic-metadata">

**Author:** [@hueyg](https://discuss.elastic.co/u/hueyg)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 7:35pm UTC](https://discuss.elastic.co/t/after-update-to-8-1-3-logstash-in-cluster-no-longer-functioning/303439 "2022-04-28T19:35:48Z")

</div>

Running an 8.1.3 cluster with all components updated. Filebeat agent is also latest. This particular host has multiple log files that I was shipping, then creating a different index on each logfile based on the "type" …

---

## [Kibana Discover not working](https://discuss.elastic.co/t/kibana-discover-not-working/303169)

<div class="topic-metadata">

**Author:** [@nandatibco](https://discuss.elastic.co/u/nandatibco)\
**Replies:** 3\
**Last updated:** [April 28, 2022, 7:34pm UTC](https://discuss.elastic.co/t/kibana-discover-not-working/303169 "2022-04-28T19:34:49Z")

</div>

Hello all, When I try to open the Discover in Kibana version 8.1.0, facing an issue as below, could anyone suggest why is it happening and how to address this?

---

## [Netflow application ID to application name](https://discuss.elastic.co/t/netflow-application-id-to-application-name/303549)

<div class="topic-metadata">

**Author:** [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 6:51pm UTC](https://discuss.elastic.co/t/netflow-application-id-to-application-name/303549 "2022-04-28T18:51:10Z")

</div>

Im getting netflow data from multiples machines using filebeat, one of the fields I get is netflow.application\_id and I need to transate the Id to the name of the application, the format of the application\_id is this: 3,…

---

## [Execute Tensorflow model in elasticsearch rescore plugin](https://discuss.elastic.co/t/execute-tensorflow-model-in-elasticsearch-rescore-plugin/303545)

<div class="topic-metadata">

**Author:** [@ashwin91kumar](https://discuss.elastic.co/u/ashwin91kumar)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 5:17pm UTC](https://discuss.elastic.co/t/execute-tensorflow-model-in-elasticsearch-rescore-plugin/303545 "2022-04-28T17:17:39Z")

</div>

Hi Everyone, I'm trying to execute a Tensorflow model. I'm running into the below security issues and unable to provide execute permission for JavaCpp. Is there way to execute TF2 models in Elasticsearch plugin. {"type…

---

## [Aggregation Response Bucket Order](https://discuss.elastic.co/t/aggregation-response-bucket-order/303544)

<div class="topic-metadata">

**Author:** [@EricPSU](https://discuss.elastic.co/u/EricPSU)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 5:12pm UTC](https://discuss.elastic.co/t/aggregation-response-bucket-order/303544 "2022-04-28T17:12:57Z")

</div>

I'm looking to understand the order of the buckets returned when using aggs in my query. I do not want to sort the bucket values, rather I want to sort the buckets themselves. Regardless of the order of the aggs in the…

---

## [Logstash-forwarder-java gives SSL handshake error with Logstash v7.16.1 and higher](https://discuss.elastic.co/t/logstash-forwarder-java-gives-ssl-handshake-error-with-logstash-v7-16-1-and-higher/303510)

<div class="topic-metadata">

**Author:** [@preetish\_P](https://discuss.elastic.co/u/preetish_P)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 5:11pm UTC](https://discuss.elastic.co/t/logstash-forwarder-java-gives-ssl-handshake-error-with-logstash-v7-16-1-and-higher/303510 "2022-04-28T17:11:53Z")

</div>

Hi folks, We are in the process of upgrading ELK stack from v7.11.2 to v7.17.2 to fix the log4j2 vulnerability due to JNDI lookup. Most of the our servers are on AIX so we use logstash-forwarder-java utility. We observ…

---

## [Parsing multiple json in a file](https://discuss.elastic.co/t/parsing-multiple-json-in-a-file/303446)

<div class="topic-metadata">

**Author:** [@stemons](https://discuss.elastic.co/u/stemons)\
**Replies:** 3\
**Last updated:** [April 28, 2022, 4:35pm UTC](https://discuss.elastic.co/t/parsing-multiple-json-in-a-file/303446 "2022-04-28T16:35:06Z")

</div>

Hello! I'm trying to parse a file that contains multiple json. Each json is not delimited by a new line or comma separated. e.g. {"version":"0",....}{"version":"0",...}{"version":"0",...} parsing with the following cod…

---

## [Easy Install](https://discuss.elastic.co/t/easy-install/303451)

<div class="topic-metadata">

**Author:** [@Dan\_Lange](https://discuss.elastic.co/u/Dan_Lange)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 4:18pm UTC](https://discuss.elastic.co/t/easy-install/303451 "2022-04-28T16:18:10Z")

</div>

Hi, I need an easy and repeatable way to install Elasticsearch, Kibana, and Elastic Agent for a demo. I don't care about security or scalability. Can anyone point me to directions for how to do that? I tried using th…

---

## [Import a saved dashboard into Elasticsearch using Java](https://discuss.elastic.co/t/import-a-saved-dashboard-into-elasticsearch-using-java/303536)

<div class="topic-metadata">

**Author:** [@bob4](https://discuss.elastic.co/u/bob4)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 3:25pm UTC](https://discuss.elastic.co/t/import-a-saved-dashboard-into-elasticsearch-using-java/303536 "2022-04-28T15:25:56Z")

</div>

I am trying to import a saved dashboard into Elasticsearch using HttpURLConnection. I can successfully execute the following taken from the saved objects api example in Elasticsearch documentation. $ curl -X POST api/s…

---

## [Error when I wanted to try to create a CBOR object from the content of a PDF file and insert it into an ingest-attachment](https://discuss.elastic.co/t/error-when-i-wanted-to-try-to-create-a-cbor-object-from-the-content-of-a-pdf-file-and-insert-it-into-an-ingest-attachment/303535)

<div class="topic-metadata">

**Author:** [@Asmaa\_Oufkir](https://discuss.elastic.co/u/Asmaa_Oufkir)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 3:25pm UTC](https://discuss.elastic.co/t/error-when-i-wanted-to-try-to-create-a-cbor-object-from-the-content-of-a-pdf-file-and-insert-it-into-an-ingest-attachment/303535 "2022-04-28T15:25:56Z")

</div>

File IN\_FILE = ResourceUtils.getFile("classpath:test.pdf"); int length = (int) IN\_FILE.length(); RandomAccessFile aFile = new RandomAccessFile(IN\_FILE, "r"); System.out.println("aFile :"+aFile); FileCh…

---

## [Helm logstash elasticSearch plugin does not work with custom user except if supersuer](https://discuss.elastic.co/t/helm-logstash-elasticsearch-plugin-does-not-work-with-custom-user-except-if-supersuer/303520)

<div class="topic-metadata">

**Author:** [@stoza](https://discuss.elastic.co/u/stoza)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 1:35pm UTC](https://discuss.elastic.co/t/helm-logstash-elasticsearch-plugin-does-not-work-with-custom-user-except-if-supersuer/303520 "2022-04-28T13:35:11Z")

</div>

Hi, I'm testing the to install logstash with helm from https://github.com/elastic/helm-charts. Everything works fine except that logstash is not able to query index and get a 403 forbidden when another user than elasti…

---

## [Aggregation with collapsed query](https://discuss.elastic.co/t/aggregation-with-collapsed-query/303380)

<div class="topic-metadata">

**Author:** [@Ibrahim\_Z\_HIDIR](https://discuss.elastic.co/u/Ibrahim_Z_HIDIR)\
**Replies:** 3\
**Last updated:** [April 28, 2022, 1:11pm UTC](https://discuss.elastic.co/t/aggregation-with-collapsed-query/303380 "2022-04-28T13:11:50Z")

</div>

Hi I just want to apply aggregation on a query result. My query is eleminating the double documents keeping last one according to a clumn. But the aggragation doesn't care the actual result. I've read that the collapse …

---

## [JSON log parse to separate fields](https://discuss.elastic.co/t/json-log-parse-to-separate-fields/303511)

<div class="topic-metadata">

**Author:** [@Dmitriy\_Esin](https://discuss.elastic.co/u/Dmitriy_Esin)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 1:08pm UTC](https://discuss.elastic.co/t/json-log-parse-to-separate-fields/303511 "2022-04-28T13:08:18Z")

</div>

Hi all! I have a question about implementing JSON log parsing to separated fields in Kibana. I use fluend to get logs from my k8s cluster. See the config: containers.input.conf: |- \<source\> @id fluentd-co…

---

## [Need to parse xml by logstash and create an event only if a field value is non zero](https://discuss.elastic.co/t/need-to-parse-xml-by-logstash-and-create-an-event-only-if-a-field-value-is-non-zero/303306)

<div class="topic-metadata">

**Author:** [@Rohit\_Goel1](https://discuss.elastic.co/u/Rohit_Goel1)\
**Replies:** 1\
**Last updated:** [April 28, 2022, 1:03pm UTC](https://discuss.elastic.co/t/need-to-parse-xml-by-logstash-and-create-an-event-only-if-a-field-value-is-non-zero/303306 "2022-04-28T13:03:58Z")

</div>

Hi Team , I have few Jenkins build xml files generated when jenkins jobs are triggered. I have to read few tags from the xml and create new fields from them by parsing it through logstash. The xml has one tag \<duration\>…

---

## [Make a custom parameter source send two (related) queries](https://discuss.elastic.co/t/make-a-custom-parameter-source-send-two-related-queries/303403)

<div class="topic-metadata">

**Author:** [@jmlucjav](https://discuss.elastic.co/u/jmlucjav)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 1:00pm UTC](https://discuss.elastic.co/t/make-a-custom-parameter-source-send-two-related-queries/303403 "2022-04-28T13:00:29Z")

</div>

Hi, when benchmarking with rally, in order to make it realistic, I want to issue two ES queries (they are related so they need to be created in context) whenever my custom source is invoked. Is there a good way to do t…

---

## [Events time difference between event.created and event.ingested](https://discuss.elastic.co/t/events-time-difference-between-event-created-and-event-ingested/303269)

<div class="topic-metadata">

**Author:** [@Elie\_Sbat](https://discuss.elastic.co/u/Elie_Sbat)\
**Replies:** 12\
**Last updated:** [April 28, 2022, 12:44pm UTC](https://discuss.elastic.co/t/events-time-difference-between-event-created-and-event-ingested/303269 "2022-04-28T12:44:40Z")

</div>

Hello, I am using elk stack v8. traffic is flowing winlog-\>kafka - \> logstash -\> Elasticsearch. there is a time difference between "event created" and "event.ingest". the time difference is around 1 hour. Logstash co…

---

## [I lost my 30 day free trail](https://discuss.elastic.co/t/i-lost-my-30-day-free-trail/303441)

<div class="topic-metadata">

**Author:** [@Rayhan\_Shaik](https://discuss.elastic.co/u/Rayhan_Shaik)\
**Replies:** 3\
**Last updated:** [April 28, 2022, 12:39pm UTC](https://discuss.elastic.co/t/i-lost-my-30-day-free-trail/303441 "2022-04-28T12:39:01Z")

</div>

Hi Team, I was playing around the kibana, and at some point I saw 30 day free trail option in stack management, and I clicked on that. but then I thought I don't need a 30 day trail right now, I thought to save this tr…

---

## [How to filter search query by repeated words?](https://discuss.elastic.co/t/how-to-filter-search-query-by-repeated-words/303157)

<div class="topic-metadata">

**Author:** [@div927](https://discuss.elastic.co/u/div927)\
**Replies:** 4\
**Last updated:** [April 28, 2022, 12:25pm UTC](https://discuss.elastic.co/t/how-to-filter-search-query-by-repeated-words/303157 "2022-04-28T12:25:49Z")

</div>

Hello, I am trying to write a search query which will search by taking input like keywords, example - apple, fruit, summer. After that it should return me the data from the Elasticsearch if all these 3 keywords are pre…

---

## [Elastic Search - 7.16.3 	Dependency Boost C++ Libraries - boost Version](https://discuss.elastic.co/t/elastic-search-7-16-3-dependency-boost-c-libraries-boost-version/302894)

<div class="topic-metadata">

**Author:** [@Indranil](https://discuss.elastic.co/u/Indranil)\
**Replies:** 1\
**Last updated:** [April 28, 2022, 12:25pm UTC](https://discuss.elastic.co/t/elastic-search-7-16-3-dependency-boost-c-libraries-boost-version/302894 "2022-04-28T12:25:44Z")

</div>

Hi, Please help us to know which Boost C++ Libraries - boost Version is used in Elasticsearch - 7.16.3. We are using this version of Elasticsearch in our product. But binary scan is not able to identify the version of B…

---

## [Elasticsearch 8.1.0 Cluster Issue](https://discuss.elastic.co/t/elasticsearch-8-1-0-cluster-issue/302300)

<div class="topic-metadata">

**Author:** [@Mohsin\_Ashraf](https://discuss.elastic.co/u/Mohsin_Ashraf)\
**Replies:** 12\
**Last updated:** [April 28, 2022, 12:16pm UTC](https://discuss.elastic.co/t/elasticsearch-8-1-0-cluster-issue/302300 "2022-04-28T12:16:08Z")

</div>

Hi. I trying to build an Elasticsearch cluster. But after generating the enrollment token and making some changes to the configuration file and assigning the role for different nodes it gives me the following error when…

---

## [Is there a solution to get a sum equal to value of multiple field from elasticsearch data](https://discuss.elastic.co/t/is-there-a-solution-to-get-a-sum-equal-to-value-of-multiple-field-from-elasticsearch-data/303490)

<div class="topic-metadata">

**Author:** [@abderrahmen\_fekih](https://discuss.elastic.co/u/abderrahmen_fekih)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 12:10pm UTC](https://discuss.elastic.co/t/is-there-a-solution-to-get-a-sum-equal-to-value-of-multiple-field-from-elasticsearch-data/303490 "2022-04-28T12:10:56Z")

</div>

I have an Elasticsearch data (ingredients list). I want to get exactly 4 ingredients where the sum of protein equal to 70 { "\_index" : "sample\_ingredients", "\_id" : "C\_cH-X8BaYOrJWCswgP-", "\_score" : 1.0, …

---

## [Indices stats store values seem not coherent](https://discuss.elastic.co/t/indices-stats-store-values-seem-not-coherent/303507)

<div class="topic-metadata">

**Author:** [@juliana\_cg](https://discuss.elastic.co/u/juliana_cg)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 11:56am UTC](https://discuss.elastic.co/t/indices-stats-store-values-seem-not-coherent/303507 "2022-04-28T11:56:34Z")

</div>

Hello, i've been using the /\_stats endpoint to recover the size of my indices, however it seems that the values are not the same between GET /\_stats/store?expand\_wildcards=all and GET /\_stats?expand\_wildcards=all, i'm o…

---

## [Metricbeat on Kubernetes does not work with conditions](https://discuss.elastic.co/t/metricbeat-on-kubernetes-does-not-work-with-conditions/303506)

<div class="topic-metadata">

**Author:** [@melkamar](https://discuss.elastic.co/u/melkamar)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 11:54am UTC](https://discuss.elastic.co/t/metricbeat-on-kubernetes-does-not-work-with-conditions/303506 "2022-04-28T11:54:09Z")

</div>

Hi! I want to set up a metricbeat data collection for some pods in my cluster. I already have a working filebeat configuration where I collect logs from certain pods based on autodiscover template conditions. But the sam…

---

## [Kibana - DIscover - Issue "indexing is not supported on a read-only engine"](https://discuss.elastic.co/t/kibana-discover-issue-indexing-is-not-supported-on-a-read-only-engine/303389)

<div class="topic-metadata">

**Author:** [@Penchev](https://discuss.elastic.co/u/Penchev)\
**Replies:** 6\
**Last updated:** [April 28, 2022, 10:51am UTC](https://discuss.elastic.co/t/kibana-discover-issue-indexing-is-not-supported-on-a-read-only-engine/303389 "2022-04-28T10:51:34Z")

</div>

Hi, I have an issue with KIbana Disocver module. I cannot search in my indices. The error I see is : "indexing is not supported on a read-only engine". All my indices are with status green. I tried running the followin…

---

## [BulkAllResponse and BulkResponse is not giving failed records](https://discuss.elastic.co/t/bulkallresponse-and-bulkresponse-is-not-giving-failed-records/303501)

<div class="topic-metadata">

**Author:** [@Ansuman\_Satapathy](https://discuss.elastic.co/u/Ansuman_Satapathy)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 10:46am UTC](https://discuss.elastic.co/t/bulkallresponse-and-bulkresponse-is-not-giving-failed-records/303501 "2022-04-28T10:46:04Z")

</div>

I am using a NEST package 7.8.2 and trying to use BulkAll method to insert records batchwiseinto Elasticsearch via C#. When I am disconnecting the Elastic Service during the insert operation I don't see the failed items …

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

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