# Elasticsearch

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

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

**Page:** 1673

---

## [Error in using dynamic mapping: Elasticsearch 6.2](https://discuss.elastic.co/t/error-in-using-dynamic-mapping-elasticsearch-6-2/133699)

<div class="topic-metadata">

**Author:** [@aditya7](https://discuss.elastic.co/u/aditya7)\
**Replies:** 2\
**Last updated:** [May 30, 2018, 6:47am UTC](https://discuss.elastic.co/t/error-in-using-dynamic-mapping-elasticsearch-6-2/133699 "2018-05-30T06:47:55Z")

</div>

I have upgraded to Elasticsearch 6.2 from 5.0. I am facing challenges in dynamic template. Template I have uploaded to ES is: curl -XPOST localhost:9200/\_template/mytemplate -H 'Content-Type: application/json' -d' { …

---

## [Snapshot - and Delete Indice](https://discuss.elastic.co/t/snapshot-and-delete-indice/133786)

<div class="topic-metadata">

**Author:** [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)\
**Replies:** 1\
**Last updated:** [May 30, 2018, 6:46am UTC](https://discuss.elastic.co/t/snapshot-and-delete-indice/133786 "2018-05-30T06:46:38Z")

</div>

What will happen to a in\_progress snapshot if a indice participating in the snapshot gets removed using DELETE Assuming that there are multiple indices participate in snapshot, and a heavy sized data, which is spread a…

---

## [Could not Perform aggregations :illegal\_argument\_exception](https://discuss.elastic.co/t/could-not-perform-aggregations-illegal-argument-exception/133792)

<div class="topic-metadata">

**Author:** [@Eswar\_123](https://discuss.elastic.co/u/Eswar_123)\
**Replies:** 4\
**Last updated:** [May 30, 2018, 6:21am UTC](https://discuss.elastic.co/t/could-not-perform-aggregations-illegal-argument-exception/133792 "2018-05-30T06:21:29Z")

</div>

I created an index megacorp. PUT 3 documents in it through kibana console. eg.. PUT /megacorp/employee/2 { "first\_name" : "Jane", "last\_name" : "Smith", "age" : 32, "about" : "I like to collect ro…

---

## [Running Elastic as Wrong user](https://discuss.elastic.co/t/running-elastic-as-wrong-user/133156)

<div class="topic-metadata">

**Author:** [@tchoum](https://discuss.elastic.co/u/tchoum)\
**Replies:** 2\
**Last updated:** [May 30, 2018, 5:53am UTC](https://discuss.elastic.co/t/running-elastic-as-wrong-user/133156 "2018-05-30T05:53:55Z")

</div>

Hello, I have following message when running ElasticSearch through supervisorD program : \[1\]: max file descriptors \[4096\] for elasticsearch process is too low, increase to at least \[65536\] Therefore Elastic cannot star…

---

## [Elastic try to insert document in unassigned shard](https://discuss.elastic.co/t/elastic-try-to-insert-document-in-unassigned-shard/133710)

<div class="topic-metadata">

**Author:** [@chelawatankit](https://discuss.elastic.co/u/chelawatankit)\
**Replies:** 7\
**Last updated:** [May 30, 2018, 5:36am UTC](https://discuss.elastic.co/t/elastic-try-to-insert-document-in-unassigned-shard/133710 "2018-05-30T05:36:06Z")

</div>

Hi, I created an index with number of shard : 3 & number of replica : 0 and inserted some documents in it. After some time one of my node is down and cluster health goes to RED. Now I again insert some documents in inde…

---

## [Wildcard failed under query\_string](https://discuss.elastic.co/t/wildcard-failed-under-query-string/133781)

<div class="topic-metadata">

**Author:** [@qqdb75](https://discuss.elastic.co/u/qqdb75)\
**Replies:** 1\
**Last updated:** [May 30, 2018, 5:05am UTC](https://discuss.elastic.co/t/wildcard-failed-under-query-string/133781 "2018-05-30T05:05:35Z")

</div>

i want to query es like this: curl -H 'Content-Type: application/json' -XGET 'http://172.19.1.252:9200/logstash-apache\_access2018-05\*/\_search?pretty&ignore\_unavailable=true&size=0' -d '{ "aggs": { "counts": { "terms…

---

## [How to debug RandomizedTestingTask](https://discuss.elastic.co/t/how-to-debug-randomizedtestingtask/133483)

<div class="topic-metadata">

**Author:** [@pnuzyf](https://discuss.elastic.co/u/pnuzyf)\
**Replies:** 1\
**Last updated:** [May 30, 2018, 4:03am UTC](https://discuss.elastic.co/t/how-to-debug-randomizedtestingtask/133483 "2018-05-30T04:03:54Z")

</div>

Hi, I want to debug the learning to rank plugin. All the unit tests are RandomizedTestingTask, how can I debug these unit tests with breakpoints?

---

## [Parsing Exception during Percentile Calculation](https://discuss.elastic.co/t/parsing-exception-during-percentile-calculation/133775)

<div class="topic-metadata">

**Author:** [@Varun\_Somani](https://discuss.elastic.co/u/Varun_Somani)\
**Replies:** 0\
**Last updated:** [May 30, 2018, 2:51am UTC](https://discuss.elastic.co/t/parsing-exception-during-percentile-calculation/133775 "2018-05-30T02:51:53Z")

</div>

Seeing Parsing Exception when trying to calculate percentile across various fields, Any idea what can be done here? Document: { "county" : "Santa Clara", "city": "San Jose", "date" : 123432342342, "user" : { …

---

## [Change default installation path](https://discuss.elastic.co/t/change-default-installation-path/133685)

<div class="topic-metadata">

**Author:** [@keeshqs](https://discuss.elastic.co/u/keeshqs)\
**Replies:** 1\
**Last updated:** [May 30, 2018, 1:34am UTC](https://discuss.elastic.co/t/change-default-installation-path/133685 "2018-05-30T01:34:45Z")

</div>

Hi All, I have installed ELK application using the .rpm installer - by default, the home directory goes to /usr/share (which is a directory under our /root filesystem). We have allocated a separate filesystem for elasti…

---

## [Snapshot not getting started](https://discuss.elastic.co/t/snapshot-not-getting-started/133055)

<div class="topic-metadata">

**Author:** [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)\
**Replies:** 1\
**Last updated:** [May 29, 2018, 11:44pm UTC](https://discuss.elastic.co/t/snapshot-not-getting-started/133055 "2018-05-29T23:44:29Z")

</div>

It is more than 30 minutes, and I do not see any status on snapshot though the state says it is in progress { "snapshots": \[ { "snapshot": "es.all.indices.snapshot.2018.05.23.22.05", "uuid": "kxtb6drFS\_m-Gxf0D7GLkw"…

---

## [Manually create another warm node](https://discuss.elastic.co/t/manually-create-another-warm-node/133758)

<div class="topic-metadata">

**Author:** [@jherbst](https://discuss.elastic.co/u/jherbst)\
**Replies:** 5\
**Last updated:** [May 29, 2018, 10:36pm UTC](https://discuss.elastic.co/t/manually-create-another-warm-node/133758 "2018-05-29T22:36:52Z")

</div>

I have an elastic setup with the hot/warm architecture. The issue is that I have replica turned on to 1, but only 1 warm node, so there's no where to replicate to and shards are not being allocated to the warm node. Is…

---

## [Why elasticsearch gives different scores to identical documents](https://discuss.elastic.co/t/why-elasticsearch-gives-different-scores-to-identical-documents/133753)

<div class="topic-metadata">

**Author:** [@Saurav\_Prakash](https://discuss.elastic.co/u/Saurav_Prakash)\
**Replies:** 1\
**Last updated:** [May 29, 2018, 9:47pm UTC](https://discuss.elastic.co/t/why-elasticsearch-gives-different-scores-to-identical-documents/133753 "2018-05-29T21:47:31Z")

</div>

Hello. I was using an elastic search (rspec, rails) test with 5 documents. Each one has same name field as name "funny". I then ran the following query: GET /test\_videos/\_search { "explain": true, "query": { "bool"…

---

## [Exact match search on text field](https://discuss.elastic.co/t/exact-match-search-on-text-field/133754)

<div class="topic-metadata">

**Author:** [@iluvcode](https://discuss.elastic.co/u/iluvcode)\
**Replies:** 1\
**Last updated:** [May 29, 2018, 9:37pm UTC](https://discuss.elastic.co/t/exact-match-search-on-text-field/133754 "2018-05-29T21:37:01Z")

</div>

I have a text field (nodeText) with snowball analyzer and i would like to find the exact match on the node text field. for example: if nodeText field has "drum stick tape" document, searching on nodeText.custom field wi…

---

## [Elasticsearch indices suddenly much larger](https://discuss.elastic.co/t/elasticsearch-indices-suddenly-much-larger/130908)

<div class="topic-metadata">

**Author:** [@seanziee](https://discuss.elastic.co/u/seanziee)\
**Replies:** 4\
**Last updated:** [May 29, 2018, 9:24pm UTC](https://discuss.elastic.co/t/elasticsearch-indices-suddenly-much-larger/130908 "2018-05-29T21:24:59Z")

</div>

I'm trying to figure out why all of the sudden my index size has increase drastically. Nothing has changed about the type of document being imported and yet over the past 2 months, the index size is from 800mb to 1.4gb w…

---

## [Best way to update object inside array](https://discuss.elastic.co/t/best-way-to-update-object-inside-array/133755)

<div class="topic-metadata">

**Author:** [@Martin\_Blaustein](https://discuss.elastic.co/u/Martin_Blaustein)\
**Replies:** 0\
**Last updated:** [May 29, 2018, 8:54pm UTC](https://discuss.elastic.co/t/best-way-to-update-object-inside-array/133755 "2018-05-29T20:54:56Z")

</div>

Hi, I'm trying to update an object inside an { ... arrayKey: \[{ key1: value1, key2: value2 } \] ... } The objective is to change the value of key1. The only way I could find to do it, is to replace the entire ob…

---

## [Analy query performance](https://discuss.elastic.co/t/analy-query-performance/133750)

<div class="topic-metadata">

**Author:** [@Anca\_Turc](https://discuss.elastic.co/u/Anca_Turc)\
**Replies:** 0\
**Last updated:** [May 29, 2018, 8:22pm UTC](https://discuss.elastic.co/t/analy-query-performance/133750 "2018-05-29T20:22:20Z")

</div>

I am trying to analyze query performance when running multiple term queries, connected once throught "AND" and once throught "OR" For example if I have this 2 queries { "size": 0, "terminate\_after": 10000…

---

## [Or terms query](https://discuss.elastic.co/t/or-terms-query/133747)

<div class="topic-metadata">

**Author:** [@Illidan](https://discuss.elastic.co/u/Illidan)\
**Replies:** 0\
**Last updated:** [May 29, 2018, 7:56pm UTC](https://discuss.elastic.co/t/or-terms-query/133747 "2018-05-29T19:56:02Z")

</div>

I'm using NEST to build a dynamic query. I trying to do something like: "Get results having property 'DateDeleted' in date range {A} or in date range {B}." I was trying different approaches but something is wrong is …

---

## [Role Management](https://discuss.elastic.co/t/role-management/133393)

<div class="topic-metadata">

**Author:** [@Felipe\_Cembranelli](https://discuss.elastic.co/u/Felipe_Cembranelli)\
**Replies:** 3\
**Last updated:** [May 29, 2018, 7:18pm UTC](https://discuss.elastic.co/t/role-management/133393 "2018-05-29T19:18:33Z")

</div>

Is there any way to use Active Directory for authentication, however, continue to use the roles only inside ELK ? (without to map ELK roles with AD groups) Based on the documentation, it seems the default is to have the…

---

## [Interval search with .. (dots) like google](https://discuss.elastic.co/t/interval-search-with-dots-like-google/133715)

<div class="topic-metadata">

**Author:** [@aslamy1](https://discuss.elastic.co/u/aslamy1)\
**Replies:** 0\
**Last updated:** [May 29, 2018, 3:47pm UTC](https://discuss.elastic.co/t/interval-search-with-dots-like-google/133715 "2018-05-29T15:47:37Z")

</div>

Hi. Does Elasticsearch support interval search like google. Example: Use two full stops to search in a range of numbers, for example: I own 1..100 cats Will bring back results that encompass searches on “I own 1 cat…

---

## [Query array on each index](https://discuss.elastic.co/t/query-array-on-each-index/133737)

<div class="topic-metadata">

**Author:** [@Derrick](https://discuss.elastic.co/u/Derrick)\
**Replies:** 0\
**Last updated:** [May 29, 2018, 6:30pm UTC](https://discuss.elastic.co/t/query-array-on-each-index/133737 "2018-05-29T18:30:48Z")

</div>

Hi, I am facing a query issue, I want to query cashflow\[0\].amount=100, is it possible and how to do it? thanks { "trade": { "id": "1234", "cashflow": \[{ "type": "a", "amount": 100 }, { "type": "b", "amount…

---

## [Elasticsearch 6.2 - how to format date (epoch) field in yyyymm string in painless inline scripting](https://discuss.elastic.co/t/elasticsearch-6-2-how-to-format-date-epoch-field-in-yyyymm-string-in-painless-inline-scripting/133734)

<div class="topic-metadata">

**Author:** [@pungent](https://discuss.elastic.co/u/pungent)\
**Replies:** 0\
**Last updated:** [May 29, 2018, 6:22pm UTC](https://discuss.elastic.co/t/elasticsearch-6-2-how-to-format-date-epoch-field-in-yyyymm-string-in-painless-inline-scripting/133734 "2018-05-29T18:22:06Z")

</div>

In Elasticsearch 6.2, I have an index where there are two timestamp fields as follows: "start\_ts": { "type": "date", "format": "epoch\_second" }, "end\_ts": { "type": "date", "format": "epoch\_s…

---

## [Message: listener timeout after waiting for \[30000\] ms](https://discuss.elastic.co/t/message-listener-timeout-after-waiting-for-30000-ms/133733)

<div class="topic-metadata">

**Author:** [@NonameGK](https://discuss.elastic.co/u/NonameGK)\
**Replies:** 0\
**Last updated:** [May 29, 2018, 6:19pm UTC](https://discuss.elastic.co/t/message-listener-timeout-after-waiting-for-30000-ms/133733 "2018-05-29T18:19:45Z")

</div>

I am trying to implement simple CRUD operation on Elasticsearch using groovy and grails some time i am able to create an index and some time i am getting below mentioned exception that is time out, i have trying some ma…

---

## [Nested Query Does Not Return Data Correctly](https://discuss.elastic.co/t/nested-query-does-not-return-data-correctly/133727)

<div class="topic-metadata">

**Author:** [@TomTom](https://discuss.elastic.co/u/TomTom)\
**Replies:** 1\
**Last updated:** [May 29, 2018, 5:51pm UTC](https://discuss.elastic.co/t/nested-query-does-not-return-data-correctly/133727 "2018-05-29T17:51:14Z")

</div>

I'm doing a query on nested data and the results that should return do not appear in the results. Query example: { "query": { "bool": { "must": \[ { "term": { …

---

## [Help with ElasticSearch Bulk index api](https://discuss.elastic.co/t/help-with-elasticsearch-bulk-index-api/133022)

<div class="topic-metadata">

**Author:** [@lo\_ronk](https://discuss.elastic.co/u/lo_ronk)\
**Replies:** 2\
**Last updated:** [May 29, 2018, 4:14pm UTC](https://discuss.elastic.co/t/help-with-elasticsearch-bulk-index-api/133022 "2018-05-29T16:14:35Z")

</div>

Hello -- This may be an obvious fix so I apologize as I am very new to the Elastic Search platform but I am attempting to use the Elastic Search Bulk API to index some data but am running into issues. Please find what …

---

## [Timeouts when deleting a snapshot (without curator)](https://discuss.elastic.co/t/timeouts-when-deleting-a-snapshot-without-curator/133569)

<div class="topic-metadata">

**Author:** [@Mrep](https://discuss.elastic.co/u/Mrep)\
**Replies:** 4\
**Last updated:** [May 29, 2018, 4:09pm UTC](https://discuss.elastic.co/t/timeouts-when-deleting-a-snapshot-without-curator/133569 "2018-05-29T16:09:37Z")

</div>

Hi, I sometimes have timeout errors when deleting a snapshot using the API: { "statusCode": 504, "error": "Gateway Timeout", "message": "Client request timeout" } With curator, it's possible to expand the timeout...bu…

---

## [Kibana issue - Index Patterns: Please specify a default index pattern](https://discuss.elastic.co/t/kibana-issue-index-patterns-please-specify-a-default-index-pattern/133712)

<div class="topic-metadata">

**Author:** [@abhat](https://discuss.elastic.co/u/abhat)\
**Replies:** 1\
**Last updated:** [May 29, 2018, 3:51pm UTC](https://discuss.elastic.co/t/kibana-issue-index-patterns-please-specify-a-default-index-pattern/133712 "2018-05-29T15:51:36Z")

</div>

Hi Team, I have setup an ELK Stack and when I am trying to login I am seeing below message - \[image\] Used filebeat-\* but it is not showing up the save option \[image\] Any starting point I need to check. Kind Regards…

---

## [Elasticsearch Installation: gpg: no valid OpenPGP](https://discuss.elastic.co/t/elasticsearch-installation-gpg-no-valid-openpgp/133223)

<div class="topic-metadata">

**Author:** [@am159](https://discuss.elastic.co/u/am159)\
**Replies:** 5\
**Last updated:** [May 29, 2018, 3:25pm UTC](https://discuss.elastic.co/t/elasticsearch-installation-gpg-no-valid-openpgp/133223 "2018-05-29T15:25:05Z")

</div>

Hello All, When trying to install new instance of elasticsearch, I keep getting the below error message. $ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - gpg: no valid OpenPGP data …

---

## [Why integer 1 converted to 1.0 in a string field](https://discuss.elastic.co/t/why-integer-1-converted-to-1-0-in-a-string-field/132360)

<div class="topic-metadata">

**Author:** [@mingc](https://discuss.elastic.co/u/mingc)\
**Replies:** 3\
**Last updated:** [May 29, 2018, 3:21pm UTC](https://discuss.elastic.co/t/why-integer-1-converted-to-1-0-in-a-string-field/132360 "2018-05-29T15:21:25Z")

</div>

Hi all, This is my first post here, if I post at the wrong place, please let me know. Thank you. I have an index and one of its field is a string type. The field setting looks like below. GET /myindex/\_mappings "myfi…

---

## [Plugin:elasticsearch@6.2.4 - Status changed from yellow to red](https://discuss.elastic.co/t/plugin-elasticsearch-6-2-4-status-changed-from-yellow-to-red/132863)

<div class="topic-metadata">

**Author:** [@Rubens\_Zimbres](https://discuss.elastic.co/u/Rubens_Zimbres)\
**Replies:** 7\
**Last updated:** [May 29, 2018, 3:14pm UTC](https://discuss.elastic.co/t/plugin-elasticsearch-6-2-4-status-changed-from-yellow-to-red/132863 "2018-05-29T15:14:16Z")

</div>

I created a pipeline in AWS where Elasticsearch sends JSON data from AWS IoT to Kibana. I configured the kibana.yml file as follows: server.port: 5601 server.host: "localhost" elasticsearch.url: "https://search-domain…

---

## [How to send output in csv or excel format in watcher action using email](https://discuss.elastic.co/t/how-to-send-output-in-csv-or-excel-format-in-watcher-action-using-email/133515)

<div class="topic-metadata">

**Author:** [@addanuj](https://discuss.elastic.co/u/addanuj)\
**Replies:** 0\
**Last updated:** [May 28, 2018, 10:03am UTC](https://discuss.elastic.co/t/how-to-send-output-in-csv-or-excel-format-in-watcher-action-using-email/133515 "2018-05-28T10:03:43Z")

</div>

Hi All, I am using email action where i need to send the data in CSV or excel format, because i have thousands of rows in alert output. Please help me to achieve it.

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

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