# Elasticsearch

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

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

**Page:** 1681

---

## [Import java classes into painless script](https://discuss.elastic.co/t/import-java-classes-into-painless-script/130699)

<div class="topic-metadata">

**Author:** [@A\_Med\_Student](https://discuss.elastic.co/u/A_Med_Student)\
**Replies:** 3\
**Last updated:** [May 22, 2018, 5:20pm UTC](https://discuss.elastic.co/t/import-java-classes-into-painless-script/130699 "2018-05-22T17:20:47Z")

</div>

Hi, I am migrating from an old version of elasticsearch (1.4.4). I had a groovy script, that was importing classes from the java classpath. With my earlier script I was executing updates, conditionally. With the new ve…

---

## [How to set threshold for multiple log sources those are sending logs using single index](https://discuss.elastic.co/t/how-to-set-threshold-for-multiple-log-sources-those-are-sending-logs-using-single-index/132862)

<div class="topic-metadata">

**Author:** [@addanuj](https://discuss.elastic.co/u/addanuj)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 5:15pm UTC](https://discuss.elastic.co/t/how-to-set-threshold-for-multiple-log-sources-those-are-sending-logs-using-single-index/132862 "2018-05-22T17:15:43Z")

</div>

Hi i have a condition here... Logsource 1 = Malwarebytes Logsource 2 = Symantec Logsource 3 = Vectra IDS Index name = logstash-security All are combined in a single Index, and I want to monitor logs sources if any …

---

## [Elasticsearch with hive](https://discuss.elastic.co/t/elasticsearch-with-hive/132855)

<div class="topic-metadata">

**Author:** [@Data\_geek](https://discuss.elastic.co/u/Data_geek)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 4:53pm UTC](https://discuss.elastic.co/t/elasticsearch-with-hive/132855 "2018-05-22T16:53:34Z")

</div>

Hello , Please i have an issue i want To index data from hive tables into elasticsearch cluster using Spark. Anyone can help me.

---

## [Help needed with MUST\_NOT in a nested query](https://discuss.elastic.co/t/help-needed-with-must-not-in-a-nested-query/132643)

<div class="topic-metadata">

**Author:** [@ccverak\_microapps](https://discuss.elastic.co/u/ccverak_microapps)\
**Replies:** 3\
**Last updated:** [May 22, 2018, 3:30pm UTC](https://discuss.elastic.co/t/help-needed-with-must-not-in-a-nested-query/132643 "2018-05-22T15:30:18Z")

</div>

Hi there, I have a recipients index containing a nested activity object which stores event types and campaign ids. Here is an example: { email: 'm1@example.com', userId: 'user-id' listId: 'list-id' cam…

---

## [Cope with coordination deprecation from Elasticsearch 6.0](https://discuss.elastic.co/t/cope-with-coordination-deprecation-from-elasticsearch-6-0/132844)

<div class="topic-metadata">

**Author:** [@hitotsukami](https://discuss.elastic.co/u/hitotsukami)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 3:03pm UTC](https://discuss.elastic.co/t/cope-with-coordination-deprecation-from-elasticsearch-6-0/132844 "2018-05-22T15:03:48Z")

</div>

Hi, I am migrating from Elasticsearch 1.5 to 6.2 on my recommendation system and I am facing some issue regarding the new score computation logic. I have opened a question here: https://stackoverflow.com/questions/5046…

---

## [Can't get X-Pack/Monitoring to work with basic license](https://discuss.elastic.co/t/cant-get-x-pack-monitoring-to-work-with-basic-license/131815)

<div class="topic-metadata">

**Author:** [@Jeremy\_Lecour](https://discuss.elastic.co/u/Jeremy_Lecour)\
**Replies:** 3\
**Last updated:** [May 22, 2018, 1:45pm UTC](https://discuss.elastic.co/t/cant-get-x-pack-monitoring-to-work-with-basic-license/131815 "2018-05-22T13:45:29Z")

</div>

Hi friends, I've just installed an Elasticsearch 6.2.4 cluster on with 4 nodes, with Kibana 6.2.4 and X-Pack (in Elasticsearch and Kibana). I've changed the license to "basic" and disabled "xpack.security". A "GET \_xpa…

---

## [Curator started reporting error in delete\_indices 'An HTTP line is larger than 4096 bytes.'](https://discuss.elastic.co/t/curator-started-reporting-error-in-delete-indices-an-http-line-is-larger-than-4096-bytes/132740)

<div class="topic-metadata">

**Author:** [@Mohammad\_Ramadan\_Abd](https://discuss.elastic.co/u/Mohammad_Ramadan_Abd)\
**Replies:** 2\
**Last updated:** [May 22, 2018, 1:05pm UTC](https://discuss.elastic.co/t/curator-started-reporting-error-in-delete-indices-an-http-line-is-larger-than-4096-bytes/132740 "2018-05-22T13:05:35Z")

</div>

Hello Friends, I have ELK stack with curator installed to delete logs older than 365 days. a script created is used to make this process under crontab job that used to delete these older than 365 days logs. everything…

---

## [Metricbeat x-pack monitoring](https://discuss.elastic.co/t/metricbeat-x-pack-monitoring/131780)

<div class="topic-metadata">

**Author:** [@Mario\_Fimiani](https://discuss.elastic.co/u/Mario_Fimiani)\
**Replies:** 2\
**Last updated:** [May 22, 2018, 12:58pm UTC](https://discuss.elastic.co/t/metricbeat-x-pack-monitoring/131780 "2018-05-22T12:58:57Z")

</div>

Which is the configuration to monitor via kibana (x-pack on board with elk 6.2.4), the metricbeat status ? We don't have the monitoring beat area with this configuration (it's seems to be some conflict between the elas…

---

## [Problem with re-indexing documents with inner objects](https://discuss.elastic.co/t/problem-with-re-indexing-documents-with-inner-objects/132795)

<div class="topic-metadata">

**Author:** [@Vahid](https://discuss.elastic.co/u/Vahid)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 11:12am UTC](https://discuss.elastic.co/t/problem-with-re-indexing-documents-with-inner-objects/132795 "2018-05-22T11:12:13Z")

</div>

Hi, I have a problem with reindexing the documents which contain inner objects. I've created first the desitination index with correct mapping and then run the reindexing api. However the documents are not created in th…

---

## [I have not found "elasticsearch-sql-cli"](https://discuss.elastic.co/t/i-have-not-found-elasticsearch-sql-cli/132798)

<div class="topic-metadata">

**Author:** [@elsonwx](https://discuss.elastic.co/u/elsonwx)\
**Replies:** 1\
**Last updated:** [May 22, 2018, 11:28am UTC](https://discuss.elastic.co/t/i-have-not-found-elasticsearch-sql-cli/132798 "2018-05-22T11:28:16Z")

</div>

I have not found elasticsearch-sql-cli? Is there something I have missed? \[%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE\_1396732e-1a1e-40b5-9eaf-bd9d099ccb70\] \[%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E…

---

## [Byte fields being represented in quotation marks](https://discuss.elastic.co/t/byte-fields-being-represented-in-quotation-marks/132783)

<div class="topic-metadata">

**Author:** [@siddharth\_jain](https://discuss.elastic.co/u/siddharth_jain)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 10:38am UTC](https://discuss.elastic.co/t/byte-fields-being-represented-in-quotation-marks/132783 "2018-05-22T10:38:51Z")

</div>

I am using a mapping on my index where some of the fields are "byte". "m\_Ad\_Impression\_Preroll": { "type": "byte" }, When I'm using the Search API to get documents, I am obtaining the value of the filed in quotatio…

---

## [How to get failed data from request when using BulkProcessor?](https://discuss.elastic.co/t/how-to-get-failed-data-from-request-when-using-bulkprocessor/132782)

<div class="topic-metadata">

**Author:** [@2016Gary](https://discuss.elastic.co/u/2016Gary)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 10:37am UTC](https://discuss.elastic.co/t/how-to-get-failed-data-from-request-when-using-bulkprocessor/132782 "2018-05-22T10:37:36Z")

</div>

Because of request failed，it will enter method (3) and it will lose some data. I want to save these failed data, but get null values. Why? And what should I do? Thx! BulkProcessor bulkProcessor = BulkProcessor.builder( …

---

## [Facing no permission error in plugin](https://discuss.elastic.co/t/facing-no-permission-error-in-plugin/132778)

<div class="topic-metadata">

**Author:** [@fhalde](https://discuss.elastic.co/u/fhalde)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 10:10am UTC](https://discuss.elastic.co/t/facing-no-permission-error-in-plugin/132778 "2018-05-22T10:10:31Z")

</div>

We have a home grown plugin that collects ES metrics. Things were working fine until our plugin was installed in a cluster with x-pack. We are facing the below exception while collecting node stats org.elasticsearch.Ela…

---

## [Java API getAsMap in Settings disappeared](https://discuss.elastic.co/t/java-api-getasmap-in-settings-disappeared/132775)

<div class="topic-metadata">

**Author:** [@piddie](https://discuss.elastic.co/u/piddie)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 10:02am UTC](https://discuss.elastic.co/t/java-api-getasmap-in-settings-disappeared/132775 "2018-05-22T10:02:09Z")

</div>

Hi I am currently upgrading our Java API Elasticsearch and stumbled across a method that has been removed between version 6.0.x and 6.1.x - without it being mentioned in the breaking changes. This is with respect to th…

---

## [How can I add bulk indexing batch sizes of 1000 in my elastic index?](https://discuss.elastic.co/t/how-can-i-add-bulk-indexing-batch-sizes-of-1000-in-my-elastic-index/132769)

<div class="topic-metadata">

**Author:** [@vinayakfutak](https://discuss.elastic.co/u/vinayakfutak)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 9:32am UTC](https://discuss.elastic.co/t/how-can-i-add-bulk-indexing-batch-sizes-of-1000-in-my-elastic-index/132769 "2018-05-22T09:32:52Z")

</div>

I want to copy 30000 data from cassandra to elastic search,but I want to copy using bulk request(at a time 1000 data can be write to elastic search). This is how I created bulk object Builder bulkRequest = new Bulk.Bu…

---

## [Create index pattern](https://discuss.elastic.co/t/create-index-pattern/132506)

<div class="topic-metadata">

**Author:** [@roshannk](https://discuss.elastic.co/u/roshannk)\
**Replies:** 4\
**Last updated:** [May 22, 2018, 8:49am UTC](https://discuss.elastic.co/t/create-index-pattern/132506 "2018-05-22T08:49:01Z")

</div>

Hello, this is my first time using ELK. When I try to make an index pattern I get the following; SummaryCreate index pattern Kibana uses index patterns to retrieve data from Elasticsearch indices for things like visu…

---

## [Geo\_point : elastisearch 5.6.4 on RPI3](https://discuss.elastic.co/t/geo-point-elastisearch-5-6-4-on-rpi3/132092)

<div class="topic-metadata">

**Author:** [@bruno-d](https://discuss.elastic.co/u/bruno-d)\
**Replies:** 8\
**Last updated:** [May 22, 2018, 8:43am UTC](https://discuss.elastic.co/t/geo-point-elastisearch-5-6-4-on-rpi3/132092 "2018-05-22T08:43:02Z")

</div>

Hi, i reset my instance (perfectly running from 4 months) due to design and shard computation issues on this tiny machine. Unfortunately, all is running again as a charm except MAP. I read many blogs, threads but no on…

---

## [Index optimum size Elasticsearch Cluster](https://discuss.elastic.co/t/index-optimum-size-elasticsearch-cluster/132734)

<div class="topic-metadata">

**Author:** [@gourmax](https://discuss.elastic.co/u/gourmax)\
**Replies:** 3\
**Last updated:** [May 22, 2018, 7:52am UTC](https://discuss.elastic.co/t/index-optimum-size-elasticsearch-cluster/132734 "2018-05-22T07:52:51Z")

</div>

I'm currently testing to store all kind of data on an elastic cluster. I start to dimension my cluster with a minimal safest configuration 3 nodes and my index with 3 shards and 2 replicas. It's working fine but I was w…

---

## [Search without special characters](https://discuss.elastic.co/t/search-without-special-characters/132747)

<div class="topic-metadata">

**Author:** [@lea](https://discuss.elastic.co/u/lea)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 8:15am UTC](https://discuss.elastic.co/t/search-without-special-characters/132747 "2018-05-22T08:15:01Z")

</div>

Suppose I have values like CA-123 and C-A123 and CA1-23 and so on indexed in my ElasticSearch. Is there a way to find these values by searching with the value CA123 using java API?

---

## [Elasticsearch Zen discovery](https://discuss.elastic.co/t/elasticsearch-zen-discovery/132638)

<div class="topic-metadata">

**Author:** [@dudidu](https://discuss.elastic.co/u/dudidu)\
**Replies:** 10\
**Last updated:** [May 22, 2018, 8:00am UTC](https://discuss.elastic.co/t/elasticsearch-zen-discovery/132638 "2018-05-22T08:00:08Z")

</div>

We are having an issue with an issue with Ubuntu kernel causing the machine running elasticsearch to hung. While the machine in this state (it only solve after restart) no API call to elasticsearch (or even SSH to the s…

---

## [Storage issue elasticsearch](https://discuss.elastic.co/t/storage-issue-elasticsearch/132738)

<div class="topic-metadata">

**Author:** [@shaheryar](https://discuss.elastic.co/u/shaheryar)\
**Replies:** 1\
**Last updated:** [May 22, 2018, 7:42am UTC](https://discuss.elastic.co/t/storage-issue-elasticsearch/132738 "2018-05-22T07:42:17Z")

</div>

flood stage disk watermark \[95%\] exceeded on \[5MMW\_4\_DT3WLTRPoeD\_tsA\]\[5MMW\_4\_\]\[/usr/share/elasticsearch/data/nodes/0\] free: 1.1gb\[2.4%\], all indices on this node will marked read-only I am getting this in elastic search…

---

## [Unable to start ElasticSearch server without Randomized runner](https://discuss.elastic.co/t/unable-to-start-elasticsearch-server-without-randomized-runner/132736)

<div class="topic-metadata">

**Author:** [@sss](https://discuss.elastic.co/u/sss)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 7:34am UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-server-without-randomized-runner/132736 "2018-05-22T07:34:28Z")

</div>

We are using ElasticSearch 5.6.9 on windows and we have a test framework which uses a customized runner for specific purpose (for performance benchmarking of certain scenarios like indexing/search). When we try to star…

---

## [How to determine a field type using painless](https://discuss.elastic.co/t/how-to-determine-a-field-type-using-painless/132732)

<div class="topic-metadata">

**Author:** [@daniellienert](https://discuss.elastic.co/u/daniellienert)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 7:14am UTC](https://discuss.elastic.co/t/how-to-determine-a-field-type-using-painless/132732 "2018-05-22T07:14:38Z")

</div>

Hey, I am running Elasticsearch 5.6.8. In my script in an UPDATE, I assume a field being a HasMap, but I got an error like: Caused by: java.lang.IllegalArgumentException: Unable to find dynamic method \[containsKey\] wi…

---

## [Node going out of disk space. In what scenarios is this possible?](https://discuss.elastic.co/t/node-going-out-of-disk-space-in-what-scenarios-is-this-possible/132692)

<div class="topic-metadata">

**Author:** [@akshaymaniyar](https://discuss.elastic.co/u/akshaymaniyar)\
**Replies:** 7\
**Last updated:** [May 22, 2018, 7:05am UTC](https://discuss.elastic.co/t/node-going-out-of-disk-space-in-what-scenarios-is-this-possible/132692 "2018-05-22T07:05:49Z")

</div>

Hi, I am using es 5.5.1. We have set disk based thresholds as follows: "disk": { "threshold\_enabled": "true", "watermark": { "low": "0.85", "high": "0.88" } } Even after setting disk based thresholds, the node …

---

## [Parent Child Mapping](https://discuss.elastic.co/t/parent-child-mapping/132493)

<div class="topic-metadata">

**Author:** [@die\_seltsame](https://discuss.elastic.co/u/die_seltsame)\
**Replies:** 2\
**Last updated:** [May 20, 2018, 2:58pm UTC](https://discuss.elastic.co/t/parent-child-mapping/132493 "2018-05-20T14:58:11Z")

</div>

How to create parent child mapping with existing Index using Nest 6?

---

## [Refresh is very slow](https://discuss.elastic.co/t/refresh-is-very-slow/132706)

<div class="topic-metadata">

**Author:** [@cyberhuman](https://discuss.elastic.co/u/cyberhuman)\
**Replies:** 6\
**Last updated:** [May 22, 2018, 6:25am UTC](https://discuss.elastic.co/t/refresh-is-very-slow/132706 "2018-05-22T06:25:40Z")

</div>

Hello, I have an issue with refreshes in an ES cluster. I have a process that does bulk indexing, and few other processes that do multiget requests. And there is an API that bulk writes some documents to ES and must en…

---

## [Reg: Snapshots](https://discuss.elastic.co/t/reg-snapshots/132702)

<div class="topic-metadata">

**Author:** [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 11:57pm UTC](https://discuss.elastic.co/t/reg-snapshots/132702 "2018-05-21T23:57:57Z")

</div>

Dear All, Having below queries on how ES snapshot works (ES Version: 6.2.1) With a snapshot containing multiple indices, does the snapshot'ng process go in parallel across indices (looks so and expected), replicas a…

---

## [Problem in installing elasticsearch](https://discuss.elastic.co/t/problem-in-installing-elasticsearch/132583)

<div class="topic-metadata">

**Author:** [@NIloufarVafaei](https://discuss.elastic.co/u/NIloufarVafaei)\
**Replies:** 3\
**Last updated:** [May 21, 2018, 9:08pm UTC](https://discuss.elastic.co/t/problem-in-installing-elasticsearch/132583 "2018-05-21T21:08:38Z")

</div>

i try to install elasticsearch.deb with this command / sudo apt-get install -f elasticsearch and after time span i get this error Reading package lists... Done Building dependency tree Reading state information... D…

---

## [Could not find or load main class - openSuse](https://discuss.elastic.co/t/could-not-find-or-load-main-class-opensuse/132686)

<div class="topic-metadata">

**Author:** [@renatofritola](https://discuss.elastic.co/u/renatofritola)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 5:52pm UTC](https://discuss.elastic.co/t/could-not-find-or-load-main-class-opensuse/132686 "2018-05-21T17:52:11Z")

</div>

Elasticsearch version (bin/elasticsearch --version): Elasticsearch 5.6.3 JVM version (java -version): java version "1.8.0\_172" Java(TM) SE Runtime Environment (build 1.8.0\_172-b11) Java HotSpot(TM) 64-Bit Server VM …

---

## [How to get the Match Type in Elasticsearhc response?](https://discuss.elastic.co/t/how-to-get-the-match-type-in-elasticsearhc-response/132080)

<div class="topic-metadata">

**Author:** [@san88922](https://discuss.elastic.co/u/san88922)\
**Replies:** 6\
**Last updated:** [May 21, 2018, 5:20pm UTC](https://discuss.elastic.co/t/how-to-get-the-match-type-in-elasticsearhc-response/132080 "2018-05-21T17:20:42Z")

</div>

Hi Team, In Elasticsearch we have types of matches like "Fuzzy", "Exact" etc..... is there any way that will get to know which type of match has happened for request query, in the elasticsearch response? Thanks in adv…

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

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