# Elasticsearch

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

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

**Page:** 997

---

## [CORS request did not succeed](https://discuss.elastic.co/t/cors-request-did-not-succeed/222239)

<div class="topic-metadata">

**Author:** [@Muhammad\_Ariful\_Isla](https://discuss.elastic.co/u/Muhammad_Ariful_Isla)\
**Replies:** 1\
**Last updated:** [March 5, 2020, 9:16am UTC](https://discuss.elastic.co/t/cors-request-did-not-succeed/222239 "2020-03-05T09:16:29Z")

</div>

At first, I tried to access Elasticsearch via a React Application. I was successful at first. But when I try the same app from another machine, Application doesn't show any data. I am getting this following error at t…

---

## [Exclude node from cluster routing allocation](https://discuss.elastic.co/t/exclude-node-from-cluster-routing-allocation/222242)

<div class="topic-metadata">

**Author:** [@qiratnahraf](https://discuss.elastic.co/u/qiratnahraf)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 9:13am UTC](https://discuss.elastic.co/t/exclude-node-from-cluster-routing-allocation/222242 "2020-03-05T09:13:54Z")

</div>

Hi , for a maintenance activity we exclude a node from cluster routing allocation. When a node get back UP, we were not sure how to remove it from exclusion so we simply include it by using following command PUT /\_clus…

---

## [Log search requests of my users to my application?](https://discuss.elastic.co/t/log-search-requests-of-my-users-to-my-application/222237)

<div class="topic-metadata">

**Author:** [@Mattness](https://discuss.elastic.co/u/Mattness)\
**Replies:** 2\
**Last updated:** [March 5, 2020, 9:01am UTC](https://discuss.elastic.co/t/log-search-requests-of-my-users-to-my-application/222237 "2020-03-05T09:01:25Z")

</div>

Simply put if a user searches for anything on my site I want to be able to quantify and analyze it. How can I achieve this?

---

## [\[elk 6.8.6\] Unable to POST to api\_key : current license is non-compliant for \[api keys\]](https://discuss.elastic.co/t/elk-6-8-6-unable-to-post-to-api-key-current-license-is-non-compliant-for-api-keys/222224)

<div class="topic-metadata">

**Author:** [@caribou](https://discuss.elastic.co/u/caribou)\
**Replies:** 2\
**Last updated:** [March 5, 2020, 8:47am UTC](https://discuss.elastic.co/t/elk-6-8-6-unable-to-post-to-api-key-current-license-is-non-compliant-for-api-keys/222224 "2020-03-05T08:47:20Z")

</div>

Hello, I am trying to use the API Key authentication method on a newly installed 6.8.6 cluster. Basic authentication works fine but when I POST to ./api\_key I get the following : { "error" : { "root\_cause" : \[ …

---

## [How to use transforms for Serial Differencing Aggregation](https://discuss.elastic.co/t/how-to-use-transforms-for-serial-differencing-aggregation/222135)

<div class="topic-metadata">

**Author:** [@tusharumbarkar](https://discuss.elastic.co/u/tusharumbarkar)\
**Replies:** 1\
**Last updated:** [March 5, 2020, 8:15am UTC](https://discuss.elastic.co/t/how-to-use-transforms-for-serial-differencing-aggregation/222135 "2020-03-05T08:15:27Z")

</div>

I am trying to create new index using transforms (with the Serial Differencing Aggregation) Got below error - { "statusCode": 400, "error": "Bad Request", "message": "\[status\_exception\] Unsupported aggregation type …

---

## [Search a keyword with insensitive word](https://discuss.elastic.co/t/search-a-keyword-with-insensitive-word/222059)

<div class="topic-metadata">

**Author:** [@umay\_fb](https://discuss.elastic.co/u/umay_fb)\
**Replies:** 5\
**Last updated:** [March 5, 2020, 7:43am UTC](https://discuss.elastic.co/t/search-a-keyword-with-insensitive-word/222059 "2020-03-05T07:43:51Z")

</div>

I had case in my elasticsearch. i want to find the field with value "Aku & Kamu . Co". i using Keyword and i get the field, but problem come when i find with "aku & kamu". how can i slove this? is that the keyword suppor…

---

## [How to use ingest attachment plugin to index and store the pdfs in elastic search using spring boot](https://discuss.elastic.co/t/how-to-use-ingest-attachment-plugin-to-index-and-store-the-pdfs-in-elastic-search-using-spring-boot/222192)

<div class="topic-metadata">

**Author:** [@samanvi\_sweety](https://discuss.elastic.co/u/samanvi_sweety)\
**Replies:** 1\
**Last updated:** [March 5, 2020, 7:40am UTC](https://discuss.elastic.co/t/how-to-use-ingest-attachment-plugin-to-index-and-store-the-pdfs-in-elastic-search-using-spring-boot/222192 "2020-03-05T07:40:25Z")

</div>

I need to store the pdfs in elastic search using spring boot microservices. I want some sample how the ingest plugin works in storing the pdfs I would really appreciate the help.Thanks

---

## [Get all docs with the occurrence of field values only once \[RE-POST\]](https://discuss.elastic.co/t/get-all-docs-with-the-occurrence-of-field-values-only-once-re-post/222218)

<div class="topic-metadata">

**Author:** [@kaushik.vankayala](https://discuss.elastic.co/u/kaushik.vankayala)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 7:33am UTC](https://discuss.elastic.co/t/get-all-docs-with-the-occurrence-of-field-values-only-once-re-post/222218 "2020-03-05T07:33:54Z")

</div>

Hi Team, I am looking for support on resolving an issue faced in the below post; I was unable to resolve it based on the solution provided. Can anyone please help out with a plausible solution? Regards Kaushik

---

## [Unable to start Elasticsearch 7.4.2 as service while installing with zip file in centos](https://discuss.elastic.co/t/unable-to-start-elasticsearch-7-4-2-as-service-while-installing-with-zip-file-in-centos/222052)

<div class="topic-metadata">

**Author:** [@abhishek1](https://discuss.elastic.co/u/abhishek1)\
**Replies:** 7\
**Last updated:** [March 5, 2020, 7:32am UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-7-4-2-as-service-while-installing-with-zip-file-in-centos/222052 "2020-03-05T07:32:19Z")

</div>

Hello, I am not able to start elastic search 7.4.2 as service while using elastic search-7.4.2.zip file in centos. Process of instalaltion: Step1 : download zip file Step 2: Extract in folder Step3 : Create service …

---

## [Issue in building elasticsearch 7 from source](https://discuss.elastic.co/t/issue-in-building-elasticsearch-7-from-source/221628)

<div class="topic-metadata">

**Author:** [@chaitra\_hegde](https://discuss.elastic.co/u/chaitra_hegde)\
**Replies:** 8\
**Last updated:** [March 5, 2020, 7:28am UTC](https://discuss.elastic.co/t/issue-in-building-elasticsearch-7-from-source/221628 "2020-03-05T07:28:43Z")

</div>

Hi, I am building Elasticsearch 7.0.1 from source using gradle. I have installed jdk-11 for the same. But I am facing the below issue. 05:42:13.524 \[ERROR\] \[org.gradle.internal.buildevents.BuildExceptionReporter\] \> …

---

## [Search template : unable to close post\_Type](https://discuss.elastic.co/t/search-template-unable-to-close-post-type/222212)

<div class="topic-metadata">

**Author:** [@Jeremy\_Gachet](https://discuss.elastic.co/u/Jeremy_Gachet)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 7:15am UTC](https://discuss.elastic.co/t/search-template-unable-to-close-post-type/222212 "2020-03-05T07:15:41Z")

</div>

Hello everyone, I'm trying to add a conditional tag to my mustache script. Everything works well without it but as soon as I add it I got an error : Here is my script POST \_scripts/search-all-v2 { "script": { "…

---

## [Relationship between heap-size and shard-allocation - ES 7.0.x](https://discuss.elastic.co/t/relationship-between-heap-size-and-shard-allocation-es-7-0-x/221571)

<div class="topic-metadata">

**Author:** [@dinesh\_gnanasamy](https://discuss.elastic.co/u/dinesh_gnanasamy)\
**Replies:** 2\
**Last updated:** [March 5, 2020, 7:01am UTC](https://discuss.elastic.co/t/relationship-between-heap-size-and-shard-allocation-es-7-0-x/221571 "2020-03-05T07:01:27Z")

</div>

Hi, I am trying to size a production cluster based on dev-setup where I encountered Data too large .. \[transport\_request\] (CircuitBreakingException) on \[parent\] CircuitBreaker. Since retries are also exhausted, some sha…

---

## [Start learning ELK](https://discuss.elastic.co/t/start-learning-elk/222139)

<div class="topic-metadata">

**Author:** [@bharatchhajed](https://discuss.elastic.co/u/bharatchhajed)\
**Replies:** 2\
**Last updated:** [March 5, 2020, 6:37am UTC](https://discuss.elastic.co/t/start-learning-elk/222139 "2020-03-05T06:37:24Z")

</div>

Hi All, Can someone point me to the right direction to start learning ELK. I have gone through online and it looks like it is its is for older version. Any links might help Cheers!

---

## [Elasticsearch.YML Default configuration with host=10.0.0.1](https://discuss.elastic.co/t/elasticsearch-yml-default-configuration-with-host-10-0-0-1/221603)

<div class="topic-metadata">

**Author:** [@ted1621](https://discuss.elastic.co/u/ted1621)\
**Replies:** 2\
**Last updated:** [March 5, 2020, 5:08am UTC](https://discuss.elastic.co/t/elasticsearch-yml-default-configuration-with-host-10-0-0-1/221603 "2020-03-05T05:08:23Z")

</div>

Can someone give me a default configuration for the elasticsearch.yml where the elasticsearch host is 10.0.0.1. I have an ELK stack that works fine as long as the beats are coming from the same host that ELK is installe…

---

## [Watcher Threshold Script for Failed Logon Attempts](https://discuss.elastic.co/t/watcher-threshold-script-for-failed-logon-attempts/222195)

<div class="topic-metadata">

**Author:** [@ted1621](https://discuss.elastic.co/u/ted1621)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 4:35am UTC](https://discuss.elastic.co/t/watcher-threshold-script-for-failed-logon-attempts/222195 "2020-03-05T04:35:49Z")

</div>

Hi I am trying to get a watcher threshold alert set up. I would like to run the watch every 5 minutes, against the winlogbeat-\* index. I would like the alert to trigger when there are 10 failed logon attempts in 1 minu…

---

## [Filter aggregations](https://discuss.elastic.co/t/filter-aggregations/222191)

<div class="topic-metadata">

**Author:** [@dchintala](https://discuss.elastic.co/u/dchintala)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 3:00am UTC](https://discuss.elastic.co/t/filter-aggregations/222191 "2020-03-05T03:00:49Z")

</div>

"aggs": { "status": { "filters": { "filters": { "Prod1": { "query\_string": { "query": "tech-1" } }, "Prod2": { "query\_string": { "query": "tech-2" } "condition": { "script": { "source": "if (ctx.payload.ag…

---

## [How to properly upgrade ElasticSearch running as docker containers](https://discuss.elastic.co/t/how-to-properly-upgrade-elasticsearch-running-as-docker-containers/221711)

<div class="topic-metadata">

**Author:** [@LiangZugeng](https://discuss.elastic.co/u/LiangZugeng)\
**Replies:** 2\
**Last updated:** [March 5, 2020, 2:30am UTC](https://discuss.elastic.co/t/how-to-properly-upgrade-elasticsearch-running-as-docker-containers/221711 "2020-03-05T02:30:23Z")

</div>

We are new to ElasticSearch and are running ES 7.5.0 in our production as docker containers with an external volume holding ES data, now ES 7.6.0 is out and we wanted to upgrade our ES containers to 7.6.0, what is the su…

---

## [How to update multiple documents in ElasticSearch with conditions?](https://discuss.elastic.co/t/how-to-update-multiple-documents-in-elasticsearch-with-conditions/221387)

<div class="topic-metadata">

**Author:** [@ndhcoder](https://discuss.elastic.co/u/ndhcoder)\
**Replies:** 4\
**Last updated:** [March 5, 2020, 2:01am UTC](https://discuss.elastic.co/t/how-to-update-multiple-documents-in-elasticsearch-with-conditions/221387 "2020-03-05T02:01:53Z")

</div>

Hello, I'm a newbie in ElasticSearch, I have a problems, I want tagging documents stored in ElasticSearch with specific conditions, Ex: I want to add new attributes tags = "hight" for any document have height attribute…

---

## [Date\_histograms --\> date\_histograms?](https://discuss.elastic.co/t/date-histograms-date-histograms/222186)

<div class="topic-metadata">

**Author:** [@jweite](https://discuss.elastic.co/u/jweite)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 1:44am UTC](https://discuss.elastic.co/t/date-histograms-date-histograms/222186 "2020-03-05T01:44:14Z")

</div>

I'm facing a problem similar to this unanswered question: https://discuss.elastic.co/t/is-it-possible-to-create-a-date-histogram-from-the-output-of-a-date-histogram/75080 I have event records in an index. I want a 1-m…

---

## [Date Format in UTC](https://discuss.elastic.co/t/date-format-in-utc/222145)

<div class="topic-metadata">

**Author:** [@DanielCastro](https://discuss.elastic.co/u/DanielCastro)\
**Replies:** 1\
**Last updated:** [March 4, 2020, 11:14pm UTC](https://discuss.elastic.co/t/date-format-in-utc/222145 "2020-03-04T23:14:00Z")

</div>

Was wondering if there was a date format for the following 20200303064443000-0800

---

## [Turn off ES deprecation Logs Dynamically](https://discuss.elastic.co/t/turn-off-es-deprecation-logs-dynamically/221948)

<div class="topic-metadata">

**Author:** [@animageofmine](https://discuss.elastic.co/u/animageofmine)\
**Replies:** 5\
**Last updated:** [March 4, 2020, 10:53pm UTC](https://discuss.elastic.co/t/turn-off-es-deprecation-logs-dynamically/221948 "2020-03-04T22:53:43Z")

</div>

I know there is a way to turn off deprecation logs via static config as documented here: https://www.elastic.co/guide/en/elasticsearch/reference/6.7/logging.html#deprecation-logging However, I wasn't sure if there is a …

---

## [Multi Cloud Environment](https://discuss.elastic.co/t/multi-cloud-environment/222143)

<div class="topic-metadata">

**Author:** [@Reginato](https://discuss.elastic.co/u/Reginato)\
**Replies:** 3\
**Last updated:** [March 4, 2020, 9:50pm UTC](https://discuss.elastic.co/t/multi-cloud-environment/222143 "2020-03-04T21:50:30Z")

</div>

I have a multi-cloud environment (DB is on Oracle Cloud, Application servers are on AWS and Active Directoy is on AZURE). The ELK Stack server is installed on the IBM Cloud. In this scenario is it possible for ELK Stack …

---

## [How to use elasticsearch-js and serverless together](https://discuss.elastic.co/t/how-to-use-elasticsearch-js-and-serverless-together/222160)

<div class="topic-metadata">

**Author:** [@mlegault](https://discuss.elastic.co/u/mlegault)\
**Replies:** 0\
**Last updated:** [March 4, 2020, 9:06pm UTC](https://discuss.elastic.co/t/how-to-use-elasticsearch-js-and-serverless-together/222160 "2020-03-04T21:06:51Z")

</div>

Hi ! I'm currently trying to use the sdk elasticsearch-js in a serverless environment (aws) and I was wondering if it was a good idea to initialize a new client everytime a lambda is called. Our application is also mult…

---

## [AzureRepositoryPlugin - Not accepting secret key](https://discuss.elastic.co/t/azurerepositoryplugin-not-accepting-secret-key/222155)

<div class="topic-metadata">

**Author:** [@markh12](https://discuss.elastic.co/u/markh12)\
**Replies:** 0\
**Last updated:** [March 4, 2020, 8:32pm UTC](https://discuss.elastic.co/t/azurerepositoryplugin-not-accepting-secret-key/222155 "2020-03-04T20:32:53Z")

</div>

I'm having an odd issue. I'm currently working to have our our elasticsearch index snapshot indices to Azure for backup purposes. I have this working in our development and pre-production environments but our producti…

---

## [Benchmarking on ElasticSearch's Basic Operation like inserts , deletes](https://discuss.elastic.co/t/benchmarking-on-elasticsearchs-basic-operation-like-inserts-deletes/222067)

<div class="topic-metadata">

**Author:** [@Vikram\_Pancholi](https://discuss.elastic.co/u/Vikram_Pancholi)\
**Replies:** 0\
**Last updated:** [March 4, 2020, 11:58am UTC](https://discuss.elastic.co/t/benchmarking-on-elasticsearchs-basic-operation-like-inserts-deletes/222067 "2020-03-04T11:58:17Z")

</div>

Hi, I was looking for benchmarks done against ElasticSearch for base operations like Inserts , Deletes , Search plotted against parameters such as data size , document size , record counts with some variations like CPU ,…

---

## [Data lose while using scroll](https://discuss.elastic.co/t/data-lose-while-using-scroll/222147)

<div class="topic-metadata">

**Author:** [@niraj\_pandey](https://discuss.elastic.co/u/niraj_pandey)\
**Replies:** 0\
**Last updated:** [March 4, 2020, 7:27pm UTC](https://discuss.elastic.co/t/data-lose-while-using-scroll/222147 "2020-03-04T19:27:34Z")

</div>

Hi I see some data lose while using scroll. I am using the following inside python script. Without using scroll it showing the correct number of documents but with scroll I am getting less number of documents. Any ide…

---

## [FScrawler not parsing jpg in PDF](https://discuss.elastic.co/t/fscrawler-not-parsing-jpg-in-pdf/221975)

<div class="topic-metadata">

**Author:** [@freesinger](https://discuss.elastic.co/u/freesinger)\
**Replies:** 7\
**Last updated:** [March 4, 2020, 5:16pm UTC](https://discuss.elastic.co/t/fscrawler-not-parsing-jpg-in-pdf/221975 "2020-03-04T17:16:27Z")

</div>

Hi,@dadoonet I'm using fscrawler to index my stuff into ES and I find that fscrawler can't parse jpg in PDF though pdf\_strategy: "ocr\_and\_text" has been set. My settings on ocr are listed below: ocr: language: "e…

---

## [Elasticsearch 5.3: Indexing child document winds up on different shard than parent](https://discuss.elastic.co/t/elasticsearch-5-3-indexing-child-document-winds-up-on-different-shard-than-parent/222127)

<div class="topic-metadata">

**Author:** [@BarryS](https://discuss.elastic.co/u/BarryS)\
**Replies:** 0\
**Last updated:** [March 4, 2020, 5:08pm UTC](https://discuss.elastic.co/t/elasticsearch-5-3-indexing-child-document-winds-up-on-different-shard-than-parent/222127 "2020-03-04T17:08:14Z")

</div>

Elasticsearch 5.3 indexing issue: Children sometimes wind up on different shards than their parent after indexing. This prevents the use of hasChild and hasParent queries against the index. The index (myindex\_v001) cont…

---

## [Zentity resolution leads to maxClauseCount queries](https://discuss.elastic.co/t/zentity-resolution-leads-to-maxclausecount-queries/221463)

<div class="topic-metadata">

**Author:** [@erewok](https://discuss.elastic.co/u/erewok)\
**Replies:** 4\
**Last updated:** [March 4, 2020, 4:55pm UTC](https://discuss.elastic.co/t/zentity-resolution-leads-to-maxclausecount-queries/221463 "2020-03-04T16:55:49Z")

</div>

Hello, I started experimenting with the zentity plugin yesterday in order to see if we can use it to solve some of our entity resolution problems (instead of building our own custom software to do the same). I find tha…

---

## [Fuzzy query that is making me crazy](https://discuss.elastic.co/t/fuzzy-query-that-is-making-me-crazy/222120)

<div class="topic-metadata">

**Author:** [@goyocasero](https://discuss.elastic.co/u/goyocasero)\
**Replies:** 0\
**Last updated:** [March 4, 2020, 4:39pm UTC](https://discuss.elastic.co/t/fuzzy-query-that-is-making-me-crazy/222120 "2020-03-04T16:39:09Z")

</div>

Hi all. A fuzzy query is making me crazy. It returns me some result that I could understand but it doesn't return some other that, for me, are more similar than the ones it returns. This is the query: "query":{ "…

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

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