# Elasticsearch

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

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

**Page:** 1642

---

## [How to use wildcard in get Index java api](https://discuss.elastic.co/t/how-to-use-wildcard-in-get-index-java-api/137275)

<div class="topic-metadata">

**Author:** [@rajesh\_elasticsearch](https://discuss.elastic.co/u/rajesh_elasticsearch)\
**Replies:** 0\
**Last updated:** [June 25, 2018, 2:25pm UTC](https://discuss.elastic.co/t/how-to-use-wildcard-in-get-index-java-api/137275 "2018-06-25T14:25:17Z")

</div>

GET logs-\* To get all the index we using (\_all) java api : esClient.admin().indices().prepareStats().all().get(). But if I want to use wildcard ( logs-\* ), I can user Get logs-\* in kibana but how to archive this in JA…

---

## [License+monitoring issue after upgrading to 6.3.0](https://discuss.elastic.co/t/license-monitoring-issue-after-upgrading-to-6-3-0/136892)

<div class="topic-metadata">

**Author:** [@JohanRask](https://discuss.elastic.co/u/JohanRask)\
**Replies:** 2\
**Last updated:** [June 25, 2018, 2:06pm UTC](https://discuss.elastic.co/t/license-monitoring-issue-after-upgrading-to-6-3-0/136892 "2018-06-25T14:06:33Z")

</div>

Hi, We are "on our way" to production but we are still on a trial license. and today we migrated our elasticsearch cluster to 6.3.0 (kibana is still on 6.2.4). During installation of elasticsearch-6.3.0 the license inf…

---

## [How to calculate the total document length](https://discuss.elastic.co/t/how-to-calculate-the-total-document-length/137164)

<div class="topic-metadata">

**Author:** [@atef](https://discuss.elastic.co/u/atef)\
**Replies:** 6\
**Last updated:** [June 25, 2018, 1:55pm UTC](https://discuss.elastic.co/t/how-to-calculate-the-total-document-length/137164 "2018-06-25T13:55:30Z")

</div>

please is there anyone know how to calculate the total document length (number of characters)

---

## [Is the data stored by Lucene in file system readable/is plain text or is encrypted/unreadable?](https://discuss.elastic.co/t/is-the-data-stored-by-lucene-in-file-system-readable-is-plain-text-or-is-encrypted-unreadable/137257)

<div class="topic-metadata">

**Author:** [@Priyanka\_Sharma](https://discuss.elastic.co/u/Priyanka_Sharma)\
**Replies:** 2\
**Last updated:** [June 25, 2018, 1:42pm UTC](https://discuss.elastic.co/t/is-the-data-stored-by-lucene-in-file-system-readable-is-plain-text-or-is-encrypted-unreadable/137257 "2018-06-25T13:42:28Z")

</div>

I need to store some sensitive data in elasticsearch. Since data is actually stored by Lucene in file-system, is it in plain text/Json format that is readable if i access the file system directly or is it encrypted/garb…

---

## [Number of match words](https://discuss.elastic.co/t/number-of-match-words/137256)

<div class="topic-metadata">

**Author:** [@atef](https://discuss.elastic.co/u/atef)\
**Replies:** 0\
**Last updated:** [June 25, 2018, 1:03pm UTC](https://discuss.elastic.co/t/number-of-match-words/137256 "2018-06-25T13:03:08Z")

</div>

please is there anyone know how to calculate number of match words between request and document

---

## [Appropriate Cluster Setup](https://discuss.elastic.co/t/appropriate-cluster-setup/136920)

<div class="topic-metadata">

**Author:** [@elnapo](https://discuss.elastic.co/u/elnapo)\
**Replies:** 6\
**Last updated:** [June 25, 2018, 12:14pm UTC](https://discuss.elastic.co/t/appropriate-cluster-setup/136920 "2018-06-25T12:14:10Z")

</div>

Hello, I am facing the following conditions I need set up an Elasticsearch Cluster and may recalculate the hardware resources. Even if some people won't like... conditions: 512GB RAM, 26 CPU Cores, traditional text-ba…

---

## [Watcher doesn't work (empty result)](https://discuss.elastic.co/t/watcher-doesnt-work-empty-result/136316)

<div class="topic-metadata">

**Author:** [@\_Sergey](https://discuss.elastic.co/u/_Sergey)\
**Replies:** 21\
**Last updated:** [June 25, 2018, 11:30am UTC](https://discuss.elastic.co/t/watcher-doesnt-work-empty-result/136316 "2018-06-25T11:30:56Z")

</div>

Hi all, I have a watcher in Kibana that doesn't work (condition is if ctx.payload.hits.total == 0, then send notification via slack). BUT: If you check the Execution Output of Watcher you can see that there are no to…

---

## [X-Pack Watcher Duplicate Slack Notifications](https://discuss.elastic.co/t/x-pack-watcher-duplicate-slack-notifications/136087)

<div class="topic-metadata">

**Author:** [@ddregalo](https://discuss.elastic.co/u/ddregalo)\
**Replies:** 2\
**Last updated:** [June 25, 2018, 11:11am UTC](https://discuss.elastic.co/t/x-pack-watcher-duplicate-slack-notifications/136087 "2018-06-25T11:11:03Z")

</div>

Hi, I have set up a watcher to check "monitor.status": "down" with a condition of "ctx.payload.hits.total" : { "gt": 0 } and throttle\_period of 30 minutes (inside the actions) for a "notify-slack" action. This works fi…

---

## [Data Aggregation (timeseries)](https://discuss.elastic.co/t/data-aggregation-timeseries/136522)

<div class="topic-metadata">

**Author:** [@David\_Roy](https://discuss.elastic.co/u/David_Roy)\
**Replies:** 2\
**Last updated:** [June 25, 2018, 10:36am UTC](https://discuss.elastic.co/t/data-aggregation-timeseries/136522 "2018-06-25T10:36:43Z")

</div>

Hello I poll data on several network equipment periodically (every 2m) and push these data in ES index as Timeseries data. I'm wondering what is the best way to limit the size of the index during time. For instance, I w…

---

## [Getting metadata of the extracted text from a file](https://discuss.elastic.co/t/getting-metadata-of-the-extracted-text-from-a-file/137058)

<div class="topic-metadata">

**Author:** [@AmeyRok](https://discuss.elastic.co/u/AmeyRok)\
**Replies:** 2\
**Last updated:** [June 25, 2018, 10:04am UTC](https://discuss.elastic.co/t/getting-metadata-of-the-extracted-text-from-a-file/137058 "2018-06-25T10:04:11Z")

</div>

I have converted a pdf file into json by using tika and json library in python. While i want to search for a keyword in my index, I also want to have the page no. of the pdf file from which i extracted the data to index…

---

## [JDBC Driver From Maven](https://discuss.elastic.co/t/jdbc-driver-from-maven/136736)

<div class="topic-metadata">

**Author:** [@gboro54](https://discuss.elastic.co/u/gboro54)\
**Replies:** 9\
**Last updated:** [June 25, 2018, 9:49am UTC](https://discuss.elastic.co/t/jdbc-driver-from-maven/136736 "2018-06-25T09:49:36Z")

</div>

I have tried following the directions provided in the documentation and yet still can't seem to get the MVN dependency for the new JDBC jar to work. AM I potentially missing something? \<dependency\> \<gro…

---

## [Alert when watcher is in error state - .watcher\_history](https://discuss.elastic.co/t/alert-when-watcher-is-in-error-state-watcher-history/136348)

<div class="topic-metadata">

**Author:** [@Piotr\_Pawlak](https://discuss.elastic.co/u/Piotr_Pawlak)\
**Replies:** 4\
**Last updated:** [June 25, 2018, 9:06am UTC](https://discuss.elastic.co/t/alert-when-watcher-is-in-error-state-watcher-history/136348 "2018-06-25T09:06:57Z")

</div>

Hi, we have a number of watchers that send notification to rest\_api (Service.now) to create an incident. I would like to create a generic alert that if a watcher cannot send notification or is in Error state (Execution …

---

## [Encrypting Sensitive Data in Watcher - How?](https://discuss.elastic.co/t/encrypting-sensitive-data-in-watcher-how/135790)

<div class="topic-metadata">

**Author:** [@aaronloesattv](https://discuss.elastic.co/u/aaronloesattv)\
**Replies:** 3\
**Last updated:** [June 25, 2018, 8:45am UTC](https://discuss.elastic.co/t/encrypting-sensitive-data-in-watcher-how/135790 "2018-06-25T08:45:44Z")

</div>

This document talks about encrypting sensitive data in watcher. It only covers the configuration of the cluster but says nothing about how to actually encrypt the data or identify which data is sensitive. https://www.el…

---

## [ElasticSearch SQL pagination and format](https://discuss.elastic.co/t/elasticsearch-sql-pagination-and-format/137066)

<div class="topic-metadata">

**Author:** [@jurquiza](https://discuss.elastic.co/u/jurquiza)\
**Replies:** 2\
**Last updated:** [June 25, 2018, 8:22am UTC](https://discuss.elastic.co/t/elasticsearch-sql-pagination-and-format/137066 "2018-06-25T08:22:58Z")

</div>

Hello! Im currently developing a web api and im using elastic as a GET method(with REST). I´ve seen that every time you perform a search a new cursor is created, if i try to go back to a previous cursor(lets say fro…

---

## [Filebeat to Elasticsearch log shipping is very slow](https://discuss.elastic.co/t/filebeat-to-elasticsearch-log-shipping-is-very-slow/135570)

<div class="topic-metadata">

**Author:** [@rajisankar](https://discuss.elastic.co/u/rajisankar)\
**Replies:** 8\
**Last updated:** [June 25, 2018, 6:57am UTC](https://discuss.elastic.co/t/filebeat-to-elasticsearch-log-shipping-is-very-slow/135570 "2018-06-25T06:57:57Z")

</div>

Hi, I have found some posts on this before. But, have not got a definitive answer with respect to Beats 6.x as spool\_size has been removed. The following tests have been performed on Filebeat 6.x Elasticsearch 6.2.4 …

---

## [Is it possible to show prefix in suggester from different index?](https://discuss.elastic.co/t/is-it-possible-to-show-prefix-in-suggester-from-different-index/136479)

<div class="topic-metadata">

**Author:** [@rs123](https://discuss.elastic.co/u/rs123)\
**Replies:** 4\
**Last updated:** [June 25, 2018, 6:20am UTC](https://discuss.elastic.co/t/is-it-possible-to-show-prefix-in-suggester-from-different-index/136479 "2018-06-25T06:20:45Z")

</div>

In documents if I store some strings in prefix field then they are being shown in suggestions but if I want to show prefix from other index, can it be done and how?

---

## [Elasticsearch on docker: Volume mounted as root user leading to permission issue](https://discuss.elastic.co/t/elasticsearch-on-docker-volume-mounted-as-root-user-leading-to-permission-issue/136872)

<div class="topic-metadata">

**Author:** [@Nikhil\_Utane](https://discuss.elastic.co/u/Nikhil_Utane)\
**Replies:** 5\
**Last updated:** [June 25, 2018, 5:45am UTC](https://discuss.elastic.co/t/elasticsearch-on-docker-volume-mounted-as-root-user-leading-to-permission-issue/136872 "2018-06-25T05:45:43Z")

</div>

Hi, I am trying to bring up an ES cluster on docker by following the instructions given here. I am using named volume to provide persistence for the data. However docker-compose up fails due to permission issue. I see …

---

## [Remote skip\_unavailable?how to set?](https://discuss.elastic.co/t/remote-skip-unavailable-how-to-set/136985)

<div class="topic-metadata">

**Author:** [@ququ](https://discuss.elastic.co/u/ququ)\
**Replies:** 7\
**Last updated:** [June 25, 2018, 1:59am UTC](https://discuss.elastic.co/t/remote-skip-unavailable-how-to-set/136985 "2018-06-25T01:59:06Z")

</div>

Follow the instrument in Cross cluster Search, use PUT \_cluster/settings { "persistent":{ "search.remote.cluster\*.skip\_unavailable":true } } reply as below: "error":{ "type":"illegal\_argument\_exception", "reas…

---

## [Setup password for Elasticsearch in windows cmd](https://discuss.elastic.co/t/setup-password-for-elasticsearch-in-windows-cmd/135577)

<div class="topic-metadata">

**Author:** [@sravan\_gottipaty](https://discuss.elastic.co/u/sravan_gottipaty)\
**Replies:** 5\
**Last updated:** [June 25, 2018, 1:45am UTC](https://discuss.elastic.co/t/setup-password-for-elasticsearch-in-windows-cmd/135577 "2018-06-25T01:45:53Z")

</div>

Elasticsearch and kibana were running perfectly before but when I installed x-pack it started asking for the password I looked at the forums but they all were in the linux environment. I tried typing in the default usern…

---

## [\_xpack write, create, index permission - Confusing](https://discuss.elastic.co/t/xpack-write-create-index-permission-confusing/137063)

<div class="topic-metadata">

**Author:** [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)\
**Replies:** 3\
**Last updated:** [June 25, 2018, 1:42am UTC](https://discuss.elastic.co/t/xpack-write-create-index-permission-confusing/137063 "2018-06-25T01:42:35Z")

</div>

https://www.elastic.co/guide/en/elastic-stack-overview/6.3/security-privileges.html Does all the above allow to create a indice to give user. I'm trying to figure out what permission would allow a user only to add, upd…

---

## [X-pack ID monitoring Issue](https://discuss.elastic.co/t/x-pack-id-monitoring-issue/135502)

<div class="topic-metadata">

**Author:** [@Yoni\_Al1984](https://discuss.elastic.co/u/Yoni_Al1984)\
**Replies:** 3\
**Last updated:** [June 24, 2018, 9:14pm UTC](https://discuss.elastic.co/t/x-pack-id-monitoring-issue/135502 "2018-06-24T21:14:33Z")

</div>

I'm working with amazon EC2 instances, and duplicate some instances by running new instances from AMI. After installing logstash 6.2 and x-pack on every instance, I'm trying this call curl -XGET 'localhost:9600/?pretty' …

---

## [Mapping \_id field from the fields specified](https://discuss.elastic.co/t/mapping-id-field-from-the-fields-specified/137009)

<div class="topic-metadata">

**Author:** [@saikiran](https://discuss.elastic.co/u/saikiran)\
**Replies:** 1\
**Last updated:** [June 24, 2018, 8:46pm UTC](https://discuss.elastic.co/t/mapping-id-field-from-the-fields-specified/137009 "2018-06-24T20:46:13Z")

</div>

Let say i have a document with id field inside. When I submit the document to an index without id, it will generate id automatically. Is there any possibility that it should take the inside id or any internal document f…

---

## [ES High Availability Requirements](https://discuss.elastic.co/t/es-high-availability-requirements/137118)

<div class="topic-metadata">

**Author:** [@ninewb](https://discuss.elastic.co/u/ninewb)\
**Replies:** 1\
**Last updated:** [June 24, 2018, 8:42pm UTC](https://discuss.elastic.co/t/es-high-availability-requirements/137118 "2018-06-24T20:42:40Z")

</div>

Apologize for my novice questions. I did an initial search and could not find this mentioned anywhere. I wanted to find some documentation or information to solidify my understanding in the required number of nodes for…

---

## [No Compatible Fields: types: geo\_point](https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151)

<div class="topic-metadata">

**Author:** [@teoman](https://discuss.elastic.co/u/teoman)\
**Replies:** 7\
**Last updated:** [June 24, 2018, 7:07pm UTC](https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151 "2018-06-24T19:07:57Z")

</div>

I am following practices below; I am using both Elasticsearch & Kibana version 6.2.1 I followed instructions as below; But, I am getting following error: No Compatible Fields: The "logstash\*" index pattern d…

---

## [Help to writing a request](https://discuss.elastic.co/t/help-to-writing-a-request/137152)

<div class="topic-metadata">

**Author:** [@atef](https://discuss.elastic.co/u/atef)\
**Replies:** 3\
**Last updated:** [June 24, 2018, 5:01pm UTC](https://discuss.elastic.co/t/help-to-writing-a-request/137152 "2018-06-24T17:01:04Z")

</div>

Hello I have two documents in the elastic search database document 1 { section = "baby" category = "Clothing" subcategory = "shoe" } document 2 { section = "baby" category = "Clothing" subcategory = "" } I …

---

## [Slow ingestion problem (v 6.2.3)](https://discuss.elastic.co/t/slow-ingestion-problem-v-6-2-3/136225)

<div class="topic-metadata">

**Author:** [@klahnakoski](https://discuss.elastic.co/u/klahnakoski)\
**Replies:** 13\
**Last updated:** [June 24, 2018, 4:11pm UTC](https://discuss.elastic.co/t/slow-ingestion-problem-v-6-2-3/136225 "2018-06-24T16:11:26Z")

</div>

I have a 12 node cluster, with 28 indices and 1646 shards (I am targeting 20gigs per shard) I have spent a month, on and off, trying to figure out why ingestion is too slow; it can not keep up with the rate that the doc…

---

## [Remove field from index mapping](https://discuss.elastic.co/t/remove-field-from-index-mapping/137140)

<div class="topic-metadata">

**Author:** [@Mozuffer](https://discuss.elastic.co/u/Mozuffer)\
**Replies:** 1\
**Last updated:** [June 24, 2018, 12:13pm UTC](https://discuss.elastic.co/t/remove-field-from-index-mapping/137140 "2018-06-24T12:13:21Z")

</div>

I'm trying to upgrate elasticsearch from 1.x to 2.x and I found that I have some field name with dot so I deleted all the indexes type has contained that field with dot but still the index mapping contains those field…

---

## [Wildcard (\*) search in elasticsearch](https://discuss.elastic.co/t/wildcard-search-in-elasticsearch/137069)

<div class="topic-metadata">

**Author:** [@Nataraj\_Gandhi\_aruna](https://discuss.elastic.co/u/Nataraj_Gandhi_aruna)\
**Replies:** 2\
**Last updated:** [June 24, 2018, 6:07am UTC](https://discuss.elastic.co/t/wildcard-search-in-elasticsearch/137069 "2018-06-24T06:07:07Z")

</div>

Hi, When i search through my index performing a query\_string search with just the term, "\*". I see a set of results. I am just trying to find out if elasticsearch applies any logic while searching with just the wildcar…

---

## [Geo\_shape mapping issue](https://discuss.elastic.co/t/geo-shape-mapping-issue/137107)

<div class="topic-metadata">

**Author:** [@alakh\_kumar](https://discuss.elastic.co/u/alakh_kumar)\
**Replies:** 4\
**Last updated:** [June 24, 2018, 4:13am UTC](https://discuss.elastic.co/t/geo-shape-mapping-issue/137107 "2018-06-24T04:13:28Z")

</div>

I am using : Magento Version : CE Version 2.1 ElasticSuite Version :2.3 when i try to map geo\_shape it showing me error message : mapper\_parsing\_exception: Mapping definition for \[coordinates\] has unsupported paramete…

---

## [Field name cannot be an empty string](https://discuss.elastic.co/t/field-name-cannot-be-an-empty-string/137121)

<div class="topic-metadata">

**Author:** [@viewmithun](https://discuss.elastic.co/u/viewmithun)\
**Replies:** 1\
**Last updated:** [June 23, 2018, 5:45pm UTC](https://discuss.elastic.co/t/field-name-cannot-be-an-empty-string/137121 "2018-06-23T17:45:18Z")

</div>

Hi Team, I am trying to transport bulk reports from a different VM (192.168.0.xxx) to Elasticsearch machine (192.168.0.xxx). I saw the below error in /var/log/elasticsearch/elasticsearch.log Error: \[2018-06-18Txx:xx:…

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

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