# Elasticsearch

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

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

**Page:** 1326

---

## [Index read-only after upgrading to 7.0](https://discuss.elastic.co/t/index-read-only-after-upgrading-to-7-0/176387)

<div class="topic-metadata">

**Author:** [@epacke](https://discuss.elastic.co/u/epacke)\
**Replies:** 2\
**Last updated:** [April 21, 2019, 12:14pm UTC](https://discuss.elastic.co/t/index-read-only-after-upgrading-to-7-0/176387 "2019-04-21T12:14:27Z")

</div>

Hi! Saw that ELK 7.0 was available and upgraded my lab. After that I got these errors from logstash: Apr 11 13:01:38 linuxmgmt.j.local logstash\[29896\]: \[2019-04-11T13:01:38,243\]\[INFO \]\[logstash.outputs.elasticsearch\] r…

---

## [Es node suddenly OOM with "fatal error on the network layer"](https://discuss.elastic.co/t/es-node-suddenly-oom-with-fatal-error-on-the-network-layer/177746)

<div class="topic-metadata">

**Author:** [@shjdwxy](https://discuss.elastic.co/u/shjdwxy)\
**Replies:** 2\
**Last updated:** [April 21, 2019, 12:03pm UTC](https://discuss.elastic.co/t/es-node-suddenly-oom-with-fatal-error-on-the-network-layer/177746 "2019-04-21T12:03:46Z")

</div>

hi, ES version: 5.4.3 java version: 1.8.0\_162 ES was running normally and GC is normal too. But one node suddenly OOM with "fatal error on the network layer" logs link: Does anyone meet this before? How to debug …

---

## [Defining a mapping for a stream of data with a random key](https://discuss.elastic.co/t/defining-a-mapping-for-a-stream-of-data-with-a-random-key/177701)

<div class="topic-metadata">

**Author:** [@FluffySupreme](https://discuss.elastic.co/u/FluffySupreme)\
**Replies:** 1\
**Last updated:** [April 21, 2019, 11:45am UTC](https://discuss.elastic.co/t/defining-a-mapping-for-a-stream-of-data-with-a-random-key/177701 "2019-04-21T11:45:26Z")

</div>

I have data that looks like this: { "somerandomkey" : { "field1" : "hello", "field2" : 123 }, "anotherrandomkey" : { "field1" : "world", "field2" : 321 } } The keys before each object are not re…

---

## [ElasticSearch on Yellow status && "unassigned\_shards" : 985](https://discuss.elastic.co/t/elasticsearch-on-yellow-status-unassigned-shards-985/177252)

<div class="topic-metadata">

**Author:** [@Zanruin](https://discuss.elastic.co/u/Zanruin)\
**Replies:** 15\
**Last updated:** [April 21, 2019, 10:21am UTC](https://discuss.elastic.co/t/elasticsearch-on-yellow-status-unassigned-shards-985/177252 "2019-04-21T10:21:08Z")

</div>

Hey guys, I configured an ELK stack server (CentOS), I configured winlogbeat in one windows with the default parameter. After I started streaming the logs to the ELK server, the server got stuck. I guess the reason its …

---

## [How to find records matching the result of a previous search using ElasticSearch Painless scripting](https://discuss.elastic.co/t/how-to-find-records-matching-the-result-of-a-previous-search-using-elasticsearch-painless-scripting/177468)

<div class="topic-metadata">

**Author:** [@raameeil](https://discuss.elastic.co/u/raameeil)\
**Replies:** 2\
**Last updated:** [April 21, 2019, 10:02am UTC](https://discuss.elastic.co/t/how-to-find-records-matching-the-result-of-a-previous-search-using-elasticsearch-painless-scripting/177468 "2019-04-21T10:02:33Z")

</div>

Hi, I have the index I attached below. Each doc in the index holds the name and height of Alice and the age at which the height was measured. Measurements taken at the age of 10 are flagged as "baseline\_height\_at\_age\_1…

---

## [Hot and cold directory paths on same node](https://discuss.elastic.co/t/hot-and-cold-directory-paths-on-same-node/177744)

<div class="topic-metadata">

**Author:** [@amitavmohanty01](https://discuss.elastic.co/u/amitavmohanty01)\
**Replies:** 1\
**Last updated:** [April 21, 2019, 8:23am UTC](https://discuss.elastic.co/t/hot-and-cold-directory-paths-on-same-node/177744 "2019-04-21T08:23:31Z")

</div>

I can see that the data folder path variable accepts multiple folders. I would like to know if it is possible to hint Elasticsearch process to move an index from folder1 to folder2 after a certain time. Essentially, this…

---

## [Elasticsearch store compression](https://discuss.elastic.co/t/elasticsearch-store-compression/177709)

<div class="topic-metadata">

**Author:** [@prabhurajreddy](https://discuss.elastic.co/u/prabhurajreddy)\
**Replies:** 3\
**Last updated:** [April 21, 2019, 7:10am UTC](https://discuss.elastic.co/t/elasticsearch-store-compression/177709 "2019-04-21T07:10:09Z")

</div>

Hi, I have a specific use case for elasticsearch, trying to find if compression techniques in elasticsearch can be customized to exploit high compression. We use elasticsearch to provide search in text document contents…

---

## [Storing Metrics in new ES index](https://discuss.elastic.co/t/storing-metrics-in-new-es-index/177737)

<div class="topic-metadata">

**Author:** [@krish1](https://discuss.elastic.co/u/krish1)\
**Replies:** 1\
**Last updated:** [April 21, 2019, 5:55am UTC](https://discuss.elastic.co/t/storing-metrics-in-new-es-index/177737 "2019-04-21T05:55:11Z")

</div>

I am new to rally and use the option where I store rally metrics to an elastic search cluster. Every time run a rally track it indexes the metrics to the same index that it created(for example for this month the name of …

---

## [Curl no URL specified](https://discuss.elastic.co/t/curl-no-url-specified/177739)

<div class="topic-metadata">

**Author:** [@AndyB](https://discuss.elastic.co/u/AndyB)\
**Replies:** 1\
**Last updated:** [April 21, 2019, 4:57am UTC](https://discuss.elastic.co/t/curl-no-url-specified/177739 "2019-04-21T04:57:49Z")

</div>

How come the following terminal command: curl -H "Content-Type: application/json" -XGET 'http://localhost:9200/southbay\_xenforo211/\_search' -d '{ "query": { "match": { "message": "test1234" } } }' comes back w…

---

## [Java high level rest client - If I am searching from multiple indices and one of my index is not present.so,I am getting "no such index" exception, instead of exception I want the documents from other indices which are present. IS IT POSSIBLE?](https://discuss.elastic.co/t/java-high-level-rest-client-if-i-am-searching-from-multiple-indices-and-one-of-my-index-is-not-present-so-i-am-getting-no-such-index-exception-instead-of-exception-i-want-the-documents-from-other-indices-which-are-present-is-it-possible/177106)

<div class="topic-metadata">

**Author:** [@Aswini\_Kumar\_Rout](https://discuss.elastic.co/u/Aswini_Kumar_Rout)\
**Replies:** 2\
**Last updated:** [April 21, 2019, 4:39am UTC](https://discuss.elastic.co/t/java-high-level-rest-client-if-i-am-searching-from-multiple-indices-and-one-of-my-index-is-not-present-so-i-am-getting-no-such-index-exception-instead-of-exception-i-want-the-documents-from-other-indices-which-are-present-is-it-possible/177106 "2019-04-21T04:39:49Z")

</div>

Let, I am searching from 3 indices and one of the index is not present, So I am getting "type=index\_not\_found\_exception, reason=no such index" exception but I have some documents present in another two indices which matc…

---

## [Modifying existing data mapping in ElasticSearch](https://discuss.elastic.co/t/modifying-existing-data-mapping-in-elasticsearch/177738)

<div class="topic-metadata">

**Author:** [@flavienbwk](https://discuss.elastic.co/u/flavienbwk)\
**Replies:** 1\
**Last updated:** [April 20, 2019, 11:59pm UTC](https://discuss.elastic.co/t/modifying-existing-data-mapping-in-elasticsearch/177738 "2019-04-20T23:59:28Z")

</div>

Hello, I searched a lot about mapping of the data in ElasticSearch (for partial string search with an analyzer), and I found that there was no way to update a current mapping. I wanted to have the confirmation that the…

---

## [How do I use \_xpack/ml/datafeeds API?](https://discuss.elastic.co/t/how-do-i-use-xpack-ml-datafeeds-api/177700)

<div class="topic-metadata">

**Author:** [@blueren](https://discuss.elastic.co/u/blueren)\
**Replies:** 1\
**Last updated:** [April 20, 2019, 9:37pm UTC](https://discuss.elastic.co/t/how-do-i-use-xpack-ml-datafeeds-api/177700 "2019-04-20T21:37:32Z")

</div>

I have a few ML jobs. I would like to start them pragmatically. The docs suggest the use of the below API. I would like to start at the beginning of data, and let it continue forever (no real end time) What should be m…

---

## [Completion suggest migrate from 2.x to newer Versions of ES | Aggregations on non matching hits in string type with array content](https://discuss.elastic.co/t/completion-suggest-migrate-from-2-x-to-newer-versions-of-es-aggregations-on-non-matching-hits-in-string-type-with-array-content/174324)

<div class="topic-metadata">

**Author:** [@jpweiner](https://discuss.elastic.co/u/jpweiner)\
**Replies:** 1\
**Last updated:** [April 20, 2019, 9:32pm UTC](https://discuss.elastic.co/t/completion-suggest-migrate-from-2-x-to-newer-versions-of-es-aggregations-on-non-matching-hits-in-string-type-with-array-content/174324 "2019-04-20T21:32:10Z")

</div>

Hello! I realized a search application with bibliographic data in ES 2.4.4. I testet different approaches of autocomplete: completion suggest aggregation My data (examples): {"id":"1","terms":\["austen","jane","rauc…

---

## [Error Enabling Encrypted Communication in ElasticSearch](https://discuss.elastic.co/t/error-enabling-encrypted-communication-in-elasticsearch/177132)

<div class="topic-metadata">

**Author:** [@leobaiano](https://discuss.elastic.co/u/leobaiano)\
**Replies:** 2\
**Last updated:** [April 20, 2019, 8:28pm UTC](https://discuss.elastic.co/t/error-enabling-encrypted-communication-in-elasticsearch/177132 "2019-04-20T20:28:34Z")

</div>

I'm using docker-compose and I've followed the documentation below to try to achieve my goals: https://www.elastic.co/guide/en/elasticsearch/reference/6.3/configuring-tls-docker.html After creating the certificates I r…

---

## [Count the number of document which contains either or both terms, and the term's values must be within a range](https://discuss.elastic.co/t/count-the-number-of-document-which-contains-either-or-both-terms-and-the-terms-values-must-be-within-a-range/177699)

<div class="topic-metadata">

**Author:** [@twfx](https://discuss.elastic.co/u/twfx)\
**Replies:** 1\
**Last updated:** [April 20, 2019, 9:28am UTC](https://discuss.elastic.co/t/count-the-number-of-document-which-contains-either-or-both-terms-and-the-terms-values-must-be-within-a-range/177699 "2019-04-20T09:28:25Z")

</div>

I want to count the number of document that has either or both term A and term B if term A or/and term B exist, the value is between a range. I manage to write count for single term count as below and it returns corre…

---

## [Mapper\_parsing\_exception while indexing json document](https://discuss.elastic.co/t/mapper-parsing-exception-while-indexing-json-document/177687)

<div class="topic-metadata">

**Author:** [@MKU](https://discuss.elastic.co/u/MKU)\
**Replies:** 1\
**Last updated:** [April 20, 2019, 8:16am UTC](https://discuss.elastic.co/t/mapper-parsing-exception-while-indexing-json-document/177687 "2019-04-20T08:16:32Z")

</div>

Hi, actions=\[{'id':0 ,'imgurl':'abc', 'description':'abc'} , {} ,{}...\] I have such json arrays, when i run bulk(es,actions,index="index\_name",doc\_type="json") in python i get the following error, object mapping …

---

## [Does NEST \[Keyword\] attribute's NullValue parameter not work?](https://discuss.elastic.co/t/does-nest-keyword-attributes-nullvalue-parameter-not-work/177690)

<div class="topic-metadata">

**Author:** [@jxz](https://discuss.elastic.co/u/jxz)\
**Replies:** 0\
**Last updated:** [April 20, 2019, 8:02am UTC](https://discuss.elastic.co/t/does-nest-keyword-attributes-nullvalue-parameter-not-work/177690 "2019-04-20T08:02:29Z")

</div>

Hi, I use NEST with C#. I want to index objects of my class annotated with the keyword attribute's NullValue param with auto-mapping in hope that when the field's value is null, instead of nothing being indexed for it…

---

## [Master not discovered or elected yet, after docker compose stop and start](https://discuss.elastic.co/t/master-not-discovered-or-elected-yet-after-docker-compose-stop-and-start/177653)

<div class="topic-metadata">

**Author:** [@nufje](https://discuss.elastic.co/u/nufje)\
**Replies:** 10\
**Last updated:** [April 20, 2019, 5:48am UTC](https://discuss.elastic.co/t/master-not-discovered-or-elected-yet-after-docker-compose-stop-and-start/177653 "2019-04-20T05:48:21Z")

</div>

Hello, Strange problem here (i think :slight\_smile: ) I start elasticsearch on my laptop with docker-compose up -d es01, let the container start completly. Stop the containers with docker-compose stop. Then i do docker…

---

## [Not able to find elasticsearch.yml](https://discuss.elastic.co/t/not-able-to-find-elasticsearch-yml/177621)

<div class="topic-metadata">

**Author:** [@pathri](https://discuss.elastic.co/u/pathri)\
**Replies:** 3\
**Last updated:** [April 20, 2019, 3:06am UTC](https://discuss.elastic.co/t/not-able-to-find-elasticsearch-yml/177621 "2019-04-20T03:06:48Z")

</div>

how come i am running elasticsearch in my local virtual machine without elasticsearch.yml and kibana.yml??

---

## [Min\_score in Elasticsearch](https://discuss.elastic.co/t/min-score-in-elasticsearch/176508)

<div class="topic-metadata">

**Author:** [@Shreya\_Jain](https://discuss.elastic.co/u/Shreya_Jain)\
**Replies:** 3\
**Last updated:** [April 19, 2019, 10:40pm UTC](https://discuss.elastic.co/t/min-score-in-elasticsearch/176508 "2019-04-19T22:40:25Z")

</div>

I have seen a lot of posts suggesting against the use of min\_score functionality. But it's important for my use case to display only high-quality results. Is there a way i can have the \_score returned from elasticsearch …

---

## [Problem in uploading data](https://discuss.elastic.co/t/problem-in-uploading-data/177204)

<div class="topic-metadata">

**Author:** [@Prabhav](https://discuss.elastic.co/u/Prabhav)\
**Replies:** 1\
**Last updated:** [April 19, 2019, 9:57pm UTC](https://discuss.elastic.co/t/problem-in-uploading-data/177204 "2019-04-19T21:57:16Z")

</div>

I have created a mapping for a index prior and now i want to upload a json file to that index, I know that it can be done using Bulk API. But can't proceed how that can be done?

---

## [Filter Query DSL from a local file](https://discuss.elastic.co/t/filter-query-dsl-from-a-local-file/177445)

<div class="topic-metadata">

**Author:** [@ec2](https://discuss.elastic.co/u/ec2)\
**Replies:** 1\
**Last updated:** [April 19, 2019, 9:46pm UTC](https://discuss.elastic.co/t/filter-query-dsl-from-a-local-file/177445 "2019-04-19T21:46:41Z")

</div>

Hi, Apologies if this has been asked previously but I couldn't find anything relevant. I currently have some visualisations in Kibana that use a Filter Query to search through a large number of items (10k+) against a s…

---

## [Kibana is not able to fetch data from Collector](https://discuss.elastic.co/t/kibana-is-not-able-to-fetch-data-from-collector/177472)

<div class="topic-metadata">

**Author:** [@Abdul\_Jaleel](https://discuss.elastic.co/u/Abdul_Jaleel)\
**Replies:** 2\
**Last updated:** [April 19, 2019, 9:43pm UTC](https://discuss.elastic.co/t/kibana-is-not-able-to-fetch-data-from-collector/177472 "2019-04-19T21:43:43Z")

</div>

Kibana is not able to fetch data from kibana collector error is showing when parsing large data using data table. ES console returns the error: "\[o.e.m.j.JvmGcMonitorService\] \[ZJjuT9m\] \[gc\]\[631\] overhead, spent \[833ms\]…

---

## [Trouble with x-pack trial-version on ELK 7](https://discuss.elastic.co/t/trouble-with-x-pack-trial-version-on-elk-7/177665)

<div class="topic-metadata">

**Author:** [@abc345](https://discuss.elastic.co/u/abc345)\
**Replies:** 0\
**Last updated:** [April 19, 2019, 7:55pm UTC](https://discuss.elastic.co/t/trouble-with-x-pack-trial-version-on-elk-7/177665 "2019-04-19T19:55:31Z")

</div>

I installed ELK docker v7.0 and activated the trial version of xpack. I have mentioned "xpack.security.enabled: true" in the elasticsearch.yml. when I check through the get /license, it shows that my trial-license is ac…

---

## [Error installing Elasticsearch 7 - Failed dependencies](https://discuss.elastic.co/t/error-installing-elasticsearch-7-failed-dependencies/177551)

<div class="topic-metadata">

**Author:** [@AndyB](https://discuss.elastic.co/u/AndyB)\
**Replies:** 2\
**Last updated:** [April 19, 2019, 7:12pm UTC](https://discuss.elastic.co/t/error-installing-elasticsearch-7-failed-dependencies/177551 "2019-04-19T19:12:43Z")

</div>

On my dedicated server I currently have Elasticsearch 6 installed. I would like to upgrade to Elasticsearch 7. I'm using the "Download and install the RPM Manually" method. Here's the link that explains the steps: https…

---

## [Errors while uploading data into elasticsearch](https://discuss.elastic.co/t/errors-while-uploading-data-into-elasticsearch/177582)

<div class="topic-metadata">

**Author:** [@Prabhav](https://discuss.elastic.co/u/Prabhav)\
**Replies:** 5\
**Last updated:** [April 19, 2019, 7:03pm UTC](https://discuss.elastic.co/t/errors-while-uploading-data-into-elasticsearch/177582 "2019-04-19T19:03:46Z")

</div>

I have already created a mapping for my index that is pmufin and have been trying to upload a json document of 16MB. I am using virtual box. Whenever i try to upload data from Postman or just use curl command i get er…

---

## [Scripted nested sum aggregation with root attribute](https://discuss.elastic.co/t/scripted-nested-sum-aggregation-with-root-attribute/177060)

<div class="topic-metadata">

**Author:** [@Istvan\_Ignacz](https://discuss.elastic.co/u/Istvan_Ignacz)\
**Replies:** 1\
**Last updated:** [April 19, 2019, 7:02pm UTC](https://discuss.elastic.co/t/scripted-nested-sum-aggregation-with-root-attribute/177060 "2019-04-19T19:02:26Z")

</div>

Hello, I'm facing the same issue as this one (already closed): https://discuss.elastic.co/t/scripted-nested-sum-aggregation-with-top-document-field/25326 In an existing index in an elasticsearch 5.6 cluster I have a nu…

---

## [How to index Elasticsearch security audit events in 7.0?](https://discuss.elastic.co/t/how-to-index-elasticsearch-security-audit-events-in-7-0/177658)

<div class="topic-metadata">

**Author:** [@Matt\_Vasquez](https://discuss.elastic.co/u/Matt_Vasquez)\
**Replies:** 0\
**Last updated:** [April 19, 2019, 6:34pm UTC](https://discuss.elastic.co/t/how-to-index-elasticsearch-security-audit-events-in-7-0/177658 "2019-04-19T18:34:07Z")

</div>

So I've just recently upgraded to 7.0 from 6.7 and had to take out: xpack.security.audit.outputs: \[index, log\] from the elasticsearch.yml config file due to deprecation in 7.0? As I understand now security audit event…

---

## [Fail to start the elasticsearch container in ubuntu 16.04](https://discuss.elastic.co/t/fail-to-start-the-elasticsearch-container-in-ubuntu-16-04/177312)

<div class="topic-metadata">

**Author:** [@Bubunia\_Patra](https://discuss.elastic.co/u/Bubunia_Patra)\
**Replies:** 8\
**Last updated:** [April 19, 2019, 5:29pm UTC](https://discuss.elastic.co/t/fail-to-start-the-elasticsearch-container-in-ubuntu-16-04/177312 "2019-04-19T17:29:40Z")

</div>

Hi all, I am installing the elastic search in my MAC laptop running Ubuntu 16.04. ES version I am trying to install is 5.6.10. Docker version 18.09.2, build 6247962 I have mounted my hostpath to container ES path for …

---

## [Kubernetes elastic cluster DNS Caching Issue](https://discuss.elastic.co/t/kubernetes-elastic-cluster-dns-caching-issue/177627)

<div class="topic-metadata">

**Author:** [@vivektsb](https://discuss.elastic.co/u/vivektsb)\
**Replies:** 0\
**Last updated:** [April 19, 2019, 1:37pm UTC](https://discuss.elastic.co/t/kubernetes-elastic-cluster-dns-caching-issue/177627 "2019-04-19T13:37:53Z")

</div>

Hi , We are trying to form the elastic cluster with three nodes using kubernetes .elasticsearch is running on individual pods. They are not forming the cluster.We have observed that pods can communicate each other by …

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

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