# Elasticsearch

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

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

**Page:** 1224

---

## [Elasticsearch users in Amazon ES deployment](https://discuss.elastic.co/t/elasticsearch-users-in-amazon-es-deployment/191082)

<div class="topic-metadata">

**Author:** [@Bloomfield](https://discuss.elastic.co/u/Bloomfield)\
**Replies:** 3\
**Last updated:** [July 17, 2019, 8:26pm UTC](https://discuss.elastic.co/t/elasticsearch-users-in-amazon-es-deployment/191082 "2019-07-17T20:26:12Z")

</div>

Hello, I am new to Elastic and AWS. I want to add Elasticsearch users so that I can restrict index access between users. When I read the resources for securing Elastic search. It prompts me to edit the yml files. Howev…

---

## [Reindex and unique identification](https://discuss.elastic.co/t/reindex-and-unique-identification/191076)

<div class="topic-metadata">

**Author:** [@xyz2](https://discuss.elastic.co/u/xyz2)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 7:43pm UTC](https://discuss.elastic.co/t/reindex-and-unique-identification/191076 "2019-07-17T19:43:36Z")

</div>

Hi, Had a question about reindexing. I executed these steps Create a new index Reindex to the new index Did wait for 2nd step to complete then started adding more documents to the new index through logstash In logsta…

---

## [How to use bulk api for reindexing](https://discuss.elastic.co/t/how-to-use-bulk-api-for-reindexing/191043)

<div class="topic-metadata">

**Author:** [@zatom](https://discuss.elastic.co/u/zatom)\
**Replies:** 1\
**Last updated:** [July 17, 2019, 7:18pm UTC](https://discuss.elastic.co/t/how-to-use-bulk-api-for-reindexing/191043 "2019-07-17T19:18:59Z")

</div>

Hi, I am currently using the reindex api like this: POST \_reindex?scroll=60m&timeout=60m { "source":{ "index": "source\_index" }, "dest": { "index": "destination\_index" } } . Is this bulk indexing? If not How ca…

---

## [Does ES require telnet be installed?](https://discuss.elastic.co/t/does-es-require-telnet-be-installed/191029)

<div class="topic-metadata">

**Author:** [@Phillip\_Stivason](https://discuss.elastic.co/u/Phillip_Stivason)\
**Replies:** 9\
**Last updated:** [July 17, 2019, 6:43pm UTC](https://discuss.elastic.co/t/does-es-require-telnet-be-installed/191029 "2019-07-17T18:43:26Z")

</div>

I see telnet mentioned in many posts. Telnet is not installed by default here... do i need it? Can ssh be used instead?

---

## [PUT ILM Policy immediately return "acknowledged": false](https://discuss.elastic.co/t/put-ilm-policy-immediately-return-acknowledged-false/190885)

<div class="topic-metadata">

**Author:** [@tami](https://discuss.elastic.co/u/tami)\
**Replies:** 2\
**Last updated:** [July 17, 2019, 6:42pm UTC](https://discuss.elastic.co/t/put-ilm-policy-immediately-return-acknowledged-false/190885 "2019-07-17T18:42:18Z")

</div>

We are using elasticsearch 6.7.2 deployed on k8s with a configuration of 3 master, 4 data, 2 client nodes. When setting some ILM Policies, I am seeing that it is immediately returning with "acknowledged": false. My und…

---

## [Managing Indices in Elasticsearch 7.0](https://discuss.elastic.co/t/managing-indices-in-elasticsearch-7-0/190614)

<div class="topic-metadata">

**Author:** [@dandago](https://discuss.elastic.co/u/dandago)\
**Replies:** 4\
**Last updated:** [July 17, 2019, 5:34pm UTC](https://discuss.elastic.co/t/managing-indices-in-elasticsearch-7-0/190614 "2019-07-17T17:34:38Z")

</div>

With all the new features in Elasticsearch 7.0 (such as Index Lifecycle Management), what are the recommended best practices for managing indices? What has stayed the same since prior to 7.0, and what new recommendation…

---

## [Enable Security with zero downtime](https://discuss.elastic.co/t/enable-security-with-zero-downtime/190844)

<div class="topic-metadata">

**Author:** [@P\_Gong](https://discuss.elastic.co/u/P_Gong)\
**Replies:** 3\
**Last updated:** [July 17, 2019, 4:21pm UTC](https://discuss.elastic.co/t/enable-security-with-zero-downtime/190844 "2019-07-17T16:21:38Z")

</div>

We already have an ES cluster running WITHOUT authentication and TLS. We are trying to enable the security feature. Is it possible to achieve this with zero down time? Two aspects of the problem: Cluster internal com…

---

## [From postgres to elastic for my website, which is running on php5.6](https://discuss.elastic.co/t/from-postgres-to-elastic-for-my-website-which-is-running-on-php5-6/191052)

<div class="topic-metadata">

**Author:** [@shosek](https://discuss.elastic.co/u/shosek)\
**Replies:** 1\
**Last updated:** [July 17, 2019, 4:06pm UTC](https://discuss.elastic.co/t/from-postgres-to-elastic-for-my-website-which-is-running-on-php5-6/191052 "2019-07-17T16:06:34Z")

</div>

Hello, is possible (or good idea) transition from postgresql to elastic for my website, which is running with php 5.6? Or Is there a way to have postgres database and use elastic only for searching products in my shop (…

---

## [Why isn't POST showing up in Kibana Discover tab?](https://discuss.elastic.co/t/why-isnt-post-showing-up-in-kibana-discover-tab/191034)

<div class="topic-metadata">

**Author:** [@samuelburnett](https://discuss.elastic.co/u/samuelburnett)\
**Replies:** 8\
**Last updated:** [July 17, 2019, 3:57pm UTC](https://discuss.elastic.co/t/why-isnt-post-showing-up-in-kibana-discover-tab/191034 "2019-07-17T15:57:51Z")

</div>

I am using the Developer Console in Kibana to add a document to my index. This is the command: POST my\_index/\_doc/test02?op\_type=create { "user": "USERTEST055" } I was wondering why this isn't showing up in the di…

---

## [Lucene query runs slower after upgrade from ES 5.4 to 6.2](https://discuss.elastic.co/t/lucene-query-runs-slower-after-upgrade-from-es-5-4-to-6-2/191053)

<div class="topic-metadata">

**Author:** [@SMAWarsi](https://discuss.elastic.co/u/SMAWarsi)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 3:53pm UTC](https://discuss.elastic.co/t/lucene-query-runs-slower-after-upgrade-from-es-5-4-to-6-2/191053 "2019-07-17T15:53:46Z")

</div>

After upgrade from ElasticSearch 5.4 to 6.2, we have noticed severe performance degradation in queries we ran from Kibana. The same query which executed faster with 5.4 runs slower after upgrade in ES 6.2. Kibana 5.6.5 …

---

## [Transaction pricing](https://discuss.elastic.co/t/transaction-pricing/191001)

<div class="topic-metadata">

**Author:** [@penchal](https://discuss.elastic.co/u/penchal)\
**Replies:** 8\
**Last updated:** [July 17, 2019, 3:22pm UTC](https://discuss.elastic.co/t/transaction-pricing/191001 "2019-07-17T15:22:48Z")

</div>

Hello , I have configured logs on Kibana . We are getting 576,191 hits . Please let us know the hist pricing per day or month .

---

## [Google GCP Audit Logs Mapping Issue](https://discuss.elastic.co/t/google-gcp-audit-logs-mapping-issue/190819)

<div class="topic-metadata">

**Author:** [@daniel\_a](https://discuss.elastic.co/u/daniel_a)\
**Replies:** 1\
**Last updated:** [July 17, 2019, 3:21pm UTC](https://discuss.elastic.co/t/google-gcp-audit-logs-mapping-issue/190819 "2019-07-17T15:21:09Z")

</div>

I've been trying to fix a dynamic mapping for the GCP audit logs (Google Cloud), and I can't figure out a way to fix the mapping schema. The problem is related to "Object in arrays are not well supported" for a specific …

---

## [How to deploy elastic on k8s to avoid join validation on cluster state with a different cluster uuid error](https://discuss.elastic.co/t/how-to-deploy-elastic-on-k8s-to-avoid-join-validation-on-cluster-state-with-a-different-cluster-uuid-error/190850)

<div class="topic-metadata">

**Author:** [@yuecong](https://discuss.elastic.co/u/yuecong)\
**Replies:** 8\
**Last updated:** [July 17, 2019, 2:38pm UTC](https://discuss.elastic.co/t/how-to-deploy-elastic-on-k8s-to-avoid-join-validation-on-cluster-state-with-a-different-cluster-uuid-error/190850 "2019-07-17T14:38:09Z")

</div>

I am trying to deploy elastic stack on top of k8s with 2 client nodes, 3 master nodes and 3 data nodes. And all of them are configured on a different node now. For the 2 client nodes. I am using k8s deployment, and for …

---

## [Checking the ack state of a watch without doing an API call](https://discuss.elastic.co/t/checking-the-ack-state-of-a-watch-without-doing-an-api-call/190310)

<div class="topic-metadata">

**Author:** [@samuelburnett](https://discuss.elastic.co/u/samuelburnett)\
**Replies:** 4\
**Last updated:** [July 17, 2019, 2:31pm UTC](https://discuss.elastic.co/t/checking-the-ack-state-of-a-watch-without-doing-an-api-call/190310 "2019-07-17T14:31:46Z")

</div>

Is there a way to check, within the watch itself, the ack state of an action without doing an API call? And if so, can you manually change that field within the watch without using the API call?

---

## [Response 400 while using Scroll API with Python - scroll\_id too long](https://discuss.elastic.co/t/response-400-while-using-scroll-api-with-python-scroll-id-too-long/191028)

<div class="topic-metadata">

**Author:** [@benecrom](https://discuss.elastic.co/u/benecrom)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 2:31pm UTC](https://discuss.elastic.co/t/response-400-while-using-scroll-api-with-python-scroll-id-too-long/191028 "2019-07-17T14:31:18Z")

</div>

Hi all, I'm trying to leverage on the scroll API from my python application. My python code looks like this: es = Elasticsearch(\[{'host': 'elastic', 'port': '9999'}\]) data = es.search(index = "index\*", body = …

---

## [How to calculate similarity between files, while i just index their url and metadata](https://discuss.elastic.co/t/how-to-calculate-similarity-between-files-while-i-just-index-their-url-and-metadata/189728)

<div class="topic-metadata">

**Author:** [@FeizNouri](https://discuss.elastic.co/u/FeizNouri)\
**Replies:** 14\
**Last updated:** [July 17, 2019, 2:13pm UTC](https://discuss.elastic.co/t/how-to-calculate-similarity-between-files-while-i-just-index-their-url-and-metadata/189728 "2019-07-17T14:13:51Z")

</div>

Hi, I'm using FSCrawler to index files to ES, nice solution BTW, but I don't want to index the content so I just index metadata and the URL, so far so good, and my final goal is to calculate the similarity between these…

---

## [Elasticsearch Keystore creation for curator snapshot](https://discuss.elastic.co/t/elasticsearch-keystore-creation-for-curator-snapshot/190759)

<div class="topic-metadata">

**Author:** [@Jayabal\_K](https://discuss.elastic.co/u/Jayabal_K)\
**Replies:** 2\
**Last updated:** [July 17, 2019, 2:01pm UTC](https://discuss.elastic.co/t/elasticsearch-keystore-creation-for-curator-snapshot/190759 "2019-07-17T14:01:55Z")

</div>

I have multi node elastic-search cluster (1 master, 5 datanode), I need to take snapshot of indices and store in gcs bucket. As per the documentation, we need to add client service key into the elasticsearch-keystore (bi…

---

## [Generate a UUID in Painless](https://discuss.elastic.co/t/generate-a-uuid-in-painless/191017)

<div class="topic-metadata">

**Author:** [@fluffierbump](https://discuss.elastic.co/u/fluffierbump)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 1:50pm UTC](https://discuss.elastic.co/t/generate-a-uuid-in-painless/191017 "2019-07-17T13:50:39Z")

</div>

Use case: I need to generate a UUID in a watcher transform script to use in an API call which creates an event on another system with a UUID, which I can also write to an ES doc so that I can link the events in the other…

---

## [Unable to use nested query on elastic search 7.2.0](https://discuss.elastic.co/t/unable-to-use-nested-query-on-elastic-search-7-2-0/191007)

<div class="topic-metadata">

**Author:** [@jimy\_page](https://discuss.elastic.co/u/jimy_page)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 1:29pm UTC](https://discuss.elastic.co/t/unable-to-use-nested-query-on-elastic-search-7-2-0/191007 "2019-07-17T13:29:53Z")

</div>

Hi I Just started using Elastic search and need to come up with a solution for nested queries. I was going through an older post but unable to get the nested query right. Let's say I have document which has user arrays…

---

## [Is there any default available synonyms support for a given language that can be turned on? So that if I don't have any specific replacement rules defined it will work just for that language?](https://discuss.elastic.co/t/is-there-any-default-available-synonyms-support-for-a-given-language-that-can-be-turned-on-so-that-if-i-dont-have-any-specific-replacement-rules-defined-it-will-work-just-for-that-language/188929)

<div class="topic-metadata">

**Author:** [@liuxiao](https://discuss.elastic.co/u/liuxiao)\
**Replies:** 2\
**Last updated:** [July 17, 2019, 1:10pm UTC](https://discuss.elastic.co/t/is-there-any-default-available-synonyms-support-for-a-given-language-that-can-be-turned-on-so-that-if-i-dont-have-any-specific-replacement-rules-defined-it-will-work-just-for-that-language/188929 "2019-07-17T13:10:56Z")

</div>

Hi, Is there any default available synonyms support for a given language that can be turned on? So that if I don't have any specific replacement rules defined it will work just for that language? I've learned how to us…

---

## [Unable to create hdfs repository for elastic snapshot creation](https://discuss.elastic.co/t/unable-to-create-hdfs-repository-for-elastic-snapshot-creation/190992)

<div class="topic-metadata">

**Author:** [@raja\_augstin](https://discuss.elastic.co/u/raja_augstin)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 12:58pm UTC](https://discuss.elastic.co/t/unable-to-create-hdfs-repository-for-elastic-snapshot-creation/190992 "2019-07-17T12:58:00Z")

</div>

I wants to store the elastic index into hdfs. And I'm using following version elastic version: 5.6.3 snapshot : 2.8.1 when we use following command to create hdfs type repository we facing error. can someone help on t…

---

## [Is there a description / note field available for mappings?](https://discuss.elastic.co/t/is-there-a-description-note-field-available-for-mappings/190838)

<div class="topic-metadata">

**Author:** [@Jason\_Baumgartner](https://discuss.elastic.co/u/Jason_Baumgartner)\
**Replies:** 1\
**Last updated:** [July 17, 2019, 12:45pm UTC](https://discuss.elastic.co/t/is-there-a-description-note-field-available-for-mappings/190838 "2019-07-17T12:45:33Z")

</div>

I find it very helpful to sometimes have a short description or note for certain fields within a mapping file. I checked the documentation but could not find such a field. Perhaps I overlooked it, but is there a "descrip…

---

## [Download Elastic Stack](https://discuss.elastic.co/t/download-elastic-stack/190977)

<div class="topic-metadata">

**Author:** [@anuraglal](https://discuss.elastic.co/u/anuraglal)\
**Replies:** 3\
**Last updated:** [July 17, 2019, 12:27pm UTC](https://discuss.elastic.co/t/download-elastic-stack/190977 "2019-07-17T12:27:54Z")

</div>

I want to download Elastic Search,Logstash and Kibana as a single software ,do we have any package to install the same OR these 3 are different software's altogether after installation ?

---

## [Elasticsearch query shows more count than it has](https://discuss.elastic.co/t/elasticsearch-query-shows-more-count-than-it-has/190897)

<div class="topic-metadata">

**Author:** [@Ahmet\_Kartal](https://discuss.elastic.co/u/Ahmet_Kartal)\
**Replies:** 9\
**Last updated:** [July 17, 2019, 12:06pm UTC](https://discuss.elastic.co/t/elasticsearch-query-shows-more-count-than-it-has/190897 "2019-07-17T12:06:28Z")

</div>

In one of my field I have "xr" data and "xra","xrb","xrc" separetely. When I make query of the count of "xr" it says I have 4 data. But I expect from elasticsearch to say 1. What do I need to change?

---

## [Realtime Sync MySQL Database to elasticsearch](https://discuss.elastic.co/t/realtime-sync-mysql-database-to-elasticsearch/190971)

<div class="topic-metadata">

**Author:** [@Sandeep\_Bind](https://discuss.elastic.co/u/Sandeep_Bind)\
**Replies:** 2\
**Last updated:** [July 17, 2019, 12:02pm UTC](https://discuss.elastic.co/t/realtime-sync-mysql-database-to-elasticsearch/190971 "2019-07-17T12:02:16Z")

</div>

Hello Everyone, I am new to this stack, I have a requirement where i want to sync every data for my MySQL database with the elastic search. Any CRUD operations like Insert, Update or Delete in my database. It should up…

---

## [Ternary operator: returning default values for missing document values](https://discuss.elastic.co/t/ternary-operator-returning-default-values-for-missing-document-values/188019)

<div class="topic-metadata">

**Author:** [@todvora](https://discuss.elastic.co/u/todvora)\
**Replies:** 2\
**Last updated:** [July 17, 2019, 11:43am UTC](https://discuss.elastic.co/t/ternary-operator-returning-default-values-for-missing-document-values/188019 "2019-07-17T11:43:33Z")

</div>

Hi, I have troubles to execute the following painless script (used inside a FunctionScoreQuery): 1200 \* Math.pow((doc.containsKey(params.population\_key) ? doc\[params.population\_key\].value : 0), 0.05) The params.popula…

---

## [I am using elasticsearch 6.5 and i want to have cluster node 6](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648)

<div class="topic-metadata">

**Author:** [@Ayush\_Verma](https://discuss.elastic.co/u/Ayush_Verma)\
**Replies:** 10\
**Last updated:** [July 17, 2019, 11:16am UTC](https://discuss.elastic.co/t/i-am-using-elasticsearch-6-5-and-i-want-to-have-cluster-node-6/190648 "2019-07-17T11:16:53Z")

</div>

I am working on elasticsearch 6.5 and i don't know much about it , so my task is to add cluster node , i guess initially number of node is 1 right? if i am right then please tell me how can i make it up to 6, i already r…

---

## [NEST don't apply attribute mapping](https://discuss.elastic.co/t/nest-dont-apply-attribute-mapping/190934)

<div class="topic-metadata">

**Author:** [@dsonjohn404](https://discuss.elastic.co/u/dsonjohn404)\
**Replies:** 1\
**Last updated:** [July 17, 2019, 10:51am UTC](https://discuss.elastic.co/t/nest-dont-apply-attribute-mapping/190934 "2019-07-17T10:51:30Z")

</div>

Hi, I use nest 7.0.0 and asp.net core 2.2. i want to create indxe from poco class. in elasticsearch index create but without any mapping. create index method is : public async Task CreateIndex() { try { var getInde…

---

## [How find intersections with a circle, that have 2 different radius](https://discuss.elastic.co/t/how-find-intersections-with-a-circle-that-have-2-different-radius/190873)

<div class="topic-metadata">

**Author:** [@Aday\_igibaev](https://discuss.elastic.co/u/Aday_igibaev)\
**Replies:** 1\
**Last updated:** [July 17, 2019, 10:45am UTC](https://discuss.elastic.co/t/how-find-intersections-with-a-circle-that-have-2-different-radius/190873 "2019-07-17T10:45:26Z")

</div>

I have this document (the structure of document can be changed) "id" : "1", "location" : { "type" : "geometrycollection", "geometries" : \[ { "type" : "cir…

---

## [Node sizes](https://discuss.elastic.co/t/node-sizes/190827)

<div class="topic-metadata">

**Author:** [@sah](https://discuss.elastic.co/u/sah)\
**Replies:** 1\
**Last updated:** [July 17, 2019, 10:45am UTC](https://discuss.elastic.co/t/node-sizes/190827 "2019-07-17T10:45:15Z")

</div>

I have three nodes, but would it matter if one node was bigger than the other two? Yesterday most of our nodes hit 99% so I increased the CPU of one the nodes, and was wondering if that bad practice?

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

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