# Elasticsearch

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

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

**Page:** 1110

---

## [Method threw 'java.lang.NoSuchFieldError' exception. Cannot evaluate org.elasticsearch.action.index.IndexRequest.toString()](https://discuss.elastic.co/t/method-threw-java-lang-nosuchfielderror-exception-cannot-evaluate-org-elasticsearch-action-index-indexrequest-tostring/205328)

<div class="topic-metadata">

**Author:** [@Tadija\_Malic](https://discuss.elastic.co/u/Tadija_Malic)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 4:31pm UTC](https://discuss.elastic.co/t/method-threw-java-lang-nosuchfielderror-exception-cannot-evaluate-org-elasticsearch-action-index-indexrequest-tostring/205328 "2019-10-29T16:31:53Z")

</div>

Describe the feature : Comparison between Elasticsearch, Solr and OOTB Lucene in Adobe Experience Manager Elasticsearch version : Tried 7.0.1 and 7.4.1 JVM version: 1.8.0\_191 OS version macOs - Darwin Kernel Version…

---

## [Field Limits and general tutorial](https://discuss.elastic.co/t/field-limits-and-general-tutorial/205552)

<div class="topic-metadata">

**Author:** [@pmatreides](https://discuss.elastic.co/u/pmatreides)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 3:29pm UTC](https://discuss.elastic.co/t/field-limits-and-general-tutorial/205552 "2019-10-29T15:29:00Z")

</div>

I'm new to elasticsearch and I've managed to set up an instance using the ELK stack. It's tough to find definitive answers and examples a full tutorial and walkthrough would greatly help new users. I'm getting several …

---

## [ILM turn unstable the cluster. Heap Overflow](https://discuss.elastic.co/t/ilm-turn-unstable-the-cluster-heap-overflow/205242)

<div class="topic-metadata">

**Author:** [@Emiliano\_Baum](https://discuss.elastic.co/u/Emiliano_Baum)\
**Replies:** 1\
**Last updated:** [October 29, 2019, 2:28pm UTC](https://discuss.elastic.co/t/ilm-turn-unstable-the-cluster-heap-overflow/205242 "2019-10-29T14:28:21Z")

</div>

when i try to execute: curl -X POST "xx.xx.xxx.xx:9200/\_ilm/stop?pretty the result is: "type" : "process\_cluster\_event\_timeout\_exception" I think the ILM operation schedule generate an overflow heap error: \[2019-10-…

---

## [How to Run Elasticsearch from source code or IDE](https://discuss.elastic.co/t/how-to-run-elasticsearch-from-source-code-or-ide/205693)

<div class="topic-metadata">

**Author:** [@Hari\_Prasad](https://discuss.elastic.co/u/Hari_Prasad)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 2:45pm UTC](https://discuss.elastic.co/t/how-to-run-elasticsearch-from-source-code-or-ide/205693 "2019-10-29T14:45:00Z")

</div>

Hi I am trying to run the Elasticsearch from the source code in Idea. I have gone through the below blog trying to do the same The problem with this is that I am unable to change any settings in the elasticsearch.yml…

---

## [ES container restart continously \[ error reading control group stats\]](https://discuss.elastic.co/t/es-container-restart-continously-error-reading-control-group-stats/205684)

<div class="topic-metadata">

**Author:** [@mauog](https://discuss.elastic.co/u/mauog)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 1:46pm UTC](https://discuss.elastic.co/t/es-container-restart-continously-error-reading-control-group-stats/205684 "2019-10-29T13:46:39Z")

</div>

Hello, I got an error running a docker container on a Centos Atomic with the image: elasticsearch:7.4.0 the error is: elasticsearch | 13:30:42.549 \[main\] INFO org.elasticsearch.plugins.PluginsService - no plugins …

---

## [Elasticsearch Helm chart clarification](https://discuss.elastic.co/t/elasticsearch-helm-chart-clarification/205665)

<div class="topic-metadata">

**Author:** [@Benoit\_Martin](https://discuss.elastic.co/u/Benoit_Martin)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 1:12pm UTC](https://discuss.elastic.co/t/elasticsearch-helm-chart-clarification/205665 "2019-10-29T13:12:49Z")

</div>

Hello, I need help to understand a little better the Elasticsearch helm chart. I used it to deploy a simple cluster of 3 nodes. I specified wanting a persistent volume of 30 gig per node. Everything seems well deployed …

---

## [Rankfeature method not working c#](https://discuss.elastic.co/t/rankfeature-method-not-working-c/205670)

<div class="topic-metadata">

**Author:** [@gurjit\_buck](https://discuss.elastic.co/u/gurjit_buck)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 12:59pm UTC](https://discuss.elastic.co/t/rankfeature-method-not-working-c/205670 "2019-10-29T12:59:21Z")

</div>

.Query(q=\>q.Bool ( bb=\> bb.Must(m =\> m.Match(x=\>x.Name("named\_query").Field( p =\> p.Content).Query(data.SearchText))) .Should(s =\> s.RankFeature(r =\>r.Name("named\_query").Boost(1.1) .F…

---

## [How to write put mapping api using php code](https://discuss.elastic.co/t/how-to-write-put-mapping-api-using-php-code/205666)

<div class="topic-metadata">

**Author:** [@arunkvinam](https://discuss.elastic.co/u/arunkvinam)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 12:40pm UTC](https://discuss.elastic.co/t/how-to-write-put-mapping-api-using-php-code/205666 "2019-10-29T12:40:57Z")

</div>

how to write put mapping api using php code. currently iam using curl command curl -X PUT "localhost:9200/new-index/\_mapping" -H 'Content-Type: application/json' -d' {"properties": { "new-email": {"type": "keyword"}}}' …

---

## [Shards Failed | Most of the recent indexes are unassigned](https://discuss.elastic.co/t/shards-failed-most-of-the-recent-indexes-are-unassigned/203994)

<div class="topic-metadata">

**Author:** [@Sundaramoorthy\_Anand](https://discuss.elastic.co/u/Sundaramoorthy_Anand)\
**Replies:** 13\
**Last updated:** [October 29, 2019, 12:07pm UTC](https://discuss.elastic.co/t/shards-failed-most-of-the-recent-indexes-are-unassigned/203994 "2019-10-29T12:07:10Z")

</div>

I have a server with ELK along with heartbeat installed. (all are v6.4.2) Heartbeat is monitoring two other servers' elasticsearch and logstash with its pipeline in same domainfrom current server. It is creating index …

---

## [Broad beginner question - making a matching engine](https://discuss.elastic.co/t/broad-beginner-question-making-a-matching-engine/205658)

<div class="topic-metadata">

**Author:** [@Christopher\_Shelley](https://discuss.elastic.co/u/Christopher_Shelley)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 11:54am UTC](https://discuss.elastic.co/t/broad-beginner-question-making-a-matching-engine/205658 "2019-10-29T11:54:21Z")

</div>

I'm trying to plan out a "matching engine" - any time a user joins the service, or updates their profile they are checked against everybody who might potentially match with them (same interests, languages etc.) Is there …

---

## [ElasticSearch Service: 2 of 15 shards failed](https://discuss.elastic.co/t/elasticsearch-service-2-of-15-shards-failed/205505)

<div class="topic-metadata">

**Author:** [@AndresL](https://discuss.elastic.co/u/AndresL)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 11:48am UTC](https://discuss.elastic.co/t/elasticsearch-service-2-of-15-shards-failed/205505 "2019-10-29T11:48:04Z")

</div>

Hi, In a ESS cluster, from kibana dashboard i can see the error " 2 of 15 shards failed how can i debuig this problem? i have been checking in system logs like .monitoring or .kibana, and i cant find the reason. Vers…

---

## [Why heap used of a new elasticsearch cluster with no document can be 26% ? What memory is Used for?](https://discuss.elastic.co/t/why-heap-used-of-a-new-elasticsearch-cluster-with-no-document-can-be-26-what-memory-is-used-for/205455)

<div class="topic-metadata">

**Author:** [@panxuelin](https://discuss.elastic.co/u/panxuelin)\
**Replies:** 18\
**Last updated:** [October 29, 2019, 11:35am UTC](https://discuss.elastic.co/t/why-heap-used-of-a-new-elasticsearch-cluster-with-no-document-can-be-26-what-memory-is-used-for/205455 "2019-10-29T11:35:47Z")

</div>

unit is M and I use \_nodes/stats API heap\_used\_in\_bytes = 4298.34 heap\_used\_percent = 26 heap\_max\_in\_bytes = 16067.875

---

## [Filebeat, challenge for the host to reach elasticsearh server using IP :9200](https://discuss.elastic.co/t/filebeat-challenge-for-the-host-to-reach-elasticsearh-server-using-ip-9200/205611)

<div class="topic-metadata">

**Author:** [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 11:31am UTC](https://discuss.elastic.co/t/filebeat-challenge-for-the-host-to-reach-elasticsearh-server-using-ip-9200/205611 "2019-10-29T11:31:24Z")

</div>

Hi All, I have installed elasticsearch, kibana Later I tried filebeat installed on the same machine, in the SIEM I was getting the details of this host as host information. The communication between the filebeat servi…

---

## [Change in elasticsearch.yml for network.host , the service will not restart](https://discuss.elastic.co/t/change-in-elasticsearch-yml-for-network-host-the-service-will-not-restart/205432)

<div class="topic-metadata">

**Author:** [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Replies:** 5\
**Last updated:** [October 29, 2019, 10:43am UTC](https://discuss.elastic.co/t/change-in-elasticsearch-yml-for-network-host-the-service-will-not-restart/205432 "2019-10-29T10:43:44Z")

</div>

Hi All, Good afternoon I am installing elasticsearch (7.4.1) , with the default “/etc/elasticsearch/elasticsearch.yml” , when I restart the service it starts and “systemctl status elasticsearch” shows it as running. N…

---

## [ILM rollover status when logstash throw an error?](https://discuss.elastic.co/t/ilm-rollover-status-when-logstash-throw-an-error/205645)

<div class="topic-metadata">

**Author:** [@inhinyera16](https://discuss.elastic.co/u/inhinyera16)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 10:38am UTC](https://discuss.elastic.co/t/ilm-rollover-status-when-logstash-throw-an-error/205645 "2019-10-29T10:38:38Z")

</div>

Hi, We do have logstash where ilm is configured. What if logstash encountered an error? will it still rollover the index?

---

## [Querying Nested Fields with OR and IN clause](https://discuss.elastic.co/t/querying-nested-fields-with-or-and-in-clause/205483)

<div class="topic-metadata">

**Author:** [@Stella\_Sunshine](https://discuss.elastic.co/u/Stella_Sunshine)\
**Replies:** 3\
**Last updated:** [October 29, 2019, 10:22am UTC](https://discuss.elastic.co/t/querying-nested-fields-with-or-and-in-clause/205483 "2019-10-29T10:22:13Z")

</div>

This is a snippet of my ES document: "actions": \[ { "action\_type": "special\_offer", "startdate": "2019-09-10 00:00:00", "enddate": "2019-12-19 23:59:59" …

---

## [Multiline csv export is displayed wrong in excel](https://discuss.elastic.co/t/multiline-csv-export-is-displayed-wrong-in-excel/205634)

<div class="topic-metadata">

**Author:** [@Julianbe](https://discuss.elastic.co/u/Julianbe)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 10:04am UTC](https://discuss.elastic.co/t/multiline-csv-export-is-displayed-wrong-in-excel/205634 "2019-10-29T10:04:28Z")

</div>

Hi When I use the share function of Kibana Elastic search to download a CSV of the logs, the multiline error messages are not displayed correctly in Excel. If I have a multiline message, it is distributed in excel on se…

---

## [Redirect http to https for kibana](https://discuss.elastic.co/t/redirect-http-to-https-for-kibana/205501)

<div class="topic-metadata">

**Author:** [@zmira\_meriem](https://discuss.elastic.co/u/zmira_meriem)\
**Replies:** 3\
**Last updated:** [October 29, 2019, 8:23am UTC](https://discuss.elastic.co/t/redirect-http-to-https-for-kibana/205501 "2019-10-29T08:23:22Z")

</div>

Hi i configure ssl kibana with following config: server.ssl.enabled: true server.ssl.certificate: /etc/kibana/certs/cert\_certificate\_2018.crt server.ssl.key: /etc/kibana/certs/key\_2018.key and now i want to redirect …

---

## [Performance considerations when accessing \_index field](https://discuss.elastic.co/t/performance-considerations-when-accessing-index-field/205591)

<div class="topic-metadata">

**Author:** [@vangap](https://discuss.elastic.co/u/vangap)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 8:14am UTC](https://discuss.elastic.co/t/performance-considerations-when-accessing-index-field/205591 "2019-10-29T08:14:31Z")

</div>

Hi, My question is similar to https://discuss.elastic.co/t/performance-of-the-index-field/142599 I want to understand how the query rewrite works internally and if there are any caveats w.r.t performance when using \_in…

---

## [Anyway to delete monitoring data periodically when pushing data to remote cluster?](https://discuss.elastic.co/t/anyway-to-delete-monitoring-data-periodically-when-pushing-data-to-remote-cluster/205608)

<div class="topic-metadata">

**Author:** [@akshaymaniyar](https://discuss.elastic.co/u/akshaymaniyar)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 7:37am UTC](https://discuss.elastic.co/t/anyway-to-delete-monitoring-data-periodically-when-pushing-data-to-remote-cluster/205608 "2019-10-29T07:37:39Z")

</div>

xpack.monitoring.history.duration =\> This setting currently only impacts local -type exporters. Indices created using the http exporter will not be deleted automatically. Is there any direct way of such retention pol…

---

## [Sending dynamically changing header value from node elasticsearch client](https://discuss.elastic.co/t/sending-dynamically-changing-header-value-from-node-elasticsearch-client/205598)

<div class="topic-metadata">

**Author:** [@ivar](https://discuss.elastic.co/u/ivar)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 6:46am UTC](https://discuss.elastic.co/t/sending-dynamically-changing-header-value-from-node-elasticsearch-client/205598 "2019-10-29T06:46:33Z")

</div>

Hi Experts, I am trying to send a custom header from elasticsearch client , the value of the custom header changes every 30 minutes, how can I achieve this I think the headers that is configurable at client level is st…

---

## [Guidance on setting up elasticsearch to handle terrabytes of logs](https://discuss.elastic.co/t/guidance-on-setting-up-elasticsearch-to-handle-terrabytes-of-logs/205579)

<div class="topic-metadata">

**Author:** [@deepak\_deore](https://discuss.elastic.co/u/deepak_deore)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 6:12am UTC](https://discuss.elastic.co/t/guidance-on-setting-up-elasticsearch-to-handle-terrabytes-of-logs/205579 "2019-10-29T06:12:19Z")

</div>

I need guidance on setting up an ES cluster which can consume ~1TB of logs per day and storing them for 30days. Here is what I am thinking to do by procuring Basic license: Elastisearch - 3 master nodes (x-pack and tl…

---

## [Difference between search\_as\_you\_type datatype and using ngrams](https://discuss.elastic.co/t/difference-between-search-as-you-type-datatype-and-using-ngrams/205593)

<div class="topic-metadata">

**Author:** [@MKU](https://discuss.elastic.co/u/MKU)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 6:00am UTC](https://discuss.elastic.co/t/difference-between-search-as-you-type-datatype-and-using-ngrams/205593 "2019-10-29T06:00:49Z")

</div>

Hi, I wonder what difference does it make by using search\_as\_you\_type when i am already using ngram/edge\_ngram tokenizers. does search\_as\_you\_type improvise the indexing performance? whats the difference between them? …

---

## [Mutiline parsing using IngestNode pipelines](https://discuss.elastic.co/t/mutiline-parsing-using-ingestnode-pipelines/205187)

<div class="topic-metadata">

**Author:** [@Tinkerbell](https://discuss.elastic.co/u/Tinkerbell)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 5:00am UTC](https://discuss.elastic.co/t/mutiline-parsing-using-ingestnode-pipelines/205187 "2019-10-29T05:00:21Z")

</div>

Hello, I am using filebeat along with Ingest node pipelines to create index data. My indexed data looks like below screenshot. From the screenshot , i need to count number of ACT\_REJ after ACT\_REQ. Basically my us…

---

## [Error in Xamarin Forms using NEST Package](https://discuss.elastic.co/t/error-in-xamarin-forms-using-nest-package/205582)

<div class="topic-metadata">

**Author:** [@Enrique\_Mainero\_Sali](https://discuss.elastic.co/u/Enrique_Mainero_Sali)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 4:47am UTC](https://discuss.elastic.co/t/error-in-xamarin-forms-using-nest-package/205582 "2019-10-29T04:47:27Z")

</div>

I am implementing a basic test using the Nuget Nest package, and it throws me the following error: SystemPlatformNotSupportedException. var node = new Uri ("the\_uri"); var pool = new SingleNodeConnectionPool (node); …

---

## [Elasticsearch 7.2 CreateIndexRequest mapping questions](https://discuss.elastic.co/t/elasticsearch-7-2-createindexrequest-mapping-questions/205567)

<div class="topic-metadata">

**Author:** [@reo4188](https://discuss.elastic.co/u/reo4188)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 12:26am UTC](https://discuss.elastic.co/t/elasticsearch-7-2-createindexrequest-mapping-questions/205567 "2019-10-29T00:26:19Z")

</div>

CreateIndexRequest indexRequest = new CreateIndexRequest(indexName); indexRequest.settings(Settings.builder().put("index.number\_of\_shards", 1)); String jsonst = "{\\n " + " "properties" : {\\n" + " "syn": {\\n" + …

---

## [Having trouble to get ELK working on the Logstash part](https://discuss.elastic.co/t/having-trouble-to-get-elk-working-on-the-logstash-part/205396)

<div class="topic-metadata">

**Author:** [@NewHere](https://discuss.elastic.co/u/NewHere)\
**Replies:** 4\
**Last updated:** [October 28, 2019, 11:48pm UTC](https://discuss.elastic.co/t/having-trouble-to-get-elk-working-on-the-logstash-part/205396 "2019-10-28T23:48:32Z")

</div>

I am trying out the ELK to pipe a tomcat log to ES via Logstash and view it in Kibana. After running "docker-compose up" I can visit ES via http://localhost:9200/\_cat/health. Also Kibana via http://localhost:5601. Howeve…

---

## [Snapshot Lifecycle Manager not working on Elastic Cloud](https://discuss.elastic.co/t/snapshot-lifecycle-manager-not-working-on-elastic-cloud/204246)

<div class="topic-metadata">

**Author:** [@wpitt13](https://discuss.elastic.co/u/wpitt13)\
**Replies:** 1\
**Last updated:** [October 28, 2019, 9:33pm UTC](https://discuss.elastic.co/t/snapshot-lifecycle-manager-not-working-on-elastic-cloud/204246 "2019-10-28T21:33:09Z")

</div>

Is Snapshot Lifecycle Manager supported on Elastic Cloud. I'm aware that Elastic Cloud has build in snapshots but that is an all or nothing approach. SLM would give us more control over our what we snapshot as well as r…

---

## [Recommended ES Configuration for Large Memory Servers](https://discuss.elastic.co/t/recommended-es-configuration-for-large-memory-servers/205543)

<div class="topic-metadata">

**Author:** [@Jeff\_Kubina](https://discuss.elastic.co/u/Jeff_Kubina)\
**Replies:** 1\
**Last updated:** [October 28, 2019, 8:59pm UTC](https://discuss.elastic.co/t/recommended-es-configuration-for-large-memory-servers/205543 "2019-10-28T20:59:41Z")

</div>

We are planning to upgrade our Elasticsearch cluster to 7.X (JAVA 1.10). Is there any advice on the preferred method of garbage collection when using this particular combination, like CMS versus G1GC? Our current hardwa…

---

## [X-Pack problem](https://discuss.elastic.co/t/x-pack-problem/201634)

<div class="topic-metadata">

**Author:** [@Pierrelaurent](https://discuss.elastic.co/u/Pierrelaurent)\
**Replies:** 3\
**Last updated:** [September 30, 2019, 7:51pm UTC](https://discuss.elastic.co/t/x-pack-problem/201634 "2019-09-30T19:51:28Z")

</div>

Hi, I installed elasticsearch from the repository's. How can I uninstall x-pack?

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

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