# Elasticsearch

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

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

**Page:** 1635

---

## [Search nodes unable to communicate on 5.6.9](https://discuss.elastic.co/t/search-nodes-unable-to-communicate-on-5-6-9/138027)

<div class="topic-metadata">

**Author:** [@sss](https://discuss.elastic.co/u/sss)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 9:26pm UTC](https://discuss.elastic.co/t/search-nodes-unable-to-communicate-on-5-6-9/138027 "2018-06-29T21:26:40Z")

</div>

trying to form a cluster with 2 nodes on ES 5.6.9 on linux environment...the second node is not able to connect to the first one and fails with below exception. Attaching the debug logs of ES startup org.elasticsearch.t…

---

## [TSL Transport layer "valid certification path to requested target"](https://discuss.elastic.co/t/tsl-transport-layer-valid-certification-path-to-requested-target/137865)

<div class="topic-metadata">

**Author:** [@jordo1138](https://discuss.elastic.co/u/jordo1138)\
**Replies:** 4\
**Last updated:** [June 29, 2018, 9:06pm UTC](https://discuss.elastic.co/t/tsl-transport-layer-valid-certification-path-to-requested-target/137865 "2018-06-29T21:06:25Z")

</div>

There are many topics around transport layer tls and fixes etc but the issue I"m running into is on a 3 node cluster ES 6.3 where I have placed the my root ca cert, wild card cert and key in to the /etc/elasticsearch fol…

---

## [How to validate data is deleted using curator](https://discuss.elastic.co/t/how-to-validate-data-is-deleted-using-curator/137828)

<div class="topic-metadata">

**Author:** [@sandeepnarla22322](https://discuss.elastic.co/u/sandeepnarla22322)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 9:05pm UTC](https://discuss.elastic.co/t/how-to-validate-data-is-deleted-using-curator/137828 "2018-06-29T21:05:10Z")

</div>

Hello Team, I want to delete logs for 30 days and below is the actions.yml and I am using curator --config curator.yml actions.yml how to make sure that the data is deleted actions: 1: action: delete\_indices descr…

---

## [Curator moved my indexes, but where?](https://discuss.elastic.co/t/curator-moved-my-indexes-but-where/136866)

<div class="topic-metadata">

**Author:** [@victor.nilsson](https://discuss.elastic.co/u/victor.nilsson)\
**Replies:** 4\
**Last updated:** [June 29, 2018, 9:02pm UTC](https://discuss.elastic.co/t/curator-moved-my-indexes-but-where/136866 "2018-06-29T21:02:33Z")

</div>

Hi. In my cluster i have 5 nodes where 1 is a archive node which is meant to store indexes older than 7 days. So i followed along with the Hot/Warm architecture and modified it slightly so that i have two nodes which ar…

---

## [Why am i getting .keyword for my feilds in index pattern](https://discuss.elastic.co/t/why-am-i-getting-keyword-for-my-feilds-in-index-pattern/137983)

<div class="topic-metadata">

**Author:** [@vebabu](https://discuss.elastic.co/u/vebabu)\
**Replies:** 3\
**Last updated:** [June 29, 2018, 9:01pm UTC](https://discuss.elastic.co/t/why-am-i-getting-keyword-for-my-feilds-in-index-pattern/137983 "2018-06-29T21:01:45Z")

</div>

Hi All, I am new to kibana and i am trying to transfer my data from aws service to kibana. Once I receive the data from AWS and create a index patter i can see two fields created for every 1 filed of my original data. …

---

## [org.elasticsearch.ElasticsearchSecurityException: current license is non-compliant for \[security\]](https://discuss.elastic.co/t/org-elasticsearch-elasticsearchsecurityexception-current-license-is-non-compliant-for-security/138035)

<div class="topic-metadata">

**Author:** [@rajsolanki](https://discuss.elastic.co/u/rajsolanki)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 8:55pm UTC](https://discuss.elastic.co/t/org-elasticsearch-elasticsearchsecurityexception-current-license-is-non-compliant-for-security/138035 "2018-06-29T20:55:15Z")

</div>

My understanding is that with ES 6.3 Security x-pack is opensource and you can start using security x-pack with no license restriction. is that correct ? if so then i m getting following error \[2018-06-29T14:55:29,609\]\[…

---

## [Elasticsearch - Curator -Rollover+Aliasing - Is it expected?](https://discuss.elastic.co/t/elasticsearch-curator-rollover-aliasing-is-it-expected/137329)

<div class="topic-metadata">

**Author:** [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)\
**Replies:** 3\
**Last updated:** [June 29, 2018, 8:50pm UTC](https://discuss.elastic.co/t/elasticsearch-curator-rollover-aliasing-is-it-expected/137329 "2018-06-29T20:50:33Z")

</div>

Hi I'm using curator 5.5 for rollover. When I try to rollover on alias, it does rollover based on condition. To add additional alias to the new indice due to rollover, I used extra\_settings. Though the new indice is as…

---

## [What does "docCount" mean in the Explain API?](https://discuss.elastic.co/t/what-does-doccount-mean-in-the-explain-api/136915)

<div class="topic-metadata">

**Author:** [@Sang-gon\_Lee](https://discuss.elastic.co/u/Sang-gon_Lee)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 8:20pm UTC](https://discuss.elastic.co/t/what-does-doccount-mean-in-the-explain-api/136915 "2018-06-29T20:20:08Z")

</div>

This is a portion of the response that I got from sending an explain API: "\_explanation": { "value": 15.811229, "description": "sum of:", "details": \[ { "value": 1, "description": "ConstantScore(NormsFieldExi…

---

## [Using document \_id](https://discuss.elastic.co/t/using-document-id/137885)

<div class="topic-metadata">

**Author:** [@ybegus](https://discuss.elastic.co/u/ybegus)\
**Replies:** 9\
**Last updated:** [June 29, 2018, 8:01pm UTC](https://discuss.elastic.co/t/using-document-id/137885 "2018-06-29T20:01:51Z")

</div>

When I insert document to index Is it necessary to set valid \_id for this document? I know that this document will not be updated in an index.

---

## [Ingest node - json processor - ignore missing](https://discuss.elastic.co/t/ingest-node-json-processor-ignore-missing/138032)

<div class="topic-metadata">

**Author:** [@tallavi](https://discuss.elastic.co/u/tallavi)\
**Replies:** 0\
**Last updated:** [June 29, 2018, 7:44pm UTC](https://discuss.elastic.co/t/ingest-node-json-processor-ignore-missing/138032 "2018-06-29T19:44:53Z")

</div>

Hi all, I'm writing an ingest node to parse log lines as I get them from FileBeat. I have an optional json expression inside my log line. If I have this field, I want to parse the json string into an object. Also, I wou…

---

## [Failed to get node info for {#transport#-1}{52.43.xx.xxx}{52.43.xx.xxx:9243}, disconnecting](https://discuss.elastic.co/t/failed-to-get-node-info-for-transport-1-52-43-xx-xxx-52-43-xx-xxx-9243-disconnecting/136969)

<div class="topic-metadata">

**Author:** [@e0813e449f09f8d5fbe7](https://discuss.elastic.co/u/e0813e449f09f8d5fbe7)\
**Replies:** 5\
**Last updated:** [June 29, 2018, 7:37pm UTC](https://discuss.elastic.co/t/failed-to-get-node-info-for-transport-1-52-43-xx-xxx-52-43-xx-xxx-9243-disconnecting/136969 "2018-06-29T19:37:17Z")

</div>

Trying to connect to cloud elastic search, getting below error. \[\]\[generic\]\[T#2\]\] org.elasticsearch.client.transport : \[Jimaine Szardos\] failed to get node info for {#transport#-1}{52.43.xx.xxx}{52.43.xx.xxx:9243}, disc…

---

## [Elastic 6.3 problems with SSL Kibana connection](https://discuss.elastic.co/t/elastic-6-3-problems-with-ssl-kibana-connection/138024)

<div class="topic-metadata">

**Author:** [@Justin\_Wells](https://discuss.elastic.co/u/Justin_Wells)\
**Replies:** 2\
**Last updated:** [June 29, 2018, 6:35pm UTC](https://discuss.elastic.co/t/elastic-6-3-problems-with-ssl-kibana-connection/138024 "2018-06-29T18:35:31Z")

</div>

I am having difficulty with Kibana 6.3.0 connecting to Elasticsearch 6.3.0 via SSL. Setup is a single Elastic node in a dev environment with security enabled. Kibana is able to connect to the ELS node and get license in…

---

## [Cannot support regular expression style include/exclude settings as they can only be applied to string fields](https://discuss.elastic.co/t/cannot-support-regular-expression-style-include-exclude-settings-as-they-can-only-be-applied-to-string-fields/137863)

<div class="topic-metadata">

**Author:** [@Luis\_Alejandro\_Galan](https://discuss.elastic.co/u/Luis_Alejandro_Galan)\
**Replies:** 2\
**Last updated:** [June 29, 2018, 1:29pm UTC](https://discuss.elastic.co/t/cannot-support-regular-expression-style-include-exclude-settings-as-they-can-only-be-applied-to-string-fields/137863 "2018-06-29T13:29:07Z")

</div>

Hello, I am new to ELK stack and have gone through the basic installation using the following links: On my Management/Elasticsearch/Index Management in Kibana, i saw that my filebeat-\* indexes are both in "Yellow…

---

## [Custom Types For Music Collection For Best Practices](https://discuss.elastic.co/t/custom-types-for-music-collection-for-best-practices/137882)

<div class="topic-metadata">

**Author:** [@Darin\_Hensley](https://discuss.elastic.co/u/Darin_Hensley)\
**Replies:** 3\
**Last updated:** [June 29, 2018, 5:59pm UTC](https://discuss.elastic.co/t/custom-types-for-music-collection-for-best-practices/137882 "2018-06-29T17:59:27Z")

</div>

I am new to Elasticsearch(using v 6.3). I am creating a db for my mp3's. After reading https://www.elastic.co/guide/en/elasticsearch/reference/6.x/removal-of-types.html, I am trying to create a similar mapping for the b…

---

## [Painless Compile error](https://discuss.elastic.co/t/painless-compile-error/137847)

<div class="topic-metadata">

**Author:** [@RajiReddy](https://discuss.elastic.co/u/RajiReddy)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 5:22pm UTC](https://discuss.elastic.co/t/painless-compile-error/137847 "2018-06-29T17:22:41Z")

</div>

HI, I am trying to get particular value from object array using painless but getting compile errors as below. Error: Request to Elasticsearch failed: {"error":{"root\_cause":\[{"type":"script\_exception","reason":"compile …

---

## [Percent of users having 1, 2, 3, 4, 5+ orders](https://discuss.elastic.co/t/percent-of-users-having-1-2-3-4-5-orders/138013)

<div class="topic-metadata">

**Author:** [@Virgile\_Vivier](https://discuss.elastic.co/u/Virgile_Vivier)\
**Replies:** 0\
**Last updated:** [June 29, 2018, 5:09pm UTC](https://discuss.elastic.co/t/percent-of-users-having-1-2-3-4-5-orders/138013 "2018-06-29T17:09:33Z")

</div>

Hi all, I use Elasticsearch 5.5. Like said in subject, I'm looking to know how many percent of users have 1, 2, 3, 4, 5+ orders. Example: 50% of users having 1 order 10% of users having 2 orders 10% of users having…

---

## [Significant Terms Recommendations](https://discuss.elastic.co/t/significant-terms-recommendations/137964)

<div class="topic-metadata">

**Author:** [@bruno\_z](https://discuss.elastic.co/u/bruno_z)\
**Replies:** 6\
**Last updated:** [June 29, 2018, 4:13pm UTC](https://discuss.elastic.co/t/significant-terms-recommendations/137964 "2018-06-29T16:13:48Z")

</div>

I'm new to elasticsearch and Im developing product recommendation like 'People who bought this, also bought...' I have an index named "products" which I use for faceted filtering (prices, category, brand and so on...), …

---

## [Do I need to optimize document like this?](https://discuss.elastic.co/t/do-i-need-to-optimize-document-like-this/136520)

<div class="topic-metadata">

**Author:** [@plexcellmedia](https://discuss.elastic.co/u/plexcellmedia)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 3:09pm UTC](https://discuss.elastic.co/t/do-i-need-to-optimize-document-like-this/136520 "2018-06-29T15:09:21Z")

</div>

Hey! I was wondering, how does elastic search work in the background after document is indexed. Lets say I have billions of documents like this: { "user\_id": "1", "status": "enabled" } Would it make any difference …

---

## [Remove cluster setting](https://discuss.elastic.co/t/remove-cluster-setting/137781)

<div class="topic-metadata">

**Author:** [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Replies:** 2\
**Last updated:** [June 29, 2018, 2:50pm UTC](https://discuss.elastic.co/t/remove-cluster-setting/137781 "2018-06-29T14:50:36Z")

</div>

Hi All, I have a setting archived.indices.store.throttle.type which is not recognized anymore in 6.2.4 but I cannot seem to remove it.. I have tried: curl -H "Content-Type: application/json" -XPUT 'http://xxxxx:9200/\_…

---

## [How to get current date using painless langage](https://discuss.elastic.co/t/how-to-get-current-date-using-painless-langage/137820)

<div class="topic-metadata">

**Author:** [@lutundula\_jeanchris](https://discuss.elastic.co/u/lutundula_jeanchris)\
**Replies:** 2\
**Last updated:** [June 29, 2018, 2:37pm UTC](https://discuss.elastic.co/t/how-to-get-current-date-using-painless-langage/137820 "2018-06-29T14:37:21Z")

</div>

I just started coding in painless and i am looking for a way to get the current date , the current date - 1 day . i see so many functions and iam a bit lost , can someone help me . Thanks

---

## [Slow queries during users peak](https://discuss.elastic.co/t/slow-queries-during-users-peak/137127)

<div class="topic-metadata">

**Author:** [@Nerijus\_Oftas](https://discuss.elastic.co/u/Nerijus_Oftas)\
**Replies:** 8\
**Last updated:** [June 29, 2018, 2:42pm UTC](https://discuss.elastic.co/t/slow-queries-during-users-peak/137127 "2018-06-29T14:42:10Z")

</div>

Hi, We have project with a lot of users in website. All site information we store in elaticsearch in AWS i3.8xlarge.elasticsearch 8 instances. We have one index and in this index 7 types. Total documents count is 80mill…

---

## [Encrypting passwords in yml files](https://discuss.elastic.co/t/encrypting-passwords-in-yml-files/137369)

<div class="topic-metadata">

**Author:** [@akanshi](https://discuss.elastic.co/u/akanshi)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 2:36pm UTC](https://discuss.elastic.co/t/encrypting-passwords-in-yml-files/137369 "2018-06-29T14:36:56Z")

</div>

How can we encrypt following passwords in configuration files: elasticsearch/config/elasticsearch.yml - authenticate.password kibana-linux/config/kibana.yml- elasticsearch.password config/elastics…

---

## [Unknown filter type \[asciifolding\]](https://discuss.elastic.co/t/unknown-filter-type-asciifolding/137623)

<div class="topic-metadata">

**Author:** [@Daria](https://discuss.elastic.co/u/Daria)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 2:35pm UTC](https://discuss.elastic.co/t/unknown-filter-type-asciifolding/137623 "2018-06-29T14:35:08Z")

</div>

Hello, Mapping template contains custom analyzer that uses "asciifolding" filter and I have unit tests for this mapping. Everything worked fine before the update of Elasticsearch Test Framework version from 5.2.0 to 6.2…

---

## [Access Indexreader object in search context of an elastic search plugin](https://discuss.elastic.co/t/access-indexreader-object-in-search-context-of-an-elastic-search-plugin/137902)

<div class="topic-metadata">

**Author:** [@Hardik\_Dobariya](https://discuss.elastic.co/u/Hardik_Dobariya)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 2:32pm UTC](https://discuss.elastic.co/t/access-indexreader-object-in-search-context-of-an-elastic-search-plugin/137902 "2018-06-29T14:32:21Z")

</div>

I am new to Elasticsearch plugins and finding difficult on how to access Indexreader object in a plugin while performing the searching request of an index. I want something like this. A user performs the search request …

---

## [Indexing pdf file](https://discuss.elastic.co/t/indexing-pdf-file/137975)

<div class="topic-metadata">

**Author:** [@Suleyman\_Yalman](https://discuss.elastic.co/u/Suleyman_Yalman)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 2:27pm UTC](https://discuss.elastic.co/t/indexing-pdf-file/137975 "2018-06-29T14:27:46Z")

</div>

Hi . l want to index any pdf file and find it by word, which that word exist in the pdf file. how can index any pdf file and search it. please help Thanks

---

## [Primary and replica shard is very different](https://discuss.elastic.co/t/primary-and-replica-shard-is-very-different/137745)

<div class="topic-metadata">

**Author:** [@steadyeffort](https://discuss.elastic.co/u/steadyeffort)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 2:25pm UTC](https://discuss.elastic.co/t/primary-and-replica-shard-is-very-different/137745 "2018-06-29T14:25:44Z")

</div>

When I check shard size through /\_cat/shards, primary shard size and replica shard size is very different index shard prirep state docs store ip node result-search-ip-9 0 p STARTED …

---

## [Why is Elasticsearch network performance much slower than GRPC?](https://discuss.elastic.co/t/why-is-elasticsearch-network-performance-much-slower-than-grpc/137811)

<div class="topic-metadata">

**Author:** [@manioster](https://discuss.elastic.co/u/manioster)\
**Replies:** 2\
**Last updated:** [June 29, 2018, 2:23pm UTC](https://discuss.elastic.co/t/why-is-elasticsearch-network-performance-much-slower-than-grpc/137811 "2018-06-29T14:23:14Z")

</div>

Hi all, We set up an environment to evaluate Elasticsearch's network performance. We found that Elasticsearch's network performance is much slower than GRPC's. Here are the key results: QPS(Elastic) : 5,000 QPS(GRPC…

---

## [Search multiple values against multiple fields](https://discuss.elastic.co/t/search-multiple-values-against-multiple-fields/137980)

<div class="topic-metadata">

**Author:** [@reswob](https://discuss.elastic.co/u/reswob)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 2:16pm UTC](https://discuss.elastic.co/t/search-multiple-values-against-multiple-fields/137980 "2018-06-29T14:16:16Z")

</div>

ES 5.6.3 I've been googling this subject and I've seen some similar discussions, but I have not yet found the exact answer.... I know you can use a terms query to search multiple values against a single field and you c…

---

## [How to get date suggest using Completion Suggestor?](https://discuss.elastic.co/t/how-to-get-date-suggest-using-completion-suggestor/137925)

<div class="topic-metadata">

**Author:** [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 2:06pm UTC](https://discuss.elastic.co/t/how-to-get-date-suggest-using-completion-suggestor/137925 "2018-06-29T14:06:43Z")

</div>

I have problem like I need to get date suggest like if we have 01/09/1986 so we need to get appropriate results.

---

## [Why can't these entries load in Elasticsearch?](https://discuss.elastic.co/t/why-cant-these-entries-load-in-elasticsearch/137170)

<div class="topic-metadata">

**Author:** [@dbwest](https://discuss.elastic.co/u/dbwest)\
**Replies:** 2\
**Last updated:** [June 29, 2018, 1:34pm UTC](https://discuss.elastic.co/t/why-cant-these-entries-load-in-elasticsearch/137170 "2018-06-29T13:34:43Z")

</div>

Hello, I am loading some JSON data into the ELK stack using the bulk import. The entry in this gist works: The entry I'm trying to load in this json does not work: Please help me get the JSON in the second gist …

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

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