# Elasticsearch

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

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

**Page:** 1162

---

## [Publish Address vs Bind Address](https://discuss.elastic.co/t/publish-address-vs-bind-address/198948)

<div class="topic-metadata">

**Author:** [@SteveP](https://discuss.elastic.co/u/SteveP)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 5:41pm UTC](https://discuss.elastic.co/t/publish-address-vs-bind-address/198948 "2019-09-10T17:41:48Z")

</div>

Right now I show my bind address as 192.168.1.242:9200, which is what I expected. What I did not expect was to see a publish address of 192.168.1.242:9300. What is the publish address used for and why is the port differ…

---

## [Java Heap Space error OutOfMemoryError](https://discuss.elastic.co/t/java-heap-space-error-outofmemoryerror/198761)

<div class="topic-metadata">

**Author:** [@edster](https://discuss.elastic.co/u/edster)\
**Replies:** 9\
**Last updated:** [September 10, 2019, 5:41pm UTC](https://discuss.elastic.co/t/java-heap-space-error-outofmemoryerror/198761 "2019-09-10T17:41:14Z")

</div>

I am getting an error Logstash - java.lang.OutOfMemoryError: Java heap space. However, I have changed the heap memory in the jvm.options file from 1g to 2g to 8g to 10g. I am still getting the same errors though. How can…

---

## [Provisioning cluster to only allow "test" index to be visible by master node](https://discuss.elastic.co/t/provisioning-cluster-to-only-allow-test-index-to-be-visible-by-master-node/198937)

<div class="topic-metadata">

**Author:** [@eharm007](https://discuss.elastic.co/u/eharm007)\
**Replies:** 4\
**Last updated:** [September 10, 2019, 5:32pm UTC](https://discuss.elastic.co/t/provisioning-cluster-to-only-allow-test-index-to-be-visible-by-master-node/198937 "2019-09-10T17:32:37Z")

</div>

Hey All, Title pretty much summarizes what I am trying to do but I can't find any information on this subject. Basically, I have a single cluster with different nodes across different subnets. I have set my firewall rul…

---

## [Create Index Pattern/ Visualization Programmatically](https://discuss.elastic.co/t/create-index-pattern-visualization-programmatically/198943)

<div class="topic-metadata">

**Author:** [@csholic](https://discuss.elastic.co/u/csholic)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 5:11pm UTC](https://discuss.elastic.co/t/create-index-pattern-visualization-programmatically/198943 "2019-09-10T17:11:36Z")

</div>

I know how to create or delete index in a python program using: es.indices.delete(index = fname, ignore = \[400, 404\]) helpers.bulk(es, json.load(f), index = indexname, doc\_type = 'my-type') But is there a way that I c…

---

## [Generating reports for a remote index](https://discuss.elastic.co/t/generating-reports-for-a-remote-index/198938)

<div class="topic-metadata">

**Author:** [@o1o1o11o1](https://discuss.elastic.co/u/o1o1o11o1)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 4:56pm UTC](https://discuss.elastic.co/t/generating-reports-for-a-remote-index/198938 "2019-09-10T16:56:40Z")

</div>

Hello, We have 3 ES clusters 7.1 running in a remote-cluster setup. All works well, except generating reports from Kibana on a remote index e.g. \*:remoteindex-\*. The user has the kibana\_user and reporting\_user roles, tr…

---

## [Seeing slower bulk indexing performance after upgrade from ES5.2 to ES7.1](https://discuss.elastic.co/t/seeing-slower-bulk-indexing-performance-after-upgrade-from-es5-2-to-es7-1/198769)

<div class="topic-metadata">

**Author:** [@suanmeiguo](https://discuss.elastic.co/u/suanmeiguo)\
**Replies:** 6\
**Last updated:** [September 10, 2019, 4:55pm UTC](https://discuss.elastic.co/t/seeing-slower-bulk-indexing-performance-after-upgrade-from-es5-2-to-es7-1/198769 "2019-09-10T16:55:17Z")

</div>

Hi, We're seeing a much slower bulk indexing performance when upgrade from ES5.2 to ES7.1 I already went through the release note on 6 and 7 but couldn't find anything obvious that could impact this performance. I'm won…

---

## [Query in hdfs files from elasticsearch](https://discuss.elastic.co/t/query-in-hdfs-files-from-elasticsearch/198922)

<div class="topic-metadata">

**Author:** [@Lusine\_Hayrapetyan](https://discuss.elastic.co/u/Lusine_Hayrapetyan)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 4:47pm UTC](https://discuss.elastic.co/t/query-in-hdfs-files-from-elasticsearch/198922 "2019-09-10T16:47:09Z")

</div>

Hi, I have json files in hdfs. And I have elastic search, also installed elasticsearch-hadoop-7.3.1.jar and added it to classpath. Now I want do interactive quires with elasticsearch in json files which are in hdfs. H…

---

## [High Level Rest Client - Setting custom tokenizer](https://discuss.elastic.co/t/high-level-rest-client-setting-custom-tokenizer/198754)

<div class="topic-metadata">

**Author:** [@linus](https://discuss.elastic.co/u/linus)\
**Replies:** 4\
**Last updated:** [September 10, 2019, 4:45pm UTC](https://discuss.elastic.co/t/high-level-rest-client-setting-custom-tokenizer/198754 "2019-09-10T16:45:09Z")

</div>

I am trying to set a custom Tokenizer to my index using the Java High Level Rest Client. I have been looking through the API documentation, but can't find anything aside from the normal REST calls as mentioned in the gu…

---

## [Installing 7.3.1 on Ubuntu 18.04 configure issue using apt](https://discuss.elastic.co/t/installing-7-3-1-on-ubuntu-18-04-configure-issue-using-apt/198928)

<div class="topic-metadata">

**Author:** [@GregoryBrown](https://discuss.elastic.co/u/GregoryBrown)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 3:42pm UTC](https://discuss.elastic.co/t/installing-7-3-1-on-ubuntu-18-04-configure-issue-using-apt/198928 "2019-09-10T15:42:57Z")

</div>

I am trying to install Elasticsearch 7.3.1 using Ubuntu's APT, but seeing the following issues: Reading package lists... Done Building dependency tree Reading state information... Done elasticsearch is already the n…

---

## [Cross Cluster Search and Xpack](https://discuss.elastic.co/t/cross-cluster-search-and-xpack/197650)

<div class="topic-metadata">

**Author:** [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Replies:** 3\
**Last updated:** [September 10, 2019, 2:10pm UTC](https://discuss.elastic.co/t/cross-cluster-search-and-xpack/197650 "2019-09-10T14:10:50Z")

</div>

Hi, When we enable cross cluster search it prevents xpack basic monitoring stats from being displayed in kibana. I presume that is because the remote x-pack indices are accessible. Is there a way to enable cross-cluste…

---

## [Indexing rate decaying dramatically in short period of time](https://discuss.elastic.co/t/indexing-rate-decaying-dramatically-in-short-period-of-time/198811)

<div class="topic-metadata">

**Author:** [@viniciof](https://discuss.elastic.co/u/viniciof)\
**Replies:** 2\
**Last updated:** [September 10, 2019, 1:49pm UTC](https://discuss.elastic.co/t/indexing-rate-decaying-dramatically-in-short-period-of-time/198811 "2019-09-10T13:49:44Z")

</div>

Hi everyone, Today I launched a reindex task for a big index (4.1TB) in order to provide it with a more appropiate number of shards (10 -\> 90) At the beginning it was really good (30K/s with spikes of 45K) but after 9 …

---

## [Query Suggession](https://discuss.elastic.co/t/query-suggession/198865)

<div class="topic-metadata">

**Author:** [@Srikanth\_Reddy](https://discuss.elastic.co/u/Srikanth_Reddy)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 9:51am UTC](https://discuss.elastic.co/t/query-suggession/198865 "2019-09-10T09:51:09Z")

</div>

Hi, I have a list of documents in which i want to aggregate on one field called type and get result with lest price in that specific type and sort based on custom logic. Ex : Document Structure is Id, Name, Type, pri…

---

## [Broken Elasticsearch after each upgrade](https://discuss.elastic.co/t/broken-elasticsearch-after-each-upgrade/198909)

<div class="topic-metadata">

**Author:** [@tomx1](https://discuss.elastic.co/u/tomx1)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 1:26pm UTC](https://discuss.elastic.co/t/broken-elasticsearch-after-each-upgrade/198909 "2019-09-10T13:26:13Z")

</div>

We are running Elasticsearch on Debian 9. Everytime we upgrade the elasticsearch package using the elastic.co repo, the installation is broken. The reason is, that the systemd file is replaced against the vendor version …

---

## [Invalid NEST response built from a unsuccessful (401) low level call on HEAD: / # Audit trail of this API call: - \[1\] BadResponse: Node: http://192.168.0.4:9200/](https://discuss.elastic.co/t/invalid-nest-response-built-from-a-unsuccessful-401-low-level-call-on-head-audit-trail-of-this-api-call-1-badresponse-node-http-192-168-0-4-9200/198908)

<div class="topic-metadata">

**Author:** [@sumeet\_pawar](https://discuss.elastic.co/u/sumeet_pawar)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 1:26pm UTC](https://discuss.elastic.co/t/invalid-nest-response-built-from-a-unsuccessful-401-low-level-call-on-head-audit-trail-of-this-api-call-1-badresponse-node-http-192-168-0-4-9200/198908 "2019-09-10T13:26:12Z")

</div>

I am connecting to elasticsearch cluster using nest client and getting this issue while adding Index records. An i missing something? Nest v 7.2.1 Elastic version 7.2.1 Exception: Failed to create DB Index for Alarm …

---

## [Geo-shape query within](https://discuss.elastic.co/t/geo-shape-query-within/198851)

<div class="topic-metadata">

**Author:** [@ohoroyoi](https://discuss.elastic.co/u/ohoroyoi)\
**Replies:** 3\
**Last updated:** [September 10, 2019, 12:38pm UTC](https://discuss.elastic.co/t/geo-shape-query-within/198851 "2019-09-10T12:38:18Z")

</div>

by this document (https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-shape-query.html#\_spatial\_relations), I made query like this, "filter":{ "geo\_shape":{ "boundaries":{ "shape": { "type"…

---

## [Analyzer: Problem when generating tokens](https://discuss.elastic.co/t/analyzer-problem-when-generating-tokens/198765)

<div class="topic-metadata">

**Author:** [@Vitor\_Derobe](https://discuss.elastic.co/u/Vitor_Derobe)\
**Replies:** 0\
**Last updated:** [September 9, 2019, 6:23pm UTC](https://discuss.elastic.co/t/analyzer-problem-when-generating-tokens/198765 "2019-09-09T18:23:45Z")

</div>

Hi guys, I have a generalized search field, with this analyzer: "analysis": { "analyzer": { "custom\_brazilian": { "tokenizer": "standard", "filter": \[ "lowercase", "asciifolding", …

---

## [Normal java program to connect elastic search](https://discuss.elastic.co/t/normal-java-program-to-connect-elastic-search/198751)

<div class="topic-metadata">

**Author:** [@Velliyangiri](https://discuss.elastic.co/u/Velliyangiri)\
**Replies:** 3\
**Last updated:** [September 10, 2019, 12:24pm UTC](https://discuss.elastic.co/t/normal-java-program-to-connect-elastic-search/198751 "2019-09-10T12:24:41Z")

</div>

We had face a lot of issues in TransportClient ,PreBuiltTransportAddress and InetSocketAddress classes .. These classes are not able add in my project .. So please give me an alternate solution to connect a normal java p…

---

## [Deletion of Elasticsearch index data of particular dates or retaining since 15 days](https://discuss.elastic.co/t/deletion-of-elasticsearch-index-data-of-particular-dates-or-retaining-since-15-days/198893)

<div class="topic-metadata">

**Author:** [@Deepakny](https://discuss.elastic.co/u/Deepakny)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 12:11pm UTC](https://discuss.elastic.co/t/deletion-of-elasticsearch-index-data-of-particular-dates-or-retaining-since-15-days/198893 "2019-09-10T12:11:16Z")

</div>

I have created an elasticsearch (version -6.3) domain in AWS and there is only one index(mindtrace) to which data gets streamed. I need to delete the data in the index for particular time and i tried using below delete q…

---

## [Illegal\_argument\_exception: failed to parse date field, date\_time\_parse\_exception](https://discuss.elastic.co/t/illegal-argument-exception-failed-to-parse-date-field-date-time-parse-exception/198737)

<div class="topic-metadata">

**Author:** [@holobolo0815](https://discuss.elastic.co/u/holobolo0815)\
**Replies:** 5\
**Last updated:** [September 10, 2019, 11:58am UTC](https://discuss.elastic.co/t/illegal-argument-exception-failed-to-parse-date-field-date-time-parse-exception/198737 "2019-09-10T11:58:19Z")

</div>

Hey, I'm currently getting this all the time \[2019-09-09T18:10:24,175\]\[WARN \]\[logstash.outputs.elasticsearch\] Could not index event to Elasticsearch. {:status=\>400, :action=\>\["index", {:\_id=\>nil, :\_index=\>"logstash-201…

---

## [Standard Elasticsearch Workload for Benchmark](https://discuss.elastic.co/t/standard-elasticsearch-workload-for-benchmark/198890)

<div class="topic-metadata">

**Author:** [@Sourav\_Paul](https://discuss.elastic.co/u/Sourav_Paul)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 11:51am UTC](https://discuss.elastic.co/t/standard-elasticsearch-workload-for-benchmark/198890 "2019-09-10T11:51:30Z")

</div>

Can anyone of you suggest what would be industry standard Elasticsearch workload for Benchmark? My aim is to have a mix of Index (with different document size) and Search operations (with different level of queries, lik…

---

## [Elastic search download version](https://discuss.elastic.co/t/elastic-search-download-version/198823)

<div class="topic-metadata">

**Author:** [@Velliyangiri](https://discuss.elastic.co/u/Velliyangiri)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 11:40am UTC](https://discuss.elastic.co/t/elastic-search-download-version/198823 "2019-09-10T11:40:49Z")

</div>

Which version of elastic search should be needed to avoid cannot find symbol errors in InetSocketAddress ,PreBuiltTransportClient classes? Please help me.Thanks in advance

---

## [How to generates the query based on the users input](https://discuss.elastic.co/t/how-to-generates-the-query-based-on-the-users-input/198837)

<div class="topic-metadata">

**Author:** [@rameshkr1994](https://discuss.elastic.co/u/rameshkr1994)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 11:37am UTC](https://discuss.elastic.co/t/how-to-generates-the-query-based-on-the-users-input/198837 "2019-09-10T11:37:55Z")

</div>

Dear All. I having issue while searching with multiple fields condition in elastic search. i want know how can we run elastic search query based on user input (provided fields). Very Thanks HadoopHelp

---

## [Keyword is empty](https://discuss.elastic.co/t/keyword-is-empty/198864)

<div class="topic-metadata">

**Author:** [@dgomezan](https://discuss.elastic.co/u/dgomezan)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 11:31am UTC](https://discuss.elastic.co/t/keyword-is-empty/198864 "2019-09-10T11:31:40Z")

</div>

I have defined a new mapping on a type of document (log) as follows: { "mapping": { "log": { "properties": { "requested\_uri": { "type": "text", "fields": { "keyword": …

---

## [\[Kibana7.0.1\] Error: "field" is a required parameter is returned when viewing the data in discover tab which is ingested by Machine Learning-\>Data Visualizer tool](https://discuss.elastic.co/t/kibana7-0-1-error-field-is-a-required-parameter-is-returned-when-viewing-the-data-in-discover-tab-which-is-ingested-by-machine-learning-data-visualizer-tool/198608)

<div class="topic-metadata">

**Author:** [@cheriemilk](https://discuss.elastic.co/u/cheriemilk)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 11:24am UTC](https://discuss.elastic.co/t/kibana7-0-1-error-field-is-a-required-parameter-is-returned-when-viewing-the-data-in-discover-tab-which-is-ingested-by-machine-learning-data-visualizer-tool/198608 "2019-09-10T11:24:47Z")

</div>

Hi Team, I ingested data in a csv file by Kibana-\>Machine Learning-\>Data Visualizer. Then I go to discover tab and select index "testbe\*" to view data, but I got below error Discover: "field" is a required par…

---

## [How to connect Java program in elastic search 7.3.1?](https://discuss.elastic.co/t/how-to-connect-java-program-in-elastic-search-7-3-1/198825)

<div class="topic-metadata">

**Author:** [@Velliyangiri](https://discuss.elastic.co/u/Velliyangiri)\
**Replies:** 4\
**Last updated:** [September 10, 2019, 11:01am UTC](https://discuss.elastic.co/t/how-to-connect-java-program-in-elastic-search-7-3-1/198825 "2019-09-10T11:01:42Z")

</div>

Is this above code is not compile successfully.I use elastic search 7.3.1.. So please give me the proper solution to connect elastic search 7.3.1 using java.

---

## [Query to get all records until the sum of column less than or equal a value](https://discuss.elastic.co/t/query-to-get-all-records-until-the-sum-of-column-less-than-or-equal-a-value/197302)

<div class="topic-metadata">

**Author:** [@darshitdrg](https://discuss.elastic.co/u/darshitdrg)\
**Replies:** 8\
**Last updated:** [September 10, 2019, 10:38am UTC](https://discuss.elastic.co/t/query-to-get-all-records-until-the-sum-of-column-less-than-or-equal-a-value/197302 "2019-09-10T10:38:53Z")

</div>

HI, Is there any way to find ids of document for which sum of field "salary" reach 10000? I just want to fetch ids for which the total of salary is just less than or equal to 10000? something like - https://stackoverf…

---

## [Issue: Getting wrong data in aggs using script or field property](https://discuss.elastic.co/t/issue-getting-wrong-data-in-aggs-using-script-or-field-property/193738)

<div class="topic-metadata">

**Author:** [@Vishal\_Shetty](https://discuss.elastic.co/u/Vishal_Shetty)\
**Replies:** 5\
**Last updated:** [September 10, 2019, 10:15am UTC](https://discuss.elastic.co/t/issue-getting-wrong-data-in-aggs-using-script-or-field-property/193738 "2019-09-10T10:15:33Z")

</div>

Hey guys, Can someone please help me on this issue.

---

## [Elasticsearch 6.6 : How to pass multiple values for a given field to search](https://discuss.elastic.co/t/elasticsearch-6-6-how-to-pass-multiple-values-for-a-given-field-to-search/198868)

<div class="topic-metadata">

**Author:** [@Chetan\_Ramaiah](https://discuss.elastic.co/u/Chetan_Ramaiah)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 10:15am UTC](https://discuss.elastic.co/t/elasticsearch-6-6-how-to-pass-multiple-values-for-a-given-field-to-search/198868 "2019-09-10T10:15:04Z")

</div>

Hi, I am new to elasticsearch, working on version 6.6 and using Java high level rest client with spring boot. Could you please let me know how do I pass multiple values for a given field to search? for ex: we have emp…

---

## [Kibana pods is throwing error message as (Another Kibana instance appears to be migrating the index) when installing ELK Stack for first Time](https://discuss.elastic.co/t/kibana-pods-is-throwing-error-message-as-another-kibana-instance-appears-to-be-migrating-the-index-when-installing-elk-stack-for-first-time/196118)

<div class="topic-metadata">

**Author:** [@Varun\_S](https://discuss.elastic.co/u/Varun_S)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 10:09am UTC](https://discuss.elastic.co/t/kibana-pods-is-throwing-error-message-as-another-kibana-instance-appears-to-be-migrating-the-index-when-installing-elk-stack-for-first-time/196118 "2019-09-10T10:09:02Z")

</div>

Hi, We have Deployed Elk Stack in Kubernetes environment.Here we are deploying ELK Stack for the first time and also the cluster is new , And we observe that kibana pod is getting restarted. Elk Stack version used here…

---

## [Parallelize request from Ingest Plugin while using bulk API](https://discuss.elastic.co/t/parallelize-request-from-ingest-plugin-while-using-bulk-api/198863)

<div class="topic-metadata">

**Author:** [@Borwick\_5576](https://discuss.elastic.co/u/Borwick_5576)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 9:44am UTC](https://discuss.elastic.co/t/parallelize-request-from-ingest-plugin-while-using-bulk-api/198863 "2019-09-10T09:44:36Z")

</div>

I'm using a ingest plugin which allows me to retrieve data related to each document indexed from a server. This operation is quite expensive in terms of time, but it just requires Elasticsearch to wait for the server res…

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

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