# Elasticsearch

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

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

**Page:** 879

---

## [Upgrade with docker](https://discuss.elastic.co/t/upgrade-with-docker/238689)

<div class="topic-metadata">

**Author:** [@Elastan](https://discuss.elastic.co/u/Elastan)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 10:11am UTC](https://discuss.elastic.co/t/upgrade-with-docker/238689 "2020-06-27T10:11:28Z")

</div>

Hello, Where I can find manual how to pefrom version upgrade when Elastic cluster running in Docker? Regards

---

## [Combine rank with different buckets](https://discuss.elastic.co/t/combine-rank-with-different-buckets/238886)

<div class="topic-metadata">

**Author:** [@remeo](https://discuss.elastic.co/u/remeo)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 4:55pm UTC](https://discuss.elastic.co/t/combine-rank-with-different-buckets/238886 "2020-06-26T16:55:24Z")

</div>

We are running a marketplace (with auctions and fixed price items). Since you have different type of search users and use cases (some search for precise items, others want some inspiration), we are thinking about this a…

---

## [Index not found exception](https://discuss.elastic.co/t/index-not-found-exception/238734)

<div class="topic-metadata">

**Author:** [@Mamta1](https://discuss.elastic.co/u/Mamta1)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 6:29am UTC](https://discuss.elastic.co/t/index-not-found-exception/238734 "2020-06-27T06:29:51Z")

</div>

Hi guys, Iam new to elasticsearch. I have indexed a small file. I get an error when i try to query it through an API as below: "{ "errors": \[ { "message": "index\_not\_found\_exception", "locations": \[ { "line": 2, …

---

## [API behaviors on index alias which points to several indices](https://discuss.elastic.co/t/api-behaviors-on-index-alias-which-points-to-several-indices/238922)

<div class="topic-metadata">

**Author:** [@lschmid](https://discuss.elastic.co/u/lschmid)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 5:37am UTC](https://discuss.elastic.co/t/api-behaviors-on-index-alias-which-points-to-several-indices/238922 "2020-06-27T05:37:40Z")

</div>

Hi, Say we have index1 and index2 which are associated with alias1. Index1 has data from 05/11/2020, and index2 has data from 5/12/2020. We start a \_scroll request to alias1 with the time range for data from 5/12/2020. …

---

## [GROUP BY with only one query](https://discuss.elastic.co/t/group-by-with-only-one-query/236411)

<div class="topic-metadata">

**Author:** [@fmisso](https://discuss.elastic.co/u/fmisso)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 4:38am UTC](https://discuss.elastic.co/t/group-by-with-only-one-query/236411 "2020-06-27T04:38:14Z")

</div>

Hello, I'm looking for a solution to do this : SELECT t.nom, t.latitude, l.longitude, r.MaxTime FROM ( SELECT name, MAX(time) as MaxTime FROM BusTable GROUP BY name ) r INNER JOIN BusTable t ON t.name…

---

## [Rolling-over with daily index using ILM policy](https://discuss.elastic.co/t/rolling-over-with-daily-index-using-ilm-policy/237586)

<div class="topic-metadata">

**Author:** [@Sachith\_Senarathne](https://discuss.elastic.co/u/Sachith_Senarathne)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 4:01am UTC](https://discuss.elastic.co/t/rolling-over-with-daily-index-using-ilm-policy/237586 "2020-06-27T04:01:26Z")

</div>

Hi We are in the process of creating an index template including ilm policy which has mentioned below. { "policy": { "phases": { "hot": { …

---

## [Reduce iops during reindexing](https://discuss.elastic.co/t/reduce-iops-during-reindexing/236086)

<div class="topic-metadata">

**Author:** [@magnalite](https://discuss.elastic.co/u/magnalite)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 3:42am UTC](https://discuss.elastic.co/t/reduce-iops-during-reindexing/236086 "2020-06-27T03:42:44Z")

</div>

At the moment my VMs get i/o throttled due to performing many i/o operations during reindexing but is nowhere near it's limit in terms of bandwidth. Is there any way I could reduce the number of i/o operations going to d…

---

## [Forcemerge?max\_num\_segments=1 is having any side affect to es engine](https://discuss.elastic.co/t/forcemerge-max-num-segments-1-is-having-any-side-affect-to-es-engine/236136)

<div class="topic-metadata">

**Author:** [@Dilip\_Kumar](https://discuss.elastic.co/u/Dilip_Kumar)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 3:26am UTC](https://discuss.elastic.co/t/forcemerge-max-num-segments-1-is-having-any-side-affect-to-es-engine/236136 "2020-06-27T03:26:21Z")

</div>

Hi, I have used curl -XPOST localhost:9200/myindex/\_forcemerge?max\_num\_segments=1 , after hit this API i have checked segments with this API curl localhost:9200/myindex/\_segments?pretty and find that segment is reduced …

---

## [Slow log format - How to read the log?](https://discuss.elastic.co/t/slow-log-format-how-to-read-the-log/238798)

<div class="topic-metadata">

**Author:** [@AClerk](https://discuss.elastic.co/u/AClerk)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 1:57am UTC](https://discuss.elastic.co/t/slow-log-format-how-to-read-the-log/238798 "2020-06-27T01:57:21Z")

</div>

Hi, I wanted to check queries run time. Enabled slowlog on the cluster. How can I know what query has been run? This is a sample from the log: { "type": "index\_search\_slowlog", "timestamp": "2020-06-26T16:38…

---

## [Public key protected PKCS12 not supported](https://discuss.elastic.co/t/public-key-protected-pkcs12-not-supported/238845)

<div class="topic-metadata">

**Author:** [@Yuy\_Heero](https://discuss.elastic.co/u/Yuy_Heero)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 1:37am UTC](https://discuss.elastic.co/t/public-key-protected-pkcs12-not-supported/238845 "2020-06-27T01:37:51Z")

</div>

I want to use winbeat with siem, so I config elasticsearch 7.8 with TLS/SSL. I create cert files with this instruction. https://www.elastic.co/guide/en/elasticsearch/reference/7.7/configuring-tls.html#configuring-tls …

---

## [I need help! elastic doesn't get my mapping](https://discuss.elastic.co/t/i-need-help-elastic-doesnt-get-my-mapping/238909)

<div class="topic-metadata">

**Author:** [@sina12](https://discuss.elastic.co/u/sina12)\
**Replies:** 1\
**Last updated:** [June 26, 2020, 11:47pm UTC](https://discuss.elastic.co/t/i-need-help-elastic-doesnt-get-my-mapping/238909 "2020-06-26T23:47:27Z")

</div>

Hi Guys! I am in trouble. I need to visualize my data but elastic search doesn't accept my mapping. I created this mapping but Kibana/Elastic always adds "filed" and "message" and puts all the data inside those elemen…

---

## [Monitoring Amazon EKS logs and metrics with the Elastic Stack](https://discuss.elastic.co/t/monitoring-amazon-eks-logs-and-metrics-with-the-elastic-stack/238916)

<div class="topic-metadata">

**Author:** [@CoyoteKG](https://discuss.elastic.co/u/CoyoteKG)\
**Replies:** 1\
**Last updated:** [June 26, 2020, 11:43pm UTC](https://discuss.elastic.co/t/monitoring-amazon-eks-logs-and-metrics-with-the-elastic-stack/238916 "2020-06-26T23:43:29Z")

</div>

Hello @Asjad\_Athick, I found this nice guide, and I would like to try it. But, is it possible to be done with AWS ELK service instead Elastic Cloud service?

---

## [/etc/init.d/elasticsearch: No such file or directory](https://discuss.elastic.co/t/etc-init-d-elasticsearch-no-such-file-or-directory/238908)

<div class="topic-metadata">

**Author:** [@Akira\_Kise](https://discuss.elastic.co/u/Akira_Kise)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 7:16pm UTC](https://discuss.elastic.co/t/etc-init-d-elasticsearch-no-such-file-or-directory/238908 "2020-06-26T19:16:10Z")

</div>

Please help! I'm so desperate in getting help because I don't know what else to do. I'm working on a server that already had elasticsearch installed. But then I downloaded an elasticsearch package with this command: w…

---

## [Aggregate from one doc table to select items from another](https://discuss.elastic.co/t/aggregate-from-one-doc-table-to-select-items-from-another/238902)

<div class="topic-metadata">

**Author:** [@CapitanRedBeard](https://discuss.elastic.co/u/CapitanRedBeard)\
**Replies:** 1\
**Last updated:** [June 26, 2020, 7:26pm UTC](https://discuss.elastic.co/t/aggregate-from-one-doc-table-to-select-items-from-another/238902 "2020-06-26T19:26:11Z")

</div>

Consider the following, I have a ratings and posts index. The ratings doc is structured like: { "postId": { "type": "text", "fields": { "keyword": { "t…

---

## [Transfer csv to elasticsearch from Python](https://discuss.elastic.co/t/transfer-csv-to-elasticsearch-from-python/238044)

<div class="topic-metadata">

**Author:** [@namali](https://discuss.elastic.co/u/namali)\
**Replies:** 4\
**Last updated:** [June 26, 2020, 4:19pm UTC](https://discuss.elastic.co/t/transfer-csv-to-elasticsearch-from-python/238044 "2020-06-26T16:19:28Z")

</div>

wanted to transfer following csv to elsticsearch |hcode|hname| |1|aaaa| |2|bbbbb| |3|ccccc| |4|dddd| |5|eeee| |6|ffff| and need to insert hcode field as document\_id. getting below error elasticseach version is 7…

---

## [Fscrawler not indexing all files](https://discuss.elastic.co/t/fscrawler-not-indexing-all-files/236576)

<div class="topic-metadata">

**Author:** [@morningkaren](https://discuss.elastic.co/u/morningkaren)\
**Replies:** 3\
**Last updated:** [June 26, 2020, 3:57pm UTC](https://discuss.elastic.co/t/fscrawler-not-indexing-all-files/236576 "2020-06-26T15:57:37Z")

</div>

Hello, I am having trouble getting fscrawler to index all my files. For example, I am trying to index all 7701 files , but only 2627 got indexed after a full day. The count stopped at 2627 today. I took some files that…

---

## [How to change field type from string to number](https://discuss.elastic.co/t/how-to-change-field-type-from-string-to-number/238876)

<div class="topic-metadata">

**Author:** [@peirceg](https://discuss.elastic.co/u/peirceg)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 2:40pm UTC](https://discuss.elastic.co/t/how-to-change-field-type-from-string-to-number/238876 "2020-06-26T14:40:25Z")

</div>

I have imported some sample sales data and want to change the total profits field from a string to a number. I have no coding experience and do not understand the steps on most google pages. Any help would be appreciated…

---

## [Curator no output](https://discuss.elastic.co/t/curator-no-output/238317)

<div class="topic-metadata">

**Author:** [@Yawn](https://discuss.elastic.co/u/Yawn)\
**Replies:** 5\
**Last updated:** [June 26, 2020, 2:12pm UTC](https://discuss.elastic.co/t/curator-no-output/238317 "2020-06-26T14:12:05Z")

</div>

Hello, I am having a weird issue with curator. I did some tests previously running curator manually to take a few snapshots, and it worked. Now I am running it again and I see nothing happening and nothing in the logs…

---

## [Terms aggregations exclude the key of parent](https://discuss.elastic.co/t/terms-aggregations-exclude-the-key-of-parent/236977)

<div class="topic-metadata">

**Author:** [@Peter\_Steenbergen](https://discuss.elastic.co/u/Peter_Steenbergen)\
**Replies:** 3\
**Last updated:** [June 26, 2020, 1:23pm UTC](https://discuss.elastic.co/t/terms-aggregations-exclude-the-key-of-parent/236977 "2020-06-26T13:23:26Z")

</div>

GET posts/\_search { "size": 0, "aggs": { "hashtags": { "terms": { "field": "hashtags", "size": 10 }, "aggs": { "tagalongs": { …

---

## [Elasticsearch - query with 2 conditions](https://discuss.elastic.co/t/elasticsearch-query-with-2-conditions/238273)

<div class="topic-metadata">

**Author:** [@Rohlik](https://discuss.elastic.co/u/Rohlik)\
**Replies:** 3\
**Last updated:** [June 26, 2020, 1:15pm UTC](https://discuss.elastic.co/t/elasticsearch-query-with-2-conditions/238273 "2020-06-26T13:15:40Z")

</div>

Hi there, I want get result from Elasticsearch of specific fields (and their values) which match 2 criteria - date and string match. But I something doing wrong, because I receiving this error: \[match\] malformed quer…

---

## [Possible values for ‘discovery-type’ (re-opening)](https://discuss.elastic.co/t/possible-values-for-discovery-type-re-opening/238837)

<div class="topic-metadata">

**Author:** [@formiaczek](https://discuss.elastic.co/u/formiaczek)\
**Replies:** 2\
**Last updated:** [June 26, 2020, 1:11pm UTC](https://discuss.elastic.co/t/possible-values-for-discovery-type-re-opening/238837 "2020-06-26T13:11:30Z")

</div>

no longer allows to add replies.. (nor to re-open it) . I'm not satisfied with this setting, given @DavidTurner's answer: single-node is the only permitted value for discovery.type . The only other option is not t…

---

## [Querying log data to get unique error messages](https://discuss.elastic.co/t/querying-log-data-to-get-unique-error-messages/238774)

<div class="topic-metadata">

**Author:** [@N220](https://discuss.elastic.co/u/N220)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 3:37am UTC](https://discuss.elastic.co/t/querying-log-data-to-get-unique-error-messages/238774 "2020-06-26T03:37:13Z")

</div>

Hi , Issue: To get unique error messages from the logs available in elastic search. I have enabled field data as true for text fields. my query: { "query": { "bool": { "must": \[ { "match…

---

## [Keyword default size](https://discuss.elastic.co/t/keyword-default-size/238735)

<div class="topic-metadata">

**Author:** [@cjabrantes](https://discuss.elastic.co/u/cjabrantes)\
**Replies:** 4\
**Last updated:** [June 26, 2020, 12:54pm UTC](https://discuss.elastic.co/t/keyword-default-size/238735 "2020-06-26T12:54:39Z")

</div>

Hi, As far as i know the keywords are created automatically with 256. Problem is that when i do some group by term with that field some are missing because they are a bit above 256. I can add the mapping with 300, but…

---

## [Elastic Search Repository possibility to get more than 10000 results](https://discuss.elastic.co/t/elastic-search-repository-possibility-to-get-more-than-10000-results/238832)

<div class="topic-metadata">

**Author:** [@Naveena1](https://discuss.elastic.co/u/Naveena1)\
**Replies:** 1\
**Last updated:** [June 26, 2020, 11:18am UTC](https://discuss.elastic.co/t/elastic-search-repository-possibility-to-get-more-than-10000-results/238832 "2020-06-26T11:18:19Z")

</div>

Hi, I am using ElasticSearchRepository and fetching search results using SearchQuery. like below :- Employee class represents documents of Employee index in ElasticSearch and EmployeeRepository is elasticsearch reposi…

---

## [Cluster with 2 node in es 7.8 version showing 1 node only](https://discuss.elastic.co/t/cluster-with-2-node-in-es-7-8-version-showing-1-node-only/238833)

<div class="topic-metadata">

**Author:** [@Dilip\_Kumar](https://discuss.elastic.co/u/Dilip_Kumar)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 10:21am UTC](https://discuss.elastic.co/t/cluster-with-2-node-in-es-7-8-version-showing-1-node-only/238833 "2020-06-26T10:21:27Z")

</div>

Hi, I am doing clustering with two nodes (Elasticsearch 7.8) everything follow according to doc, but cluster health showing only one node, means each node making 1 cluster node himself. please help in configuration, N…

---

## [Retrieve documents from Completion Suggester using Elasticsearch Java API](https://discuss.elastic.co/t/retrieve-documents-from-completion-suggester-using-elasticsearch-java-api/238810)

<div class="topic-metadata">

**Author:** [@gitterhh](https://discuss.elastic.co/u/gitterhh)\
**Replies:** 2\
**Last updated:** [June 26, 2020, 10:18am UTC](https://discuss.elastic.co/t/retrieve-documents-from-completion-suggester-using-elasticsearch-java-api/238810 "2020-06-26T10:18:28Z")

</div>

When I execute completion suggester request using curl, in the response I can find also the documents curl -X GET 'localhost:9200/shop/\_search?pretty&size=20' -H 'Content-Type: application/json' -d'{ "suggest": { …

---

## [Keyword issues in ELASTIC SEARCH](https://discuss.elastic.co/t/keyword-issues-in-elastic-search/236453)

<div class="topic-metadata">

**Author:** [@Sagar\_jain](https://discuss.elastic.co/u/Sagar_jain)\
**Replies:** 14\
**Last updated:** [June 26, 2020, 9:28am UTC](https://discuss.elastic.co/t/keyword-issues-in-elastic-search/236453 "2020-06-26T09:28:48Z")

</div>

KEYWORD ISSUE sanatizers Misspelled Keyword giving null results.

---

## [Error starting elastic search](https://discuss.elastic.co/t/error-starting-elastic-search/238821)

<div class="topic-metadata">

**Author:** [@dorcas](https://discuss.elastic.co/u/dorcas)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 9:27am UTC](https://discuss.elastic.co/t/error-starting-elastic-search/238821 "2020-06-26T09:27:02Z")

</div>

Commons Daemon procrun stderr initialized ERROR: the system property \[es.path.conf\] must be set can someone help with this error

---

## [Regarding path.real](https://discuss.elastic.co/t/regarding-path-real/236853)

<div class="topic-metadata">

**Author:** [@galvin1234](https://discuss.elastic.co/u/galvin1234)\
**Replies:** 10\
**Last updated:** [June 26, 2020, 8:59am UTC](https://discuss.elastic.co/t/regarding-path-real/236853 "2020-06-26T08:59:00Z")

</div>

Hi I am using ElasticSearch and FSCrawler together. I have indexed a document directory with default of FSCrawler settings, no template applied no filter applied. simple standard configuration only. I have a simple que…

---

## [Data loss in Elasticstack](https://discuss.elastic.co/t/data-loss-in-elasticstack/236005)

<div class="topic-metadata">

**Author:** [@manjunathpb](https://discuss.elastic.co/u/manjunathpb)\
**Replies:** 6\
**Last updated:** [June 26, 2020, 8:47am UTC](https://discuss.elastic.co/t/data-loss-in-elasticstack/236005 "2020-06-26T08:47:46Z")

</div>

Data used to get loaded to Elastic search without any issue but from last 4 weeks onward we can see reduction in Data when checked in Kibana Dashboard. Later to find out where the Data loss is happening we checked in Da…

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

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