# Elasticsearch

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

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

**Page:** 956

---

## [Invalid NEST response built from a successful (404) low level call](https://discuss.elastic.co/t/invalid-nest-response-built-from-a-successful-404-low-level-call/228088)

<div class="topic-metadata">

**Author:** [@buka\_bidzina](https://discuss.elastic.co/u/buka_bidzina)\
**Replies:** 4\
**Last updated:** [April 15, 2020, 12:06pm UTC](https://discuss.elastic.co/t/invalid-nest-response-built-from-a-successful-404-low-level-call/228088 "2020-04-15T12:06:12Z")

</div>

Using indexMany mapping, and getting this error: Invalid NEST response built from a successful (404) low level call on POST: /cat/\_bulk Invalid Bulk items: Audit trail of this API call: \[1\] HealthyResponse: Node: http…

---

## [Cloud on K8S - Quickstart Example (v1.0) Configure SSL](https://discuss.elastic.co/t/cloud-on-k8s-quickstart-example-v1-0-configure-ssl/228104)

<div class="topic-metadata">

**Author:** [@eapaydin](https://discuss.elastic.co/u/eapaydin)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 11:45am UTC](https://discuss.elastic.co/t/cloud-on-k8s-quickstart-example-v1-0-configure-ssl/228104 "2020-04-15T11:45:01Z")

</div>

I started working on elastic search and the given task was to configure a SSL certificate to talk on HTTPS configuration. I completed the installation by following the steps here (https://www.elastic.co/guide/en/cloud-o…

---

## [Unable to export data to elasticsearch via hive](https://discuss.elastic.co/t/unable-to-export-data-to-elasticsearch-via-hive/228099)

<div class="topic-metadata">

**Author:** [@Baskaran\_SP](https://discuss.elastic.co/u/Baskaran_SP)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 11:28am UTC](https://discuss.elastic.co/t/unable-to-export-data-to-elasticsearch-via-hive/228099 "2020-04-15T11:28:47Z")

</div>

Job Submission failed with exception 'org.elasticsearch.hadoop.EsHadoopIllegalArgumentException(Cannot detect ES version - typically this happens if the network/Elasticsearch cluster is not accessible or when targeting a…

---

## [Ngrams - choosing the value of N](https://discuss.elastic.co/t/ngrams-choosing-the-value-of-n/228096)

<div class="topic-metadata">

**Author:** [@vibhuti\_sharma](https://discuss.elastic.co/u/vibhuti_sharma)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 11:11am UTC](https://discuss.elastic.co/t/ngrams-choosing-the-value-of-n/228096 "2020-04-15T11:11:38Z")

</div>

I need to perform substring search on the content of files. I decided to go with the NGrams approach - index the entire content of all the files as ngrams (I am using an ngram tokenizer) and then query them using a match…

---

## [Test element value](https://discuss.elastic.co/t/test-element-value/228085)

<div class="topic-metadata">

**Author:** [@rakesh\_jain](https://discuss.elastic.co/u/rakesh_jain)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 10:45am UTC](https://discuss.elastic.co/t/test-element-value/228085 "2020-04-15T10:45:19Z")

</div>

Hi, In the Kibana I am getting a value of a field test element name, this value is coming from JMeter through elasticsearch, I want to set/specify value of this field 'test element name' myself. How can I do that ?

---

## [\[ERROR\] Cannot race. Error in track preparator (('Could not load component \[eventdata\]', None))](https://discuss.elastic.co/t/error-cannot-race-error-in-track-preparator-could-not-load-component-eventdata-none/227209)

<div class="topic-metadata">

**Author:** [@davidmarsh](https://discuss.elastic.co/u/davidmarsh)\
**Replies:** 15\
**Last updated:** [April 15, 2020, 10:20am UTC](https://discuss.elastic.co/t/error-cannot-race-error-in-track-preparator-could-not-load-component-eventdata-none/227209 "2020-04-15T10:20:11Z")

</div>

After running this Rally race (and I've been able to run it successfully for several hours beforehand), I suddenly get an error. \[ec2-user@ip-172-30-2-208 ~\]$ esrally --distribution-version=7.6.0 --track=eventdata --tra…

---

## [Elastic Search: Composite Aggregations with Cardinality in NEST](https://discuss.elastic.co/t/elastic-search-composite-aggregations-with-cardinality-in-nest/227602)

<div class="topic-metadata">

**Author:** [@Vignesh\_Theyagarajan](https://discuss.elastic.co/u/Vignesh_Theyagarajan)\
**Replies:** 2\
**Last updated:** [April 15, 2020, 10:05am UTC](https://discuss.elastic.co/t/elastic-search-composite-aggregations-with-cardinality-in-nest/227602 "2020-04-15T10:05:24Z")

</div>

I'm using the composite and terms aggregations to get grouped results based on a given field. I'm also using Cardinality aggregation to get the overall count of the aggregation buckets. Find below the request query I'm …

---

## [Restrict Fields being created](https://discuss.elastic.co/t/restrict-fields-being-created/228060)

<div class="topic-metadata">

**Author:** [@Mario\_Morelli](https://discuss.elastic.co/u/Mario_Morelli)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 10:00am UTC](https://discuss.elastic.co/t/restrict-fields-being-created/228060 "2020-04-15T10:00:43Z")

</div>

Hi Guys I have a question I can't get going through the forums. Is there any way to set up a rule that will prohibit any attempt to create a field with a name that has a datetime section in it? For e.g data comes in, …

---

## [Ingest Plugin - Index new documents from within pipeline processor](https://discuss.elastic.co/t/ingest-plugin-index-new-documents-from-within-pipeline-processor/228075)

<div class="topic-metadata">

**Author:** [@mrpew](https://discuss.elastic.co/u/mrpew)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 9:47am UTC](https://discuss.elastic.co/t/ingest-plugin-index-new-documents-from-within-pipeline-processor/228075 "2020-04-15T09:47:22Z")

</div>

Heya! Is there a way to create/index new documents from within the context of a running pipeline processor? Basically, I want to do this: @Override public IngestDocument execute(IngestDocument ingestDocument) throws E…

---

## [java.lang.IllegalStateException: Unrecoverable indexation failures: 1 errors among 1 requests](https://discuss.elastic.co/t/java-lang-illegalstateexception-unrecoverable-indexation-failures-1-errors-among-1-requests/228074)

<div class="topic-metadata">

**Author:** [@krishna123](https://discuss.elastic.co/u/krishna123)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 9:44am UTC](https://discuss.elastic.co/t/java-lang-illegalstateexception-unrecoverable-indexation-failures-1-errors-among-1-requests/228074 "2020-04-15T09:44:37Z")

</div>

java.lang.IllegalStateException: Unrecoverable indexation failures: 1 errors among 1 requests at org.sonar.server.es.IndexingListener$1.onFinish(IndexingListener.java:39) at org.sonar.server.es.BulkIndexer.stop(BulkInd…

---

## [What the difference between shrink api and reindex api](https://discuss.elastic.co/t/what-the-difference-between-shrink-api-and-reindex-api/228063)

<div class="topic-metadata">

**Author:** [@lusynda](https://discuss.elastic.co/u/lusynda)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 8:57am UTC](https://discuss.elastic.co/t/what-the-difference-between-shrink-api-and-reindex-api/228063 "2020-04-15T08:57:01Z")

</div>

Hi all After briefly read about shrink api i see that it is no diff from the reindex api except the syntax, so what is the true diff between them and what is the benefit of using shrink api and using reindex api Thank …

---

## [ILM doesn't start indexes rollover](https://discuss.elastic.co/t/ilm-doesnt-start-indexes-rollover/227877)

<div class="topic-metadata">

**Author:** [@v.n](https://discuss.elastic.co/u/v.n)\
**Replies:** 8\
**Last updated:** [April 15, 2020, 8:47am UTC](https://discuss.elastic.co/t/ilm-doesnt-start-indexes-rollover/227877 "2020-04-15T08:47:37Z")

</div>

Hi! We have cluster from 4 nodes, 2 of them are data nodes, 1 only master node and 1 coordinating one. Recently we implemented some ILM for all indexes. One of policies is shown below PUT \_ilm/policy/winlogbeat { "po…

---

## [Different hosts for local and remote cluster](https://discuss.elastic.co/t/different-hosts-for-local-and-remote-cluster/226737)

<div class="topic-metadata">

**Author:** [@wedkarz014](https://discuss.elastic.co/u/wedkarz014)\
**Replies:** 11\
**Last updated:** [April 15, 2020, 8:50am UTC](https://discuss.elastic.co/t/different-hosts-for-local-and-remote-cluster/226737 "2020-04-15T08:50:36Z")

</div>

Hi everyone! I have two clusters, i would like to connect them using remote cluster. I want to connect 2nd to 1st using front address, but internal communication of 1st cluster should be on backend address. I tried with…

---

## [Httpd or Nginix for securing elasticsearch](https://discuss.elastic.co/t/httpd-or-nginix-for-securing-elasticsearch/227582)

<div class="topic-metadata">

**Author:** [@SathishPrakasam](https://discuss.elastic.co/u/SathishPrakasam)\
**Replies:** 3\
**Last updated:** [April 15, 2020, 8:42am UTC](https://discuss.elastic.co/t/httpd-or-nginix-for-securing-elasticsearch/227582 "2020-04-15T08:42:53Z")

</div>

Hi Team, We handle many customers and we are running ELk cluster on openstack cloud. Inorder to secure the elk stack we are planning to secure the http layer with a web server. We currently secure our application laye…

---

## [Elastic Watcher: Cannot set correctly fields.assignee.name in Jira action](https://discuss.elastic.co/t/elastic-watcher-cannot-set-correctly-fields-assignee-name-in-jira-action/228054)

<div class="topic-metadata">

**Author:** [@Jack\_Phan](https://discuss.elastic.co/u/Jack_Phan)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 8:06am UTC](https://discuss.elastic.co/t/elastic-watcher-cannot-set-correctly-fields-assignee-name-in-jira-action/228054 "2020-04-15T08:06:42Z")

</div>

In the document for creating Jira action, we can set the fields.assignee.name to assign an issue to a particular Jira user. The value I set here is the name displayed when I go to my profile in Jira. However, after the …

---

## [Receive Timeout Transport Exception Error on Elastic nodes](https://discuss.elastic.co/t/receive-timeout-transport-exception-error-on-elastic-nodes/226674)

<div class="topic-metadata">

**Author:** [@m\_vibin](https://discuss.elastic.co/u/m_vibin)\
**Replies:** 6\
**Last updated:** [April 15, 2020, 7:26am UTC](https://discuss.elastic.co/t/receive-timeout-transport-exception-error-on-elastic-nodes/226674 "2020-04-15T07:26:55Z")

</div>

\[2020-04-06T09:21:03,615\]\[DEBUG\]\[o.e.a.a.c.n.s.TransportNodesStatsAction\] \[prod0\] failed to execute on node \[\_bHsnuTsTE-omVcgDE\_2fQ\] org.elasticsearch.transport.ReceiveTimeoutTransportException: \[prod1\]\[10.109.42.245:930…

---

## [Elasticsearch 6.x](https://discuss.elastic.co/t/elasticsearch-6-x/227895)

<div class="topic-metadata">

**Author:** [@amitavak](https://discuss.elastic.co/u/amitavak)\
**Replies:** 2\
**Last updated:** [April 15, 2020, 7:23am UTC](https://discuss.elastic.co/t/elasticsearch-6-x/227895 "2020-04-15T07:23:18Z")

</div>

In our organization, we have a 750GB index (1.5TB with 1:1 replication, 5 nodes, 5 primary shards) setup on ES 6.2. Number of documents is ~ 90 million. Frequent updates are made to the index in prod environment on daily…

---

## [Lots of Garbage collection logs in elasticsearch 5.6](https://discuss.elastic.co/t/lots-of-garbage-collection-logs-in-elasticsearch-5-6/225391)

<div class="topic-metadata">

**Author:** [@kayshu](https://discuss.elastic.co/u/kayshu)\
**Replies:** 11\
**Last updated:** [April 15, 2020, 6:22am UTC](https://discuss.elastic.co/t/lots-of-garbage-collection-logs-in-elasticsearch-5-6/225391 "2020-04-15T06:22:34Z")

</div>

Hi, I am seeing a lot of gc overhead spent messages in the logs of a single node ES, there's also a log with total \[858ms\]/\[21.7m\]. How do I read these GCMonitor logs? What does this total \[858ms\]/\[21.7m\] means ?, What …

---

## [How to get single record from nested type array](https://discuss.elastic.co/t/how-to-get-single-record-from-nested-type-array/228036)

<div class="topic-metadata">

**Author:** [@Pankaj\_Jadhav](https://discuss.elastic.co/u/Pankaj_Jadhav)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 6:20am UTC](https://discuss.elastic.co/t/how-to-get-single-record-from-nested-type-array/228036 "2020-04-15T06:20:24Z")

</div>

Hi All, I am new in Elastic search, { "OrgDetailsLst" : \[ { "EntityId" : 3, "EntityDetailCode" : 0, "EntityName" : "PlantCode", "EntityCode" : "DRES", "Level" : 0 }, { "EntityId" : 5, "EntityDetailCode" : 0, …

---

## [Index Mapping Issue - Getting Error: "reason" : "object mapping \[locations\] can't be changed from nested to non-nested"](https://discuss.elastic.co/t/index-mapping-issue-getting-error-reason-object-mapping-locations-cant-be-changed-from-nested-to-non-nested/227938)

<div class="topic-metadata">

**Author:** [@austin-harris](https://discuss.elastic.co/u/austin-harris)\
**Replies:** 7\
**Last updated:** [April 15, 2020, 4:56am UTC](https://discuss.elastic.co/t/index-mapping-issue-getting-error-reason-object-mapping-locations-cant-be-changed-from-nested-to-non-nested/227938 "2020-04-15T04:56:45Z")

</div>

I have found many instances of others resolving this error, but I have not been successful. I have ElasticSearch 7.6 deployed. I create the index and mapping. Then, as a test have a sample JSON I am pushing and I receive…

---

## [RestHighlevelClient 7.6.1 is throwing mapper parsing exception](https://discuss.elastic.co/t/resthighlevelclient-7-6-1-is-throwing-mapper-parsing-exception/228026)

<div class="topic-metadata">

**Author:** [@Tim25659](https://discuss.elastic.co/u/Tim25659)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 4:03am UTC](https://discuss.elastic.co/t/resthighlevelclient-7-6-1-is-throwing-mapper-parsing-exception/228026 "2020-04-15T04:03:16Z")

</div>

i have asked question in the stack overflow and i have all details over there below is the link.

---

## [How to set the ES\_TMPDIR environment variable with ansible-elasticsearch](https://discuss.elastic.co/t/how-to-set-the-es-tmpdir-environment-variable-with-ansible-elasticsearch/228020)

<div class="topic-metadata">

**Author:** [@dokuhebi](https://discuss.elastic.co/u/dokuhebi)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 3:22am UTC](https://discuss.elastic.co/t/how-to-set-the-es-tmpdir-environment-variable-with-ansible-elasticsearch/228020 "2020-04-15T03:22:37Z")

</div>

We're using the ansible-elasticsearch ansible role to configure our instances, and so far, it's working well. There's one problem we're running into, and that is that, due to government security requirements, /tmp needs…

---

## [Ingest pipeline not working for filebeat](https://discuss.elastic.co/t/ingest-pipeline-not-working-for-filebeat/228015)

<div class="topic-metadata">

**Author:** [@seanziee](https://discuss.elastic.co/u/seanziee)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 2:40am UTC](https://discuss.elastic.co/t/ingest-pipeline-not-working-for-filebeat/228015 "2020-04-15T02:40:36Z")

</div>

I've created an ingest pipeline that works perfectly when I use the simulate endpoint, POST filebeat-7.6.2-2020.04.14/\_doc?pipeline=pipeline\_lookup\_test, and when I reindex the data into the index. But when I try and sen…

---

## [ES: Indexing Rate dropping significantly while Indexing Latency staying about the same](https://discuss.elastic.co/t/es-indexing-rate-dropping-significantly-while-indexing-latency-staying-about-the-same/227960)

<div class="topic-metadata">

**Author:** [@gurtgurt](https://discuss.elastic.co/u/gurtgurt)\
**Replies:** 9\
**Last updated:** [April 15, 2020, 1:40am UTC](https://discuss.elastic.co/t/es-indexing-rate-dropping-significantly-while-indexing-latency-staying-about-the-same/227960 "2020-04-15T01:40:37Z")

</div>

Hi, I'm indexing ~140 GB of data via the bulk API on a managed AWS instance. I'm noticing the Indexing rate is almost at 30% of what it started at, while the indexing latency is staying the same. I'm using EBS SSD as…

---

## [How to split index by the value of field](https://discuss.elastic.co/t/how-to-split-index-by-the-value-of-field/227904)

<div class="topic-metadata">

**Author:** [@Echo\_yu](https://discuss.elastic.co/u/Echo_yu)\
**Replies:** 2\
**Last updated:** [April 15, 2020, 1:25am UTC](https://discuss.elastic.co/t/how-to-split-index-by-the-value-of-field/227904 "2020-04-15T01:25:03Z")

</div>

Hi，I have an index which contains one of the field named ‘function’， and I want to split the existing index into small indices by the value of the field ‘function’. For example: new index named 'functionA' contains all t…

---

## [ES 1.6.2 Java client and ES 1.5.2 cluster](https://discuss.elastic.co/t/es-1-6-2-java-client-and-es-1-5-2-cluster/227999)

<div class="topic-metadata">

**Author:** [@Cleosson\_Souza](https://discuss.elastic.co/u/Cleosson_Souza)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 12:12am UTC](https://discuss.elastic.co/t/es-1-6-2-java-client-and-es-1-5-2-cluster/227999 "2020-04-15T00:12:22Z")

</div>

Hello, I took a look at end of life and I understood that ES 1.6.2 Java client is compatible with ES 1.5.2 cluster Is ES 1.6.2 Java client really compatible with ES 1.5.2 cluster ? Is that compatibility official ? T…

---

## [How to return distinct values from query based on a field](https://discuss.elastic.co/t/how-to-return-distinct-values-from-query-based-on-a-field/228000)

<div class="topic-metadata">

**Author:** [@Aurel\_Drejta](https://discuss.elastic.co/u/Aurel_Drejta)\
**Replies:** 2\
**Last updated:** [April 14, 2020, 11:29pm UTC](https://discuss.elastic.co/t/how-to-return-distinct-values-from-query-based-on-a-field/228000 "2020-04-14T23:29:01Z")

</div>

I'm trying to return documents from a query and i want to return distinct values in my results. I don't want to count how many documents contain the same value i just want to return some documents based on distinct or …

---

## [Index: false on field vs not mapping field at all](https://discuss.elastic.co/t/index-false-on-field-vs-not-mapping-field-at-all/228006)

<div class="topic-metadata">

**Author:** [@bern\_ash](https://discuss.elastic.co/u/bern_ash)\
**Replies:** 1\
**Last updated:** [April 14, 2020, 11:14pm UTC](https://discuss.elastic.co/t/index-false-on-field-vs-not-mapping-field-at-all/228006 "2020-04-14T23:14:47Z")

</div>

Hi everyone, Is there a difference between having a field in my mapping with index: false and simply omitting that field from my mapping (if the mapping has dynamic: false) ? I'm asking this because I have many fields …

---

## [Is it possible to use the go-elasticsearch client with dep?](https://discuss.elastic.co/t/is-it-possible-to-use-the-go-elasticsearch-client-with-dep/228001)

<div class="topic-metadata">

**Author:** [@ddrobert](https://discuss.elastic.co/u/ddrobert)\
**Replies:** 0\
**Last updated:** [April 14, 2020, 9:15pm UTC](https://discuss.elastic.co/t/is-it-possible-to-use-the-go-elasticsearch-client-with-dep/228001 "2020-04-14T21:15:17Z")

</div>

I'm working with an existing codebase that is difficult to migrate to go modules. Is it possible to use the go-elasticsearch client with dep? I'm running into issues with dep ensure when I try to do so.

---

## [Multi-search with rescore](https://discuss.elastic.co/t/multi-search-with-rescore/227839)

<div class="topic-metadata">

**Author:** [@eugenetries](https://discuss.elastic.co/u/eugenetries)\
**Replies:** 1\
**Last updated:** [April 14, 2020, 9:01pm UTC](https://discuss.elastic.co/t/multi-search-with-rescore/227839 "2020-04-14T21:01:56Z")

</div>

Hi Everyone, Is it possible to include rescores in a multi-search API call? I have not found any examples of this in the docs or elsewhere, and my attempts to piece it together on my own have been fruitless. Thanks in …

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

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