# Elastic Stack

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

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

**Page:** 840

---

## [Elastic agent offline after upgrade](https://discuss.elastic.co/t/elastic-agent-offline-after-upgrade/311531)

<div class="topic-metadata">

**Author:** [@Leandre](https://discuss.elastic.co/u/Leandre)\
**Replies:** 0\
**Last updated:** [August 5, 2022, 1:01pm UTC](https://discuss.elastic.co/t/elastic-agent-offline-after-upgrade/311531 "2022-08-05T13:01:38Z")

</div>

Same issue than this one when upgrading agent from 8.3.2 to 8.3.3. The service fails because the symlink to the executable elastic-agent.exe points on a deleted elastic-agent.exe (or the old .exe, wich causes an error li…

---

## [Geo\_distance agg results not consistent](https://discuss.elastic.co/t/geo-distance-agg-results-not-consistent/311453)

<div class="topic-metadata">

**Author:** [@drfreed](https://discuss.elastic.co/u/drfreed)\
**Replies:** 2\
**Last updated:** [August 5, 2022, 12:45pm UTC](https://discuss.elastic.co/t/geo-distance-agg-results-not-consistent/311453 "2022-08-05T12:45:31Z")

</div>

I was trying out the geo\_distance aggreation and received different results based on the order of the ranges specified. I was able to replicate this using the example in the geo\_distance aggregation documentation page. …

---

## [How to enroll elastic agent on image master to deploy 160 VDA Citrix Servers](https://discuss.elastic.co/t/how-to-enroll-elastic-agent-on-image-master-to-deploy-160-vda-citrix-servers/311526)

<div class="topic-metadata">

**Author:** [@dpachot](https://discuss.elastic.co/u/dpachot)\
**Replies:** 0\
**Last updated:** [August 5, 2022, 12:35pm UTC](https://discuss.elastic.co/t/how-to-enroll-elastic-agent-on-image-master-to-deploy-160-vda-citrix-servers/311526 "2022-08-05T12:35:33Z")

</div>

Hi, i'am trying to enroll elastic-agent on Citrix's image master. When i deploy this image to my vda server, they are sharing the same id, so in the Fleet's menu, i can see only one VDA Server and the view is rotating o…

---

## [Is there a "stop" instruction in the block that skips to the next block?](https://discuss.elastic.co/t/is-there-a-stop-instruction-in-the-block-that-skips-to-the-next-block/311511)

<div class="topic-metadata">

**Author:** [@mfloris](https://discuss.elastic.co/u/mfloris)\
**Replies:** 1\
**Last updated:** [August 5, 2022, 12:31pm UTC](https://discuss.elastic.co/t/is-there-a-stop-instruction-in-the-block-that-skips-to-the-next-block/311511 "2022-08-05T12:31:59Z")

</div>

I want to split my filter block into separate files for better readability and easier maintenance and of course by doing that I cannot if-else through the various checks meaning that every input will go through all the f…

---

## [FS Crawler - Issue with OCR](https://discuss.elastic.co/t/fs-crawler-issue-with-ocr/311409)

<div class="topic-metadata">

**Author:** [@Julien70](https://discuss.elastic.co/u/Julien70)\
**Replies:** 6\
**Last updated:** [August 5, 2022, 12:12pm UTC](https://discuss.elastic.co/t/fs-crawler-issue-with-ocr/311409 "2022-08-05T12:12:11Z")

</div>

Hi everyone, I'm facing issue with FSCrawler and OCR: I have a small PDF datasets. Some are filled with "real" text and others with scanned text. When I activate the OCR module, I received this message: " \[I regret t…

---

## [How to optimize this agg search elasticsearch?](https://discuss.elastic.co/t/how-to-optimize-this-agg-search-elasticsearch/311521)

<div class="topic-metadata">

**Author:** [@robocon20x](https://discuss.elastic.co/u/robocon20x)\
**Replies:** 0\
**Last updated:** [August 5, 2022, 11:59am UTC](https://discuss.elastic.co/t/how-to-optimize-this-agg-search-elasticsearch/311521 "2022-08-05T11:59:37Z")

</div>

i have query dsl Elasticsearch with field data 'arr\_color' is an string "red\_blu\_black" and an agg script like this { "runtime\_mappings": {}, "size": 0, "query": { "bool": { …

---

## [I want the full match text comes first than their prefixes than their substrings results](https://discuss.elastic.co/t/i-want-the-full-match-text-comes-first-than-their-prefixes-than-their-substrings-results/311512)

<div class="topic-metadata">

**Author:** [@Rakhshunda\_Noorein\_J](https://discuss.elastic.co/u/Rakhshunda_Noorein_J)\
**Replies:** 0\
**Last updated:** [August 5, 2022, 11:27am UTC](https://discuss.elastic.co/t/i-want-the-full-match-text-comes-first-than-their-prefixes-than-their-substrings-results/311512 "2022-08-05T11:27:50Z")

</div>

Suppose If I am searching for Rohan Roy, I want Rohan Roy matching results comes first then rohan , rohan chohan etc.... The query I have used : { "size": 1000, "query": { "bool": { "must": \[ { …

---

## [Highlight not working when adjacent entities](https://discuss.elastic.co/t/highlight-not-working-when-adjacent-entities/311507)

<div class="topic-metadata">

**Author:** [@almeidajava](https://discuss.elastic.co/u/almeidajava)\
**Replies:** 0\
**Last updated:** [August 5, 2022, 10:59am UTC](https://discuss.elastic.co/t/highlight-not-working-when-adjacent-entities/311507 "2022-08-05T10:59:36Z")

</div>

This happens when using mapper-annotated-text highlighter type: eg Query: { "query": { "ids": { "values": \[ "1" \] } }, "\_source": { "includes"…

---

## [Drupal ElasticSearch Connector](https://discuss.elastic.co/t/drupal-elasticsearch-connector/311505)

<div class="topic-metadata">

**Author:** [@betd-vramdoo](https://discuss.elastic.co/u/betd-vramdoo)\
**Replies:** 1\
**Last updated:** [August 5, 2022, 10:46am UTC](https://discuss.elastic.co/t/drupal-elasticsearch-connector/311505 "2022-08-05T10:46:15Z")

</div>

Hello there, I am currently working on a Drupal project with the search engine ElasticSearch 7.10, my team is using the Elasticsearch Connector | Drupal.org module to interface Drupal with ElasticSearch. Do you know if…

---

## [Elasticsearch Java api client get index mapping in a Map](https://discuss.elastic.co/t/elasticsearch-java-api-client-get-index-mapping-in-a-map/311461)

<div class="topic-metadata">

**Author:** [@ijaxahmed](https://discuss.elastic.co/u/ijaxahmed)\
**Replies:** 2\
**Last updated:** [August 5, 2022, 7:42am UTC](https://discuss.elastic.co/t/elasticsearch-java-api-client-get-index-mapping-in-a-map/311461 "2022-08-05T07:42:11Z")

</div>

I have two qestion 1- I want to get mapping of an Index in a map as "Map\<String, Object\>", i successfully get the GetMappingResponse but from there not getting what to do in order to get mapping as a "Map\<String, Objec…

---

## [Elasticsearch pipeline doesn't Catch paths](https://discuss.elastic.co/t/elasticsearch-pipeline-doesnt-catch-paths/311501)

<div class="topic-metadata">

**Author:** [@nicfr9](https://discuss.elastic.co/u/nicfr9)\
**Replies:** 0\
**Last updated:** [August 5, 2022, 10:32am UTC](https://discuss.elastic.co/t/elasticsearch-pipeline-doesnt-catch-paths/311501 "2022-08-05T10:32:49Z")

</div>

i'm trying to catch the paths that contains a specified path like path/to/my/url/VARIABLEPART, in the pipeline condition i put ctx.url.path == 'path/to/my/url/\*' but unfortunately it takes only the logs that have path/to…

---

## [How to perform join between two indexes in ES?](https://discuss.elastic.co/t/how-to-perform-join-between-two-indexes-in-es/311078)

<div class="topic-metadata">

**Author:** [@Ritikapawar](https://discuss.elastic.co/u/Ritikapawar)\
**Replies:** 4\
**Last updated:** [August 5, 2022, 10:20am UTC](https://discuss.elastic.co/t/how-to-perform-join-between-two-indexes-in-es/311078 "2022-08-05T10:20:26Z")

</div>

I have two indexes as Student1.csv and lecture.csv sample student1.csv student\_id name Roll no 1 Amey 1 2 Neha 2 3 Shubham 3 4 Satish 4 5 Ritika 5 sample lecture.csv lec\_no lec student\_id 1 eng 1 1 eng 1 1 eng 3 1 …

---

## [S3 Output malformed JSON](https://discuss.elastic.co/t/s3-output-malformed-json/311495)

<div class="topic-metadata">

**Author:** [@Giridharan\_C](https://discuss.elastic.co/u/Giridharan_C)\
**Replies:** 0\
**Last updated:** [August 5, 2022, 9:07am UTC](https://discuss.elastic.co/t/s3-output-malformed-json/311495 "2022-08-05T09:07:36Z")

</div>

I am using some grok filter to parse the Syslog from TCP input and store them into S3. What I'm seeing is some malformed JSON. Some syslog events are good and some are not (Multiple events are grouping together as a sing…

---

## [Elastic Search matrix\_stats on both nested and non nested value](https://discuss.elastic.co/t/elastic-search-matrix-stats-on-both-nested-and-non-nested-value/311492)

<div class="topic-metadata">

**Author:** [@Mspprasath](https://discuss.elastic.co/u/Mspprasath)\
**Replies:** 0\
**Last updated:** [August 5, 2022, 8:53am UTC](https://discuss.elastic.co/t/elastic-search-matrix-stats-on-both-nested-and-non-nested-value/311492 "2022-08-05T08:53:48Z")

</div>

we have a doc structure \[{ score: 10, list: \[ // nested type { id : 3, value: 10 }, { id: 4 value: 20 }, { id: 5, value: 15 } \] }, { score: 1, list:…

---

## [Use terminate\_after and sort query can't get the latest data](https://discuss.elastic.co/t/use-terminate-after-and-sort-query-cant-get-the-latest-data/311490)

<div class="topic-metadata">

**Author:** [@Xavier\_Stuart](https://discuss.elastic.co/u/Xavier_Stuart)\
**Replies:** 0\
**Last updated:** [August 5, 2022, 8:24am UTC](https://discuss.elastic.co/t/use-terminate-after-and-sort-query-cant-get-the-latest-data/311490 "2022-08-05T08:24:55Z")

</div>

Why can't I find the latest data when I add terminated\_after when sorting by creation time, the query statement is as follows GET index-1/\_search { "from": 0, "size": 20, "terminate\_after": 1111112, "query": { …

---

## [Transport and syncing data in ES](https://discuss.elastic.co/t/transport-and-syncing-data-in-es/311302)

<div class="topic-metadata">

**Author:** [@vnovotny98](https://discuss.elastic.co/u/vnovotny98)\
**Replies:** 4\
**Last updated:** [August 5, 2022, 7:27am UTC](https://discuss.elastic.co/t/transport-and-syncing-data-in-es/311302 "2022-08-05T07:27:20Z")

</div>

Hello, I have two elasticsearch clusters. One for acceptance where are 3 nodes (each has data, ingest, master role) and one for production where are 9 nodes (3 master, 3 ingest + hot nodes and 3 warm nodes). I would lik…

---

## [I want to make new ssl certificate and key for elasticsearch](https://discuss.elastic.co/t/i-want-to-make-new-ssl-certificate-and-key-for-elasticsearch/311469)

<div class="topic-metadata">

**Author:** [@hellocomputer](https://discuss.elastic.co/u/hellocomputer)\
**Replies:** 1\
**Last updated:** [August 5, 2022, 6:30am UTC](https://discuss.elastic.co/t/i-want-to-make-new-ssl-certificate-and-key-for-elasticsearch/311469 "2022-08-05T06:30:05Z")

</div>

Hello. I use ubuntu 20.04 version (server) and elasticsearch 8.3.2 version. Then, I want to make new certification and key for ssl secure elasticsearch. It already set ssl key using 'http.p12'. But i didn't set this. I…

---

## [How to fetch data from multiple hostnames in es](https://discuss.elastic.co/t/how-to-fetch-data-from-multiple-hostnames-in-es/311414)

<div class="topic-metadata">

**Author:** [@Gojo](https://discuss.elastic.co/u/Gojo)\
**Replies:** 2\
**Last updated:** [August 5, 2022, 6:16am UTC](https://discuss.elastic.co/t/how-to-fetch-data-from-multiple-hostnames-in-es/311414 "2022-08-05T06:16:41Z")

</div>

hey all iam new to elk , iam trying to get all the hosts in the Elasticsearch db , i tried using a wildcard and "wild\_card": "hosts", "query": { "host.keyword": "test\*", "severity.keyword": "err" }, consider there are …

---

## [How to get the sum in time of values in Lens](https://discuss.elastic.co/t/how-to-get-the-sum-in-time-of-values-in-lens/310735)

<div class="topic-metadata">

**Author:** [@its-ogawa](https://discuss.elastic.co/u/its-ogawa)\
**Replies:** 51\
**Last updated:** [August 5, 2022, 6:13am UTC](https://discuss.elastic.co/t/how-to-get-the-sum-in-time-of-values-in-lens/310735 "2022-08-05T06:13:32Z")

</div>

I collect logs in Elasticsearch and keep track of certain values in the logs with fields. Since the values are numeric, I would like to calculate the sum over a certain time interval and see the transition. However, wh…

---

## [How to display data compared to yesterday?](https://discuss.elastic.co/t/how-to-display-data-compared-to-yesterday/311455)

<div class="topic-metadata">

**Author:** [@Kibanosi](https://discuss.elastic.co/u/Kibanosi)\
**Replies:** 1\
**Last updated:** [August 4, 2022, 11:38pm UTC](https://discuss.elastic.co/t/how-to-display-data-compared-to-yesterday/311455 "2022-08-04T23:38:52Z")

</div>

Hi, I'm looking for a dashboard view. Is there a way to display for example today's data and then show the data in percentage from yesterday like in this image?

---

## [Logstash http input plugin, 429 busy and max\_pending\_requests](https://discuss.elastic.co/t/logstash-http-input-plugin-429-busy-and-max-pending-requests/311462)

<div class="topic-metadata">

**Author:** [@dorth](https://discuss.elastic.co/u/dorth)\
**Replies:** 0\
**Last updated:** [August 4, 2022, 10:20pm UTC](https://discuss.elastic.co/t/logstash-http-input-plugin-429-busy-and-max-pending-requests/311462 "2022-08-04T22:20:42Z")

</div>

I am using the Logstash Http Input Plugin to receive logging data from an API Gateway (Apigee) and then send it into various S3 buckets. There are 6 Logstash nodes (m5.large 2 CPU/8 GB) sitting behind an AWS Application…

---

## [Documents not showing up in Discover, but are showing up in queries in Dev Tools](https://discuss.elastic.co/t/documents-not-showing-up-in-discover-but-are-showing-up-in-queries-in-dev-tools/311451)

<div class="topic-metadata">

**Author:** [@Arjun\_Meena](https://discuss.elastic.co/u/Arjun_Meena)\
**Replies:** 10\
**Last updated:** [August 4, 2022, 9:19pm UTC](https://discuss.elastic.co/t/documents-not-showing-up-in-discover-but-are-showing-up-in-queries-in-dev-tools/311451 "2022-08-04T21:19:07Z")

</div>

I have an index spoms-audit-2022.08.04 in which there are 4 documents. When I search them from the dev console, i am able to see all the documents. Below is the search query: These are the results I get back: As…

---

## [New Elasticsearch 8 Java API - Insert date time field](https://discuss.elastic.co/t/new-elasticsearch-8-java-api-insert-date-time-field/311351)

<div class="topic-metadata">

**Author:** [@zxuz111](https://discuss.elastic.co/u/zxuz111)\
**Replies:** 1\
**Last updated:** [August 4, 2022, 9:10pm UTC](https://discuss.elastic.co/t/new-elasticsearch-8-java-api-insert-date-time-field/311351 "2022-08-04T21:10:46Z")

</div>

I am using the new Elasticsearch 8 Java client API to persist document that contains datetime field. Also, this is a spring boot application. The issue I got is, if I set a field as LocalDateTime, and try to save to Ela…

---

## [If Condition in JSON filter](https://discuss.elastic.co/t/if-condition-in-json-filter/311456)

<div class="topic-metadata">

**Author:** [@sta02](https://discuss.elastic.co/u/sta02)\
**Replies:** 5\
**Last updated:** [August 4, 2022, 8:10pm UTC](https://discuss.elastic.co/t/if-condition-in-json-filter/311456 "2022-08-04T20:10:15Z")

</div>

Hello, I am ingesting JSON data to logstash, and I am using JSON filter. In the JSON data, when the KEY is either Value 1 or Value 2, I should add a field, and if this key is missing in the logs, I will have to drop it…

---

## [Create a field such that lookup is faster on that field](https://discuss.elastic.co/t/create-a-field-such-that-lookup-is-faster-on-that-field/311449)

<div class="topic-metadata">

**Author:** [@Aditya\_Verma2](https://discuss.elastic.co/u/Aditya_Verma2)\
**Replies:** 5\
**Last updated:** [August 4, 2022, 7:28pm UTC](https://discuss.elastic.co/t/create-a-field-such-that-lookup-is-faster-on-that-field/311449 "2022-08-04T19:28:02Z")

</div>

Is there any way i can keep a field and its mapping in memory or cached so that lookup on the basis of that field is faster even though there may be more than 1000 clauses specified for that field in search query.

---

## [Prune Plugin error](https://discuss.elastic.co/t/prune-plugin-error/311323)

<div class="topic-metadata">

**Author:** [@sta02](https://discuss.elastic.co/u/sta02)\
**Replies:** 4\
**Last updated:** [August 4, 2022, 6:09pm UTC](https://discuss.elastic.co/t/prune-plugin-error/311323 "2022-08-04T18:09:50Z")

</div>

Hello, I am trying to use Prune filter to parse the data because the data format is foo:bar, but I am unsuccessful. I am getting the below error. The configuration is working without the prune filter. Please advise on …

---

## [Issue with Date Filter in Timelion (Kibana 6.8), TODAY starts at 9AM](https://discuss.elastic.co/t/issue-with-date-filter-in-timelion-kibana-6-8-today-starts-at-9am/311298)

<div class="topic-metadata">

**Author:** [@anthony\_g](https://discuss.elastic.co/u/anthony_g)\
**Replies:** 3\
**Last updated:** [August 4, 2022, 5:44pm UTC](https://discuss.elastic.co/t/issue-with-date-filter-in-timelion-kibana-6-8-today-starts-at-9am/311298 "2022-08-04T17:44:32Z")

</div>

Hello, I'm really new to the Elastic Stack and I'm currently working on some dashboards that will rely on time series built using Timelion. I'm working on Kibana 6.8 and I have a totally unexpected issue: whenever I se…

---

## [ELK-functionbeat-not-able-to-push-data](https://discuss.elastic.co/t/elk-functionbeat-not-able-to-push-data/311333)

<div class="topic-metadata">

**Author:** [@sadik](https://discuss.elastic.co/u/sadik)\
**Replies:** 0\
**Last updated:** [August 3, 2022, 5:28pm UTC](https://discuss.elastic.co/t/elk-functionbeat-not-able-to-push-data/311333 "2022-08-03T17:28:15Z")

</div>

Hello Team, We are facing the below error in AWS function beat lambda. Cannot index event publisher.Event{Content:beat.Event More error details as below: Error: 2022-07-22T15:15:01.087Z WARN \[elasticsearch\] elasticse…

---

## [Pattern to extract specific integer and string](https://discuss.elastic.co/t/pattern-to-extract-specific-integer-and-string/311332)

<div class="topic-metadata">

**Author:** [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Replies:** 6\
**Last updated:** [August 4, 2022, 3:57pm UTC](https://discuss.elastic.co/t/pattern-to-extract-specific-integer-and-string/311332 "2022-08-04T15:57:59Z")

</div>

Input: CEES:1.0|NGINX|NGINX|1.17.6|400|devTime=03/Aug Output response\_code: 400 message: devTime=03/Aug Pattern i have applied ^LEEF.\*\\|%{INT:response\_code}%{GREEDYDATA:log\_message Output i got response\_code: 400 …

---

## [Highlighting using words from another field](https://discuss.elastic.co/t/highlighting-using-words-from-another-field/311444)

<div class="topic-metadata">

**Author:** [@stobyer](https://discuss.elastic.co/u/stobyer)\
**Replies:** 0\
**Last updated:** [August 4, 2022, 2:52pm UTC](https://discuss.elastic.co/t/highlighting-using-words-from-another-field/311444 "2022-08-04T14:52:12Z")

</div>

Hello, I'm trying to highlight text using words from other field. What do I mean? I have a documents similar to the following: { property: 1, content: "a lot of animals including cats and dogs", keywords: \["cat", "…

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

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