# Elasticsearch

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

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

**Page:** 394

---

## [Elastic Upgrade: 6.60 to 7.14, can I keep the index with old mapping?](https://discuss.elastic.co/t/elastic-upgrade-6-60-to-7-14-can-i-keep-the-index-with-old-mapping/311520)

<div class="topic-metadata">

**Author:** [@iyan](https://discuss.elastic.co/u/iyan)\
**Replies:** 5\
**Last updated:** [August 9, 2022, 9:09am UTC](https://discuss.elastic.co/t/elastic-upgrade-6-60-to-7-14-can-i-keep-the-index-with-old-mapping/311520 "2022-08-09T09:09:19Z")

</div>

I have the task to upgrade our elastic from 6.60 to 7.14. According to Upgrade to Elasticsearch 7.x | Elasticsearch Service Documentation | Elastic the 6.x indices are compatible with 7.x. Elasticsearch 7.x is compatib…

---

## [Sum by quantity and sort by lowest price](https://discuss.elastic.co/t/sum-by-quantity-and-sort-by-lowest-price/311242)

<div class="topic-metadata">

**Author:** [@brampurnot](https://discuss.elastic.co/u/brampurnot)\
**Replies:** 4\
**Last updated:** [August 9, 2022, 6:55am UTC](https://discuss.elastic.co/t/sum-by-quantity-and-sort-by-lowest-price/311242 "2022-08-09T06:55:12Z")

</div>

I have a requirement in Elasticsearch which I'm not able to implement at the moment. The use case is as follows; we have certain products uploaded in elastic (1 million + items) and each item has a quantity, a price and …

---

## [Why we have to generate Token for node?](https://discuss.elastic.co/t/why-we-have-to-generate-token-for-node/311615)

<div class="topic-metadata">

**Author:** [@hellocomputer](https://discuss.elastic.co/u/hellocomputer)\
**Replies:** 1\
**Last updated:** [August 9, 2022, 3:20am UTC](https://discuss.elastic.co/t/why-we-have-to-generate-token-for-node/311615 "2022-08-09T03:20:11Z")

</div>

Hello I installed Elasticsearch and set security for https setting. I used ubuntu 20.04 version. Elasticsearch 8.3.2 version Then, --\> this page, we have to make token for node. "bin/elasticsearch-create-enrollm…

---

## [Complex aggregations on multiple indices alias](https://discuss.elastic.co/t/complex-aggregations-on-multiple-indices-alias/310912)

<div class="topic-metadata">

**Author:** [@shreedhan](https://discuss.elastic.co/u/shreedhan)\
**Replies:** 1\
**Last updated:** [August 9, 2022, 12:30am UTC](https://discuss.elastic.co/t/complex-aggregations-on-multiple-indices-alias/310912 "2022-08-09T00:30:59Z")

</div>

Hi, If we create multiple indices under an alias and run query aggregations like stats aggregation, how does Elasticsearch compute metrics like Standard deviation? Will the accuracy of these types of metrics be lower th…

---

## [How to send xml and csv data from postman to elasticsearch or logstash](https://discuss.elastic.co/t/how-to-send-xml-and-csv-data-from-postman-to-elasticsearch-or-logstash/311635)

<div class="topic-metadata">

**Author:** [@gopikrish](https://discuss.elastic.co/u/gopikrish)\
**Replies:** 1\
**Last updated:** [August 9, 2022, 12:12am UTC](https://discuss.elastic.co/t/how-to-send-xml-and-csv-data-from-postman-to-elasticsearch-or-logstash/311635 "2022-08-09T00:12:41Z")

</div>

Hi, Im new to Elasticsearch all I want to know how to send XML and CSV data to elasticsearch or logstash through postman and how to mapping and configuration for this type of data .can anyone please explain me. THANKS …

---

## [Can an Elasticsearch cluster have nodes running different Linux distributions?](https://discuss.elastic.co/t/can-an-elasticsearch-cluster-have-nodes-running-different-linux-distributions/311466)

<div class="topic-metadata">

**Author:** [@ankh](https://discuss.elastic.co/u/ankh)\
**Replies:** 2\
**Last updated:** [August 9, 2022, 12:03am UTC](https://discuss.elastic.co/t/can-an-elasticsearch-cluster-have-nodes-running-different-linux-distributions/311466 "2022-08-09T00:03:18Z")

</div>

We are moving from a Red Hat-based distro to a Debian one (Ubuntu). Looking at options for converting our Elasticsearch cluster over. One option would be rolling upgrades to convert each node to Ubuntu, one at a time, wi…

---

## [ILM policy in logstash is not working](https://discuss.elastic.co/t/ilm-policy-in-logstash-is-not-working/311486)

<div class="topic-metadata">

**Author:** [@Ankit\_Grover](https://discuss.elastic.co/u/Ankit_Grover)\
**Replies:** 1\
**Last updated:** [August 9, 2022, 12:02am UTC](https://discuss.elastic.co/t/ilm-policy-in-logstash-is-not-working/311486 "2022-08-09T00:02:08Z")

</div>

Hi there My logstash ILM policy is not working, it does not roll over to the new index can please someone help me ? Can someone please provide me instruction to setup ILM policy in logstash to rollover ? Thanks

---

## [ES Java Bulk Timeout Error](https://discuss.elastic.co/t/es-java-bulk-timeout-error/311533)

<div class="topic-metadata">

**Author:** [@Sriram\_R](https://discuss.elastic.co/u/Sriram_R)\
**Replies:** 1\
**Last updated:** [August 8, 2022, 11:59pm UTC](https://discuss.elastic.co/t/es-java-bulk-timeout-error/311533 "2022-08-08T23:59:59Z")

</div>

I'm trying to index docs in bulk for some reason I keep getting a timeout exception. However when I try to index a single document, it works perfectly. Here's the code for indexing a single document Reader reader = new…

---

## [Integration error of Power BI with Elasticsearch](https://discuss.elastic.co/t/integration-error-of-power-bi-with-elasticsearch/311673)

<div class="topic-metadata">

**Author:** [@ibrahim.hamza](https://discuss.elastic.co/u/ibrahim.hamza)\
**Replies:** 0\
**Last updated:** [August 8, 2022, 8:34pm UTC](https://discuss.elastic.co/t/integration-error-of-power-bi-with-elasticsearch/311673 "2022-08-08T20:34:35Z")

</div>

Dears, Kindly need your help regarding the error below which happens when I integrate Power BI with Elasticsearch Details: "ODBC: ERROR \[HY000\] \[Elastic\]\[EsODBC 6.8.23(v6.8.21-3-g0e334a6+,u,r) Driver\]invalid\_index\_name…

---

## [Simple query "match" relevance](https://discuss.elastic.co/t/simple-query-match-relevance/311655)

<div class="topic-metadata">

**Author:** [@Guillaume\_R](https://discuss.elastic.co/u/Guillaume_R)\
**Replies:** 1\
**Last updated:** [August 8, 2022, 4:50pm UTC](https://discuss.elastic.co/t/simple-query-match-relevance/311655 "2022-08-08T16:50:46Z")

</div>

Hi all, I'm a bit surprised with the result of the query (see the code below) I would expect the doc 4 to be first ... but this is the 1, 2, 5,6,3,4 If anyone can help. Thanks a lot DELETE shop PUT shop { "setting…

---

## [Elasticsearch 8.3.3 localhost:9200 not working](https://discuss.elastic.co/t/elasticsearch-8-3-3-localhost-9200-not-working/311613)

<div class="topic-metadata">

**Author:** [@Kay\_Yes](https://discuss.elastic.co/u/Kay_Yes)\
**Replies:** 14\
**Last updated:** [August 8, 2022, 3:49pm UTC](https://discuss.elastic.co/t/elasticsearch-8-3-3-localhost-9200-not-working/311613 "2022-08-08T15:49:32Z")

</div>

Hello Elasticsearch experts, I followed the installation procedure given by a few videos on youtube. I have downloaded elasticsearch 8.3.3. I installed JDK 17.0.4 I added the bin folder of jdk to my PATH: C:\\Program…

---

## [Preselect filter during user search by text](https://discuss.elastic.co/t/preselect-filter-during-user-search-by-text/311648)

<div class="topic-metadata">

**Author:** [@Guillaume\_R](https://discuss.elastic.co/u/Guillaume_R)\
**Replies:** 0\
**Last updated:** [August 8, 2022, 1:04pm UTC](https://discuss.elastic.co/t/preselect-filter-during-user-search-by-text/311648 "2022-08-08T13:04:41Z")

</div>

Hi all, I would like to know how to achieve this feature on e-commerce website : the user types "t-shirt woman red" for example. In the result, when I display the filter (using aggregation) I would like to "check" the c…

---

## [Increased log retention for set of logs within an index](https://discuss.elastic.co/t/increased-log-retention-for-set-of-logs-within-an-index/311640)

<div class="topic-metadata">

**Author:** [@jsherne1](https://discuss.elastic.co/u/jsherne1)\
**Replies:** 3\
**Last updated:** [August 8, 2022, 12:38pm UTC](https://discuss.elastic.co/t/increased-log-retention-for-set-of-logs-within-an-index/311640 "2022-08-08T12:38:55Z")

</div>

Hi, is it possible to store logs within an index a greater period of time than other logs in the index? Scenario: Fleuntd collects container logs and stores them in an 'application' index in Elasticsearch The applicat…

---

## [\[Elasticsearch 8.3\] Problem with the SSL encryption in the master node](https://discuss.elastic.co/t/elasticsearch-8-3-problem-with-the-ssl-encryption-in-the-master-node/311499)

<div class="topic-metadata">

**Author:** [@Medel](https://discuss.elastic.co/u/Medel)\
**Replies:** 3\
**Last updated:** [August 8, 2022, 11:37am UTC](https://discuss.elastic.co/t/elasticsearch-8-3-problem-with-the-ssl-encryption-in-the-master-node/311499 "2022-08-08T11:37:47Z")

</div>

Hello , I'm trying to configure a cluster of 3 nodes with SSL enabled, I first created the master node, then I managed to add the other 2 nodes with the enrollment token. The issue is when I try to query the master nod…

---

## [Opensearch transform splitting array values to new events](https://discuss.elastic.co/t/opensearch-transform-splitting-array-values-to-new-events/311575)

<div class="topic-metadata">

**Author:** [@Akshay\_Kulkarni](https://discuss.elastic.co/u/Akshay_Kulkarni)\
**Replies:** 6\
**Last updated:** [August 8, 2022, 11:33am UTC](https://discuss.elastic.co/t/opensearch-transform-splitting-array-values-to-new-events/311575 "2022-08-08T11:33:47Z")

</div>

Hi, I'm transforming following event. But the values inside of array are splitting into the new events. { "\_index": "heal\_collated\_txn\_health\_2022.05", "\_type": "\_doc", "\_id": "LAUpboIBh6C…

---

## [Node shutdown itself. How to find out why](https://discuss.elastic.co/t/node-shutdown-itself-how-to-find-out-why/311622)

<div class="topic-metadata">

**Author:** [@defalt](https://discuss.elastic.co/u/defalt)\
**Replies:** 4\
**Last updated:** [August 8, 2022, 8:07am UTC](https://discuss.elastic.co/t/node-shutdown-itself-how-to-find-out-why/311622 "2022-08-08T08:07:07Z")

</div>

Hello, as the title suggests our test node shutdown itself. We came back from the weekend and the service was stopped. I searched through the logs but did not really find out any reason. The log just ends abruptly. I ch…

---

## [Password saved by default android Browser](https://discuss.elastic.co/t/password-saved-by-default-android-browser/311626)

<div class="topic-metadata">

**Author:** [@soumyarani0317](https://discuss.elastic.co/u/soumyarani0317)\
**Replies:** 1\
**Last updated:** [August 8, 2022, 7:55am UTC](https://discuss.elastic.co/t/password-saved-by-default-android-browser/311626 "2022-08-08T07:55:02Z")

</div>

When I study about default browser in android, I see the password that saved by it does't encrypt. Is it security threat? Is there any way to an android application that reads these password and abused them (with respect…

---

## [Can i use jvm11 version for elasticsearch 8.3.2 version?](https://discuss.elastic.co/t/can-i-use-jvm11-version-for-elasticsearch-8-3-2-version/311616)

<div class="topic-metadata">

**Author:** [@hellocomputer](https://discuss.elastic.co/u/hellocomputer)\
**Replies:** 2\
**Last updated:** [August 8, 2022, 2:34am UTC](https://discuss.elastic.co/t/can-i-use-jvm11-version-for-elasticsearch-8-3-2-version/311616 "2022-08-08T02:34:12Z")

</div>

Can i use jvm11 version for elasticsearch 8.3.2 version? i used ubuntu 20.04 version.

---

## [How setup cluster on two different vps](https://discuss.elastic.co/t/how-setup-cluster-on-two-different-vps/311516)

<div class="topic-metadata">

**Author:** [@Himan\_Yukubov](https://discuss.elastic.co/u/Himan_Yukubov)\
**Replies:** 1\
**Last updated:** [August 8, 2022, 12:55am UTC](https://discuss.elastic.co/t/how-setup-cluster-on-two-different-vps/311516 "2022-08-08T00:55:05Z")

</div>

I have vps\_master and vps\_node. When i try setup cluster - its show on vps\_node skipping cluster bootstrapping as local node does not match What's wrong in my config? version: '3.9' services: master: image: ela…

---

## [ElasticSearch location in a docker](https://discuss.elastic.co/t/elasticsearch-location-in-a-docker/311572)

<div class="topic-metadata">

**Author:** [@Boodle](https://discuss.elastic.co/u/Boodle)\
**Replies:** 1\
**Last updated:** [August 7, 2022, 11:19pm UTC](https://discuss.elastic.co/t/elasticsearch-location-in-a-docker/311572 "2022-08-07T23:19:59Z")

</div>

It's a basic question but is /var/lib/docker/containers/ \<xxxxxx\<-json.log files\> the only location for elasticsearch logs installed on a docker? Also, How can i see the logs in kibana. Filebeat is not yet setup

---

## [Regexp is ignored in must\_not clause](https://discuss.elastic.co/t/regexp-is-ignored-in-must-not-clause/311544)

<div class="topic-metadata">

**Author:** [@ahoffskov](https://discuss.elastic.co/u/ahoffskov)\
**Replies:** 0\
**Last updated:** [August 5, 2022, 1:46pm UTC](https://discuss.elastic.co/t/regexp-is-ignored-in-must-not-clause/311544 "2022-08-05T13:46:42Z")

</div>

I'm trying to exclude a log-entry from showing up in my hits, but it is necessary to use regular expression (expensive is allowed in configuration). The log entry follows the pattern: message:Aug 2 05:01:14 \<hostname\> \<…

---

## [Distinct records with geo\_distance sort on aggregation ES](https://discuss.elastic.co/t/distinct-records-with-geo-distance-sort-on-aggregation-es/311606)

<div class="topic-metadata">

**Author:** [@ZulQ](https://discuss.elastic.co/u/ZulQ)\
**Replies:** 0\
**Last updated:** [August 7, 2022, 4:31pm UTC](https://discuss.elastic.co/t/distinct-records-with-geo-distance-sort-on-aggregation-es/311606 "2022-08-07T16:31:49Z")

</div>

I'm working on nearby API using elasticsearch. I'm trying to run 4 actions in ES query match condition (here running a script to get records within radius) get distinct records based on company's Key (want to get one …

---

## [How to get file names of my Snapshot using curl?](https://discuss.elastic.co/t/how-to-get-file-names-of-my-snapshot-using-curl/310874)

<div class="topic-metadata">

**Author:** [@wonderland14](https://discuss.elastic.co/u/wonderland14)\
**Replies:** 2\
**Last updated:** [August 7, 2022, 2:09pm UTC](https://discuss.elastic.co/t/how-to-get-file-names-of-my-snapshot-using-curl/310874 "2022-08-07T14:09:14Z")

</div>

Hi Elasticsearch Team! Just wondering if we do have a command to get the list of our snapshot file names using curl? Scenario: I used the step provided for snapshot and restore " Restore a snapshot | Elasticsearch Gui…

---

## [Manage\_index\_templates privilege not work in component\_template api](https://discuss.elastic.co/t/manage-index-templates-privilege-not-work-in-component-template-api/311029)

<div class="topic-metadata">

**Author:** [@Bryce\_Huang](https://discuss.elastic.co/u/Bryce_Huang)\
**Replies:** 1\
**Last updated:** [August 6, 2022, 3:18pm UTC](https://discuss.elastic.co/t/manage-index-templates-privilege-not-work-in-component-template-api/311029 "2022-08-06T15:18:09Z")

</div>

I give a test role manage\_index\_templates privilege, but it still can't put component template.kibana return 403 permission forbidden. In https://www.elastic.co/guide/en/elasticsearch/reference/7.17/indices-component-te…

---

## [Elasticsearch not forming a cluster in kubernetes](https://discuss.elastic.co/t/elasticsearch-not-forming-a-cluster-in-kubernetes/311463)

<div class="topic-metadata">

**Author:** [@willsc](https://discuss.elastic.co/u/willsc)\
**Replies:** 1\
**Last updated:** [August 6, 2022, 8:29am UTC](https://discuss.elastic.co/t/elasticsearch-not-forming-a-cluster-in-kubernetes/311463 "2022-08-06T08:29:53Z")

</div>

Can anyone assist with trying to work out why an es cluster doesnt discover it nodes in kubernetes. Currently deploying 7.17.4 in an rke2 cluster, that claims to have no network policy. Elastic is being deployed as a s…

---

## [Subfield query not returning any data](https://discuss.elastic.co/t/subfield-query-not-returning-any-data/311561)

<div class="topic-metadata">

**Author:** [@Baerswords](https://discuss.elastic.co/u/Baerswords)\
**Replies:** 4\
**Last updated:** [August 5, 2022, 6:44pm UTC](https://discuss.elastic.co/t/subfield-query-not-returning-any-data/311561 "2022-08-05T18:44:21Z")

</div>

New to Elasticsearch, so please bear with me if this is a simple question that I should know. I have an index with fairly simple documents. When I try to query against anything in AppDataDict, though, I don't ever get …

---

## [Elasticsearch 8.3 intermittent snapshot issues with AWS S3 on EKS](https://discuss.elastic.co/t/elasticsearch-8-3-intermittent-snapshot-issues-with-aws-s3-on-eks/311566)

<div class="topic-metadata">

**Author:** [@cannoli](https://discuss.elastic.co/u/cannoli)\
**Replies:** 0\
**Last updated:** [August 5, 2022, 6:08pm UTC](https://discuss.elastic.co/t/elasticsearch-8-3-intermittent-snapshot-issues-with-aws-s3-on-eks/311566 "2022-08-05T18:08:38Z")

</div>

Hello, I'm having difficulties with snapshotting with S3 on AWS. After an undetermined amount of ES snapshots to AWS S3 fail with an access denied error. The only resolution appears to be to restart all data and master …

---

## [Do data streams require rollover\_alias setting](https://discuss.elastic.co/t/do-data-streams-require-rollover-alias-setting/311437)

<div class="topic-metadata">

**Author:** [@djkprojects](https://discuss.elastic.co/u/djkprojects)\
**Replies:** 3\
**Last updated:** [August 5, 2022, 3:21pm UTC](https://discuss.elastic.co/t/do-data-streams-require-rollover-alias-setting/311437 "2022-08-05T15:21:43Z")

</div>

Whilst setting up a new heartbeat-8.3.2 I've noticed that the automatically created template has only index.lifecycle.name setting but not the rollover\_alias. Does that mean it's not required when using data streams? The…

---

## [Elastic search machine learning/ pattern recognition version 7.10.2](https://discuss.elastic.co/t/elastic-search-machine-learning-pattern-recognition-version-7-10-2/311202)

<div class="topic-metadata">

**Author:** [@zain.jutt](https://discuss.elastic.co/u/zain.jutt)\
**Replies:** 5\
**Last updated:** [August 5, 2022, 3:12pm UTC](https://discuss.elastic.co/t/elastic-search-machine-learning-pattern-recognition-version-7-10-2/311202 "2022-08-05T15:12:14Z")

</div>

Hi, I have a question to find the root cause of a failed test. In 1st step, we have centralized the data in the Elasticsearch(7.10.2) index which contains the test id and the message(log event). For the failed tests to …

---

## [FsCrawler add script to \_settings.yaml file](https://discuss.elastic.co/t/fscrawler-add-script-to-settings-yaml-file/311524)

<div class="topic-metadata">

**Author:** [@Julien70](https://discuss.elastic.co/u/Julien70)\
**Replies:** 2\
**Last updated:** [August 5, 2022, 3:05pm UTC](https://discuss.elastic.co/t/fscrawler-add-script-to-settings-yaml-file/311524 "2022-08-05T15:05:06Z")

</div>

Hi everyone, I have a lot of geotagged photos (among other geodata). I have imported them into Elastic (v7.11) with FsCrawler (v2.9 for es7). It's working pretty well. But, the fields "latitude" "longitude" taken from…

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

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