# Elasticsearch

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

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

**Page:** 1422

---

## [Highlighting without HTML tags but structured data](https://discuss.elastic.co/t/highlighting-without-html-tags-but-structured-data/164883)

<div class="topic-metadata">

**Author:** [@stevemao](https://discuss.elastic.co/u/stevemao)\
**Replies:** 0\
**Last updated:** [January 19, 2019, 7:23am UTC](https://discuss.elastic.co/t/highlighting-without-html-tags-but-structured-data/164883 "2019-01-19T07:23:16Z")

</div>

In the docs, if I do GET twitter/\_search { "query" : { "match\_phrase": { "message": "number 1" } }, "highlight" : { "fields" : { "message" : { "type": "plain", …

---

## [How to get data in chunks with collapsed fields](https://discuss.elastic.co/t/how-to-get-data-in-chunks-with-collapsed-fields/164881)

<div class="topic-metadata">

**Author:** [@anshum](https://discuss.elastic.co/u/anshum)\
**Replies:** 0\
**Last updated:** [January 19, 2019, 6:53am UTC](https://discuss.elastic.co/t/how-to-get-data-in-chunks-with-collapsed-fields/164881 "2019-01-19T06:53:01Z")

</div>

Hi, I'm trying to apply the pagination over the data set. USE\_CASE: My main use case is to get the data and take the top hit according to a particular field. Methods tried: Method 1: Was using the aggregations, but i…

---

## [Where can i look for azure plugin in elasticsearch](https://discuss.elastic.co/t/where-can-i-look-for-azure-plugin-in-elasticsearch/164877)

<div class="topic-metadata">

**Author:** [@jamesjin](https://discuss.elastic.co/u/jamesjin)\
**Replies:** 1\
**Last updated:** [January 19, 2019, 6:27am UTC](https://discuss.elastic.co/t/where-can-i-look-for-azure-plugin-in-elasticsearch/164877 "2019-01-19T06:27:49Z")

</div>

Hello I want to look for azure plugin in elasticsearch and but I can not find it as following , where can i find it? bin/elasticsearch-plugin list

---

## [How to dynamically search from mutiple offset inside an index in elastic search?](https://discuss.elastic.co/t/how-to-dynamically-search-from-mutiple-offset-inside-an-index-in-elastic-search/164778)

<div class="topic-metadata">

**Author:** [@Yash\_Kapoor](https://discuss.elastic.co/u/Yash_Kapoor)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 11:09am UTC](https://discuss.elastic.co/t/how-to-dynamically-search-from-mutiple-offset-inside-an-index-in-elastic-search/164778 "2019-01-18T11:09:49Z")

</div>

Say I have a string indexed and I want to take out a substring from it at the time of search query. How will I achieve this? For example - String to be indexed - "The quick brown fox" Searches that I want to make - -…

---

## [Elasticsearch support for Prometheus?](https://discuss.elastic.co/t/elasticsearch-support-for-prometheus/163491)

<div class="topic-metadata">

**Author:** [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Replies:** 2\
**Last updated:** [January 19, 2019, 2:01am UTC](https://discuss.elastic.co/t/elasticsearch-support-for-prometheus/163491 "2019-01-19T02:01:42Z")

</div>

Hi, With recent announcement about Elastic joining CNCF \[1\] is there any plan to support Prometheus monitoring in Elasticsearch? The announcement reads: Elastic builds products in an open and transparent way and supp…

---

## [Curl to Elasticsearch node when security is enabled](https://discuss.elastic.co/t/curl-to-elasticsearch-node-when-security-is-enabled/164871)

<div class="topic-metadata">

**Author:** [@li\_jessen2016](https://discuss.elastic.co/u/li_jessen2016)\
**Replies:** 1\
**Last updated:** [January 19, 2019, 1:21am UTC](https://discuss.elastic.co/t/curl-to-elasticsearch-node-when-security-is-enabled/164871 "2019-01-19T01:21:35Z")

</div>

When I enables security in Elasticsearch, I can't visit it using just curl "hostname:9200/" unless I add curl -u username:password. And I just used built-in users of elastic. Is this what security feature means by requ…

---

## [Mixing up field types](https://discuss.elastic.co/t/mixing-up-field-types/164868)

<div class="topic-metadata">

**Author:** [@exocore123](https://discuss.elastic.co/u/exocore123)\
**Replies:** 2\
**Last updated:** [January 18, 2019, 11:22pm UTC](https://discuss.elastic.co/t/mixing-up-field-types/164868 "2019-01-18T23:22:11Z")

</div>

Hello, I am new to ElasticSearch and I've read a few of the threads that track back to '17 but I cant seem to find a working solution as I've attempted some of the solutions so I was wondering if anyone could give some p…

---

## [Acquiring a Token using Advanced REST client](https://discuss.elastic.co/t/acquiring-a-token-using-advanced-rest-client/163939)

<div class="topic-metadata">

**Author:** [@mc1392](https://discuss.elastic.co/u/mc1392)\
**Replies:** 2\
**Last updated:** [January 18, 2019, 7:46pm UTC](https://discuss.elastic.co/t/acquiring-a-token-using-advanced-rest-client/163939 "2019-01-18T19:46:51Z")

</div>

When using Advanced REST client to acquire a token, should I set authentication to basic, just to obtain the token, then my next request should be OAUTH2? or do I start with OAUTH2 with the GRANT TYPE set to "password" …

---

## [Security questions about Elasticsearch scripts and Kibana](https://discuss.elastic.co/t/security-questions-about-elasticsearch-scripts-and-kibana/164752)

<div class="topic-metadata">

**Author:** [@Sylmarch](https://discuss.elastic.co/u/Sylmarch)\
**Replies:** 1\
**Last updated:** [January 18, 2019, 7:43pm UTC](https://discuss.elastic.co/t/security-questions-about-elasticsearch-scripts-and-kibana/164752 "2019-01-18T19:43:01Z")

</div>

We are using Elasticsearch and Kibana 6.x. In the past, Elasticsearch has serious security issues with scripting. Some exploits allowed an attacker to execute arbitrary remote commands (e.g: https://www.rapid7.com/db/mo…

---

## [Bucket\_script not returning any results](https://discuss.elastic.co/t/bucket-script-not-returning-any-results/164847)

<div class="topic-metadata">

**Author:** [@nielsoncr](https://discuss.elastic.co/u/nielsoncr)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 7:03pm UTC](https://discuss.elastic.co/t/bucket-script-not-returning-any-results/164847 "2019-01-18T19:03:39Z")

</div>

I have a query that returns docs aggregated by day, then by an internal metric call LocalRetryCount. I'd like the results to include with the LocalRetryCount buckets what percentage that bucket is of the overall. I fou…

---

## [Is it possible to block queries in advance?](https://discuss.elastic.co/t/is-it-possible-to-block-queries-in-advance/164844)

<div class="topic-metadata">

**Author:** [@AvivCohn](https://discuss.elastic.co/u/AvivCohn)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 6:32pm UTC](https://discuss.elastic.co/t/is-it-possible-to-block-queries-in-advance/164844 "2019-01-18T18:32:12Z")

</div>

Hello everyone, Is it possible to inspect incoming queries before they are run, and deny their execution depending on certain things? For example, suppose I'd like to reject a query if it's about to run on more than 4 …

---

## [Repository-s3 plugin, define endpoint (provider other than AWS)](https://discuss.elastic.co/t/repository-s3-plugin-define-endpoint-provider-other-than-aws/164823)

<div class="topic-metadata">

**Author:** [@max0r](https://discuss.elastic.co/u/max0r)\
**Replies:** 2\
**Last updated:** [January 18, 2019, 5:23pm UTC](https://discuss.elastic.co/t/repository-s3-plugin-define-endpoint-provider-other-than-aws/164823 "2019-01-18T17:23:49Z")

</div>

Curious if there are any plans to restore the ability to define an S3 endpoint for the repository-s3 plugin? I'd like to be able to use a provider other than AWS. It seems this was possible in Elastic5 but that function…

---

## [Upload json file into elasticsearch](https://discuss.elastic.co/t/upload-json-file-into-elasticsearch/164812)

<div class="topic-metadata">

**Author:** [@Alaoui](https://discuss.elastic.co/u/Alaoui)\
**Replies:** 6\
**Last updated:** [January 18, 2019, 5:10pm UTC](https://discuss.elastic.co/t/upload-json-file-into-elasticsearch/164812 "2019-01-18T17:10:55Z")

</div>

I want to upload a json file but it doesn t work, this is my config file :slight\_smile: input{ file{ type =\> "json" path =\> "D:\\Js.json" start\_position =\> "beginning" sincedb\_path =\> "/dev/null" } } filter{ jso…

---

## [Architecture Design](https://discuss.elastic.co/t/architecture-design/164837)

<div class="topic-metadata">

**Author:** [@Miguel\_Leite](https://discuss.elastic.co/u/Miguel_Leite)\
**Replies:** 1\
**Last updated:** [January 18, 2019, 5:08pm UTC](https://discuss.elastic.co/t/architecture-design/164837 "2019-01-18T17:08:37Z")

</div>

Hey guys!! I'm trying to understand how to scale my ELK setup to a production deployment... But first some specs on my current system: Multiple Servers where I'm fetching data with Filebeat (around 10gb/day of logs) O…

---

## [Clean way of setting timezone in alerts?](https://discuss.elastic.co/t/clean-way-of-setting-timezone-in-alerts/164838)

<div class="topic-metadata">

**Author:** [@jusmitch](https://discuss.elastic.co/u/jusmitch)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 4:57pm UTC](https://discuss.elastic.co/t/clean-way-of-setting-timezone-in-alerts/164838 "2019-01-18T16:57:14Z")

</div>

Is there a clean way of setting a timezone for alerts? Right now everything I've created with watcher is getting alerted in UTC, which isn't very useful. It seems to be ignoring the timezone that is set in the Kibana adv…

---

## [Error updating field name that starts with a number](https://discuss.elastic.co/t/error-updating-field-name-that-starts-with-a-number/164835)

<div class="topic-metadata">

**Author:** [@KBoohene](https://discuss.elastic.co/u/KBoohene)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 4:52pm UTC](https://discuss.elastic.co/t/error-updating-field-name-that-starts-with-a-number/164835 "2019-01-18T16:52:59Z")

</div>

I created a field starting with an integer, eg. tasks:{ "4ujdedufh":{}}. I created this using the Kibana platform and it worked fine. The problem is, I tried updating this field using the JS API(node js): "ctx.\_source.…

---

## [Which nodes are counted in x-pack license](https://discuss.elastic.co/t/which-nodes-are-counted-in-x-pack-license/164834)

<div class="topic-metadata">

**Author:** [@meetdave2611997](https://discuss.elastic.co/u/meetdave2611997)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 4:48pm UTC](https://discuss.elastic.co/t/which-nodes-are-counted-in-x-pack-license/164834 "2019-01-18T16:48:10Z")

</div>

Hi I would like to know what types of nodes does x-pack count in the license file? When I hit GET /\_xpack/license I can see max\_nodes in the response. Does it count all of the Elasticsearch nodes? (i.e data node, clien…

---

## [Jvm\_options\_parser\_failed ... jvm.options ... was unexpected at this time](https://discuss.elastic.co/t/jvm-options-parser-failed-jvm-options-was-unexpected-at-this-time/164827)

<div class="topic-metadata">

**Author:** [@mala](https://discuss.elastic.co/u/mala)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 4:01pm UTC](https://discuss.elastic.co/t/jvm-options-parser-failed-jvm-options-was-unexpected-at-this-time/164827 "2019-01-18T16:01:30Z")

</div>

I ran into this same problem that somebody else posted a year ago. The solution that worked is the one from A\_M. The one from forloop didn't work. As jasontedor pointed out, the brackets are the issue. So replacing "P…

---

## [Composite Aggregation Query Fails On ElasticSearch 6.3.2](https://discuss.elastic.co/t/composite-aggregation-query-fails-on-elasticsearch-6-3-2/164542)

<div class="topic-metadata">

**Author:** [@ganesh4991](https://discuss.elastic.co/u/ganesh4991)\
**Replies:** 2\
**Last updated:** [January 18, 2019, 4:07pm UTC](https://discuss.elastic.co/t/composite-aggregation-query-fails-on-elasticsearch-6-3-2/164542 "2019-01-18T16:07:06Z")

</div>

I have a Composite Aggregation query executing locally on ElasticSearch Version 6.4.2 using the Java High Level Rest Client. The query runs fine and the result is same as when running the query on Kibana console. Howeve…

---

## [Not all search threads are being used](https://discuss.elastic.co/t/not-all-search-threads-are-being-used/164769)

<div class="topic-metadata">

**Author:** [@jwistrom](https://discuss.elastic.co/u/jwistrom)\
**Replies:** 3\
**Last updated:** [January 18, 2019, 3:35pm UTC](https://discuss.elastic.co/t/not-all-search-threads-are-being-used/164769 "2019-01-18T15:35:57Z")

</div>

Hi I am experiencing EsRejectedExecutionException looking like this: Caused by: org.elasticsearch.common.util.concurrent.EsRejectedExecutionException: rejected execution of org.elasticsearch.common.util.concurrent.Tim…

---

## [Access Denied while starting elastic search](https://discuss.elastic.co/t/access-denied-while-starting-elastic-search/164550)

<div class="topic-metadata">

**Author:** [@jsunish](https://discuss.elastic.co/u/jsunish)\
**Replies:** 5\
**Last updated:** [January 18, 2019, 3:17pm UTC](https://discuss.elastic.co/t/access-denied-while-starting-elastic-search/164550 "2019-01-18T15:17:02Z")

</div>

Hi, My elasticsearch-6.4.2 instance was running successfully on Windows 7, until yesterday before I shutdown the windows without shutting down the elastic search instance that was running. Now I am getting 'Access is de…

---

## [Mapping types](https://discuss.elastic.co/t/mapping-types/164803)

<div class="topic-metadata">

**Author:** [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Replies:** 3\
**Last updated:** [January 18, 2019, 2:11pm UTC](https://discuss.elastic.co/t/mapping-types/164803 "2019-01-18T14:11:15Z")

</div>

Hi, I have some mapping issues and I am wondering if it is possible to query the conflicting field and get the mapping for it in each index? Regard, Paul.

---

## [Convert SQL GROUP BY To Aggregation with Pagination](https://discuss.elastic.co/t/convert-sql-group-by-to-aggregation-with-pagination/164807)

<div class="topic-metadata">

**Author:** [@Daniele\_Renda](https://discuss.elastic.co/u/Daniele_Renda)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 2:06pm UTC](https://discuss.elastic.co/t/convert-sql-group-by-to-aggregation-with-pagination/164807 "2019-01-18T14:06:28Z")

</div>

Hi, I'm new to ElasticSearch. I'm trying to convert some queries I'm doing using Spring Data to ES usign High level client API. What I'm doing is grouping data to show a filter menu (like in Google Sheet) as the one in …

---

## [Datetype format issue](https://discuss.elastic.co/t/datetype-format-issue/164772)

<div class="topic-metadata">

**Author:** [@kunliu](https://discuss.elastic.co/u/kunliu)\
**Replies:** 1\
**Last updated:** [January 18, 2019, 11:15am UTC](https://discuss.elastic.co/t/datetype-format-issue/164772 "2019-01-18T11:15:25Z")

</div>

I have a date type field and I use default format. When index a field value like : 05/17/2018 01:37:48 PM ZE8, I got an error as below: Invalid format: "05/17/2018 01:37:48 PM ZE8" is malformed at "/17/2018 01:37:48 PM…

---

## [Send Email Alerts to Different Recipients Based on Condition](https://discuss.elastic.co/t/send-email-alerts-to-different-recipients-based-on-condition/164341)

<div class="topic-metadata">

**Author:** [@stevenmarrocco](https://discuss.elastic.co/u/stevenmarrocco)\
**Replies:** 3\
**Last updated:** [January 18, 2019, 1:22pm UTC](https://discuss.elastic.co/t/send-email-alerts-to-different-recipients-based-on-condition/164341 "2019-01-18T13:22:47Z")

</div>

I’m wondering if it is possible to send an watcher event to a specific individual depending on a certain attribute/condition. For example, if condition A is met from a watcher send alert to individual A. If conditon B i…

---

## [Elasticsearch service gets killed immediately after start](https://discuss.elastic.co/t/elasticsearch-service-gets-killed-immediately-after-start/164792)

<div class="topic-metadata">

**Author:** [@empnik](https://discuss.elastic.co/u/empnik)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 12:48pm UTC](https://discuss.elastic.co/t/elasticsearch-service-gets-killed-immediately-after-start/164792 "2019-01-18T12:48:22Z")

</div>

Hello to everyone. I am new to ES forum. I just installed Elasticsearch 6.5.4 on VPS server ( Ubuntu 16.04.5 LTS ) using these instructions: https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html Whe…

---

## [NoNodeAvailableException\[None of the configured nodes are available: \[{#transport#-1}{DzxzK0iPRpWhbsQrG1XL-Q}{localhost}{127.0.0.1:9200}\]\]](https://discuss.elastic.co/t/nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/164625)

<div class="topic-metadata">

**Author:** [@Sajawal\_Sohail](https://discuss.elastic.co/u/Sajawal_Sohail)\
**Replies:** 11\
**Last updated:** [January 18, 2019, 12:48pm UTC](https://discuss.elastic.co/t/nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/164625 "2019-01-18T12:48:03Z")

</div>

I am facing this error while implementing elastic search in spring boot. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loaders': Invocation of init method failed; nested excepti…

---

## [Degrading Performance due to Nested Fields](https://discuss.elastic.co/t/degrading-performance-due-to-nested-fields/164774)

<div class="topic-metadata">

**Author:** [@vyazici](https://discuss.elastic.co/u/vyazici)\
**Replies:** 0\
**Last updated:** [January 18, 2019, 10:48am UTC](https://discuss.elastic.co/t/degrading-performance-due-to-nested-fields/164774 "2019-01-18T10:48:11Z")

</div>

Hello, We operate an Elasticsearch 6.3.0 cluster where we have (unless explicitly required) no control over the incoming data and executed queries against it. We combine JSON documents from multiple queues and let busin…

---

## [Elastic search percolator scalability issues](https://discuss.elastic.co/t/elastic-search-percolator-scalability-issues/164776)

<div class="topic-metadata">

**Author:** [@Bibin\_Sebastian](https://discuss.elastic.co/u/Bibin_Sebastian)\
**Replies:** 1\
**Last updated:** [January 18, 2019, 11:16am UTC](https://discuss.elastic.co/t/elastic-search-percolator-scalability-issues/164776 "2019-01-18T11:16:41Z")

</div>

I am running a 4 data node + 2 master node cluster and have created an index to store search queries. In the percolator I store regexp based search queries. When I run a percolate search passing a document, I see the la…

---

## [Common watcher for Elastic stack alert](https://discuss.elastic.co/t/common-watcher-for-elastic-stack-alert/162914)

<div class="topic-metadata">

**Author:** [@DineshTripathi](https://discuss.elastic.co/u/DineshTripathi)\
**Replies:** 2\
**Last updated:** [January 18, 2019, 11:08am UTC](https://discuss.elastic.co/t/common-watcher-for-elastic-stack-alert/162914 "2019-01-18T11:08:54Z")

</div>

Team, I am working on defining watcher to cover complete Elastic stack components, so that for all common scenario we can get alerts triggered. Wondering if anyone have already done this exercise and can share with me t…

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

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