# Elasticsearch

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

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

**Page:** 1578

---

## [Skript for running elasticsearch from command line / bin](https://discuss.elastic.co/t/skript-for-running-elasticsearch-from-command-line-bin/144177)

<div class="topic-metadata">

**Author:** [@sbienert](https://discuss.elastic.co/u/sbienert)\
**Replies:** 1\
**Last updated:** [August 17, 2018, 11:33am UTC](https://discuss.elastic.co/t/skript-for-running-elasticsearch-from-command-line-bin/144177 "2018-08-17T11:33:20Z")

</div>

Hello, I needed to install a different instance of elasticsearch-6.2.4 with .tar.gz on our debian server. We are almost always accessing our servers with root user. Elasticsearch cannot be run as root. It would be verry…

---

## [ES throws 404 File or directory not found](https://discuss.elastic.co/t/es-throws-404-file-or-directory-not-found/144812)

<div class="topic-metadata">

**Author:** [@dimalini](https://discuss.elastic.co/u/dimalini)\
**Replies:** 6\
**Last updated:** [August 17, 2018, 11:23am UTC](https://discuss.elastic.co/t/es-throws-404-file-or-directory-not-found/144812 "2018-08-17T11:23:58Z")

</div>

Hi, We recently saw a customer report indexing failures with 404 File or directory not found. This is happening in ES version 5.6. Any help here what is contributing to this failure ? Details present in the response …

---

## [Installation of ElasticSearch Cluster on AWS EC2 with 3 nodes](https://discuss.elastic.co/t/installation-of-elasticsearch-cluster-on-aws-ec2-with-3-nodes/144659)

<div class="topic-metadata">

**Author:** [@hussain7](https://discuss.elastic.co/u/hussain7)\
**Replies:** 2\
**Last updated:** [August 17, 2018, 11:22am UTC](https://discuss.elastic.co/t/installation-of-elasticsearch-cluster-on-aws-ec2-with-3-nodes/144659 "2018-08-17T11:22:28Z")

</div>

Hello All, I am a newbie to ElasticSearch Cluster Setup and need help regarding installation. Below is my config for all the 3 nodes. Using ElasticSearch-6.3.2 on Amazon Linux. Master Config cluster.name: prod node.n…

---

## [RequestOptions cannot be resolved to a variable](https://discuss.elastic.co/t/requestoptions-cannot-be-resolved-to-a-variable/143681)

<div class="topic-metadata">

**Author:** [@agrawal](https://discuss.elastic.co/u/agrawal)\
**Replies:** 1\
**Last updated:** [August 17, 2018, 11:21am UTC](https://discuss.elastic.co/t/requestoptions-cannot-be-resolved-to-a-variable/143681 "2018-08-17T11:21:54Z")

</div>

I am trying to search the data in ES using RestHighLevelClient and referring the documentation available at (https://www.elastic.co/guide/en/elasticsearch/client/java-rest/master/java-rest-high-search.html) but getting a…

---

## [Custom fields in mysql @ metricbeat (rather than the usual mysql.status)](https://discuss.elastic.co/t/custom-fields-in-mysql-metricbeat-rather-than-the-usual-mysql-status/144663)

<div class="topic-metadata">

**Author:** [@f3r](https://discuss.elastic.co/u/f3r)\
**Replies:** 1\
**Last updated:** [August 17, 2018, 10:53am UTC](https://discuss.elastic.co/t/custom-fields-in-mysql-metricbeat-rather-than-the-usual-mysql-status/144663 "2018-08-17T10:53:32Z")

</div>

Hello Community I'm trying configure some mysql monitoring using ELK. But, after installing and configuring metricbeats, but I can't seem to configure other values other than those from the show global status query. I…

---

## [Cloud.elastic.co restore from snapshot and index templates](https://discuss.elastic.co/t/cloud-elastic-co-restore-from-snapshot-and-index-templates/144886)

<div class="topic-metadata">

**Author:** [@agonzalez](https://discuss.elastic.co/u/agonzalez)\
**Replies:** 0\
**Last updated:** [August 17, 2018, 10:52am UTC](https://discuss.elastic.co/t/cloud-elastic-co-restore-from-snapshot-and-index-templates/144886 "2018-08-17T10:52:21Z")

</div>

I created a new cluster in cloud elastic and restore from other cluster snapshot and the new cluster has all data but it doesnt have the index templates i created. Any idea why templates are not restored from snapshot?

---

## [ElasticSearch 6.3.2 Could not create JVM when start](https://discuss.elastic.co/t/elasticsearch-6-3-2-could-not-create-jvm-when-start/144856)

<div class="topic-metadata">

**Author:** [@zhuzixiao](https://discuss.elastic.co/u/zhuzixiao)\
**Replies:** 1\
**Last updated:** [August 17, 2018, 10:23am UTC](https://discuss.elastic.co/t/elasticsearch-6-3-2-could-not-create-jvm-when-start/144856 "2018-08-17T10:23:51Z")

</div>

I have just installed elastic search 6.3.2 on my win 10 pc from msi package. But when I tried to start the elasticsearch.exe in the command line, I was promted some issues related to JVM version. The error messages are: …

---

## [What are the differences for x86 vs x64?](https://discuss.elastic.co/t/what-are-the-differences-for-x86-vs-x64/144823)

<div class="topic-metadata">

**Author:** [@oms1226](https://discuss.elastic.co/u/oms1226)\
**Replies:** 2\
**Last updated:** [August 17, 2018, 9:40am UTC](https://discuss.elastic.co/t/what-are-the-differences-for-x86-vs-x64/144823 "2018-08-17T09:40:06Z")

</div>

I see the error log; "Machine Learning is not available for \[linux-x86\]". I wonder the differences between running in x86 and running in x64?

---

## [ES start error and logstash](https://discuss.elastic.co/t/es-start-error-and-logstash/144705)

<div class="topic-metadata">

**Author:** [@Arun\_Murugappan](https://discuss.elastic.co/u/Arun_Murugappan)\
**Replies:** 1\
**Last updated:** [August 17, 2018, 9:30am UTC](https://discuss.elastic.co/t/es-start-error-and-logstash/144705 "2018-08-17T09:30:24Z")

</div>

I am unable to start ES. logstash v2. It is running on Java version 1.7, suse linux 11. How do i check and clear the diskspace of nodes? Error while starting ES (not screenshots) service elasticsearch start Starting…

---

## [What are .monitoring indices?](https://discuss.elastic.co/t/what-are-monitoring-indices/144855)

<div class="topic-metadata">

**Author:** [@cawoodm](https://discuss.elastic.co/u/cawoodm)\
**Replies:** 3\
**Last updated:** [August 17, 2018, 9:26am UTC](https://discuss.elastic.co/t/what-are-monitoring-indices/144855 "2018-08-17T09:26:24Z")

</div>

We are using ELK but NOT X-Pack and recently upgraded to 6.3. We have noticed the following indices appearing: monitoring-es-6-2018.08.12 monitoring-es-6-2018.08.11 monitoring-es-6-2018.08.17 monitoring-kibana-6-2018…

---

## [NoSuchMethodError: org.elasticsearch.action.search.SearchResponse.fromXContent](https://discuss.elastic.co/t/nosuchmethoderror-org-elasticsearch-action-search-searchresponse-fromxcontent/144146)

<div class="topic-metadata">

**Author:** [@Vladimir\_Fedotov](https://discuss.elastic.co/u/Vladimir_Fedotov)\
**Replies:** 1\
**Last updated:** [August 17, 2018, 9:22am UTC](https://discuss.elastic.co/t/nosuchmethoderror-org-elasticsearch-action-search-searchresponse-fromxcontent/144146 "2018-08-17T09:22:07Z")

</div>

Hello, I'm trying to use the high level API like this: final CredentialsProvider credentialsProvider = new BasicCredentialsProvider(); credentialsProvider.setCredentials(AuthScope.ANY, new UsernamePa…

---

## [Java High Level Rest Client - typed\_keys parameter](https://discuss.elastic.co/t/java-high-level-rest-client-typed-keys-parameter/144544)

<div class="topic-metadata">

**Author:** [@Oktaz](https://discuss.elastic.co/u/Oktaz)\
**Replies:** 1\
**Last updated:** [August 17, 2018, 9:19am UTC](https://discuss.elastic.co/t/java-high-level-rest-client-typed-keys-parameter/144544 "2018-08-17T09:19:11Z")

</div>

Using the High Level REST Client, I'm unable to find a way of setting the "typed\_keys" parameter on a search post. I am using the SearchRequest object and RestHighLevelClient.

---

## [Locked/read only indices](https://discuss.elastic.co/t/locked-read-only-indices/144850)

<div class="topic-metadata">

**Author:** [@nkaenzig](https://discuss.elastic.co/u/nkaenzig)\
**Replies:** 7\
**Last updated:** [August 17, 2018, 9:02am UTC](https://discuss.elastic.co/t/locked-read-only-indices/144850 "2018-08-17T09:02:54Z")

</div>

When I try to change my visualizations in Kibana I get the following message: Visualization Editor: blocked by: \[FORBIDDEN/12/index read-only / allow delete (api)\];: \[cluster\_block\_exception\] blocked by: \[FORBIDDEN/12/i…

---

## [Watcher to check if a cluster node is online](https://discuss.elastic.co/t/watcher-to-check-if-a-cluster-node-is-online/143474)

<div class="topic-metadata">

**Author:** [@sahil\_sawhney](https://discuss.elastic.co/u/sahil_sawhney)\
**Replies:** 5\
**Last updated:** [August 17, 2018, 8:57am UTC](https://discuss.elastic.co/t/watcher-to-check-if-a-cluster-node-is-online/143474 "2018-08-17T08:57:19Z")

</div>

The Kibana UI for elasticsearch cluster renders as follows here i need to apply watcher on the node status so that whenever a node is offline i get a email trigger. Inputs are highly appriciated

---

## [Search for documents with exactly different fields values](https://discuss.elastic.co/t/search-for-documents-with-exactly-different-fields-values/144586)

<div class="topic-metadata">

**Author:** [@Ranieri\_Mazili\_de\_Ol](https://discuss.elastic.co/u/Ranieri_Mazili_de_Ol)\
**Replies:** 1\
**Last updated:** [August 17, 2018, 8:50am UTC](https://discuss.elastic.co/t/search-for-documents-with-exactly-different-fields-values/144586 "2018-08-17T08:50:26Z")

</div>

I'm adding documents with the following strutucte { "proposta": { "matriculaIndicacao": 654321, "filial": 100, "cpf": "12345678901", "idStatus": "3", "status": "Reprovada", …

---

## [S3 snapshots in ES v1.7?](https://discuss.elastic.co/t/s3-snapshots-in-es-v1-7/144765)

<div class="topic-metadata">

**Author:** [@Turbo\_Fredriksson](https://discuss.elastic.co/u/Turbo_Fredriksson)\
**Replies:** 0\
**Last updated:** [August 16, 2018, 6:32pm UTC](https://discuss.elastic.co/t/s3-snapshots-in-es-v1-7/144765 "2018-08-16T18:32:07Z")

</div>

I'm mainly using the AWS ES Service, where I can register a snapshot repository without problem. However, one of our legacy applications are forced to use v1.7, so I have a EC2 instance with ES v1.7 running in a Docker …

---

## [NEST (C#) Index list of custom, location-like objects - how to map it to index properly?](https://discuss.elastic.co/t/nest-c-index-list-of-custom-location-like-objects-how-to-map-it-to-index-properly/144598)

<div class="topic-metadata">

**Author:** [@ivankarpey](https://discuss.elastic.co/u/ivankarpey)\
**Replies:** 5\
**Last updated:** [August 17, 2018, 8:35am UTC](https://discuss.elastic.co/t/nest-c-index-list-of-custom-location-like-objects-how-to-map-it-to-index-properly/144598 "2018-08-17T08:35:47Z")

</div>

I have a simple Poco class Product { ... public List Adrresses {get; set;} } class GeoItem { public string Address {get; set;} public double Latititude {get; set;} public double Longitude {get; set;} .... …

---

## [Initial data load](https://discuss.elastic.co/t/initial-data-load/144837)

<div class="topic-metadata">

**Author:** [@katre](https://discuss.elastic.co/u/katre)\
**Replies:** 1\
**Last updated:** [August 17, 2018, 7:52am UTC](https://discuss.elastic.co/t/initial-data-load/144837 "2018-08-17T07:52:49Z")

</div>

Hi. We have a scenario where n clients use elastic cluster. In case no data has been added to elastic we need to load data from db and cache it in elasticsearch. It would be easy in case of one client and elastic server.…

---

## [Kibana Gone RED from Elastic over indexing or something?](https://discuss.elastic.co/t/kibana-gone-red-from-elastic-over-indexing-or-something/144617)

<div class="topic-metadata">

**Author:** [@Krittapas\_Jewjaitham](https://discuss.elastic.co/u/Krittapas_Jewjaitham)\
**Replies:** 11\
**Last updated:** [August 17, 2018, 7:31am UTC](https://discuss.elastic.co/t/kibana-gone-red-from-elastic-over-indexing-or-something/144617 "2018-08-17T07:31:51Z")

</div>

First of all, I'm very new with this kibana and Elastic Search. I'm using it to be search optimization for HPE CM as a search module. And there's a problem that kibana gone RED and freezed. Now the kibana's status is fr…

---

## [How to model a document's state history?](https://discuss.elastic.co/t/how-to-model-a-documents-state-history/144684)

<div class="topic-metadata">

**Author:** [@jamminbean](https://discuss.elastic.co/u/jamminbean)\
**Replies:** 3\
**Last updated:** [August 17, 2018, 7:28am UTC](https://discuss.elastic.co/t/how-to-model-a-documents-state-history/144684 "2018-08-17T07:28:09Z")

</div>

Let's assume I have a document, which can have a state together with the timestamp when the document was set to this state. I want to know the document's current state as well as the document's state history. Basically,…

---

## [Search without duplicates, sort by score, highlighting and with fuzzy search](https://discuss.elastic.co/t/search-without-duplicates-sort-by-score-highlighting-and-with-fuzzy-search/144830)

<div class="topic-metadata">

**Author:** [@hestus](https://discuss.elastic.co/u/hestus)\
**Replies:** 0\
**Last updated:** [August 17, 2018, 6:59am UTC](https://discuss.elastic.co/t/search-without-duplicates-sort-by-score-highlighting-and-with-fuzzy-search/144830 "2018-08-17T06:59:58Z")

</div>

For my use case I need as the title states. Currently I have it working but it is rather slow. This is my implementation: $query\['body'\]\['aggs'\] = \[ 'title' =\> \[ 'terms' =\> …

---

## [Looking for java implementation](https://discuss.elastic.co/t/looking-for-java-implementation/144396)

<div class="topic-metadata">

**Author:** [@aliyesami](https://discuss.elastic.co/u/aliyesami)\
**Replies:** 3\
**Last updated:** [August 17, 2018, 6:58am UTC](https://discuss.elastic.co/t/looking-for-java-implementation/144396 "2018-08-17T06:58:51Z")

</div>

can I call this elasticsearch-SQL command from java ? if yes can someone tell me how curl -X POST http://hadoop1:9200/\_xpack/sql?format=txt -H 'Content-Type: application/json' -d '{"query": "SELECT \* FROM product WHERE…

---

## [Elasticsearch Cluster Timeouts](https://discuss.elastic.co/t/elasticsearch-cluster-timeouts/143712)

<div class="topic-metadata">

**Author:** [@Galambos\_Robert](https://discuss.elastic.co/u/Galambos_Robert)\
**Replies:** 13\
**Last updated:** [August 17, 2018, 6:56am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-timeouts/143712 "2018-08-17T06:56:03Z")

</div>

Hello It's my first topic , so I apreciate any help :slight\_smile: Scenario : I have filebeat installed on multiple windows machines sending data to 3 logstash (ubuntu servers). Filebeat is configured to spread the l…

---

## [Upgraded node in my cluster but status is still red](https://discuss.elastic.co/t/upgraded-node-in-my-cluster-but-status-is-still-red/144826)

<div class="topic-metadata">

**Author:** [@McElroy](https://discuss.elastic.co/u/McElroy)\
**Replies:** 2\
**Last updated:** [August 17, 2018, 6:55am UTC](https://discuss.elastic.co/t/upgraded-node-in-my-cluster-but-status-is-still-red/144826 "2018-08-17T06:55:46Z")

</div>

Hi, I finally upgraded one of my nodes but the status doesnt get green. On the upgrade node I have the following message in my log. 2018-08-17T08:28:18,323\]\[INFO \]\[o.e.x.m.e.l.LocalExporter\] waiting for elected master …

---

## [Index data to elasticsearch](https://discuss.elastic.co/t/index-data-to-elasticsearch/144783)

<div class="topic-metadata">

**Author:** [@He\_Pamela](https://discuss.elastic.co/u/He_Pamela)\
**Replies:** 1\
**Last updated:** [August 17, 2018, 6:32am UTC](https://discuss.elastic.co/t/index-data-to-elasticsearch/144783 "2018-08-17T06:32:38Z")

</div>

Hi, I want to index many data to Elasticsearch. But I have the problem, that is a lot of data that logstash fails the conexion for too many retries. I've tried with Bulk api from python, but it is too slow. and Ive t…

---

## [Too many closed indices influence the Elasticsearch performance?](https://discuss.elastic.co/t/too-many-closed-indices-influence-the-elasticsearch-performance/144718)

<div class="topic-metadata">

**Author:** [@xjtushilei](https://discuss.elastic.co/u/xjtushilei)\
**Replies:** 3\
**Last updated:** [August 17, 2018, 6:22am UTC](https://discuss.elastic.co/t/too-many-closed-indices-influence-the-elasticsearch-performance/144718 "2018-08-17T06:22:36Z")

</div>

i want to know that a lot of closed indices can influence the Elasticsearch performance？ I hava 19,000 closed indices. I find that creating indexMapping is too slow in my cluster

---

## [\[RESOLVED\] Sporadically failing snapshots](https://discuss.elastic.co/t/resolved-sporadically-failing-snapshots/144645)

<div class="topic-metadata">

**Author:** [@vicpav](https://discuss.elastic.co/u/vicpav)\
**Replies:** 2\
**Last updated:** [August 17, 2018, 5:31am UTC](https://discuss.elastic.co/t/resolved-sporadically-failing-snapshots/144645 "2018-08-17T05:31:51Z")

</div>

Hi, We are using Elasticsearch 6.3.x deployed to Elastic Cloud which is configured against GCS (Europe West 1). About a week ago, some of the snapshots started to fail for 1-2 indices (out of ~500) with the warning in t…

---

## [Error=13, Permission denied](https://discuss.elastic.co/t/error-13-permission-denied/140056)

<div class="topic-metadata">

**Author:** [@guenter.platzerworld](https://discuss.elastic.co/u/guenter.platzerworld)\
**Replies:** 9\
**Last updated:** [August 17, 2018, 5:31am UTC](https://discuss.elastic.co/t/error-13-permission-denied/140056 "2018-08-17T05:31:25Z")

</div>

Hi, in ELK-Stack 6.3.x i get following Error: \[2018-07-15T13:37:00,885\]\[WARN \]\[o.e.b.ElasticsearchUncaughtExceptionHandler\] \[zebra-log-node-1\] uncaught exception in thread \[main\] org.elasticsearch.bootstrap.StartupExc…

---

## [Will elasticsearch 5.0 support embedded nodes?](https://discuss.elastic.co/t/will-elasticsearch-5-0-support-embedded-nodes/62331)

<div class="topic-metadata">

**Author:** [@Rajind\_Ruparathna](https://discuss.elastic.co/u/Rajind_Ruparathna)\
**Replies:** 6\
**Last updated:** [August 17, 2018, 5:29am UTC](https://discuss.elastic.co/t/will-elasticsearch-5-0-support-embedded-nodes/62331 "2018-08-17T05:29:46Z")

</div>

I would like to know whether Elasticsearch 5.0 supports embedded nodes. Thanks in advance.

---

## [SQL query failed due to multi-nested](https://discuss.elastic.co/t/sql-query-failed-due-to-multi-nested/144815)

<div class="topic-metadata">

**Author:** [@Siping\_Wang](https://discuss.elastic.co/u/Siping_Wang)\
**Replies:** 0\
**Last updated:** [August 17, 2018, 4:15am UTC](https://discuss.elastic.co/t/sql-query-failed-due-to-multi-nested/144815 "2018-08-17T04:15:16Z")

</div>

I am trying to index the following document and I have made results a nested type. { "template\_version": "B", "study": { "source": "A" }, "results": \[ { "barcode": "S",…

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

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