# Elasticsearch

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

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

**Page:** 828

---

## [Enable Kerberos realm in Elastic docker container for Kibana authentication](https://discuss.elastic.co/t/enable-kerberos-realm-in-elastic-docker-container-for-kibana-authentication/245924)

<div class="topic-metadata">

**Author:** [@Michal\_Stefanec](https://discuss.elastic.co/u/Michal_Stefanec)\
**Replies:** 7\
**Last updated:** [August 24, 2020, 2:01pm UTC](https://discuss.elastic.co/t/enable-kerberos-realm-in-elastic-docker-container-for-kibana-authentication/245924 "2020-08-24T14:01:30Z")

</div>

Hello, we have ELK stack (7.8.0) deployed on our on-premise server. We user docker-compose deployment and currently we are using Trial license. We would like to authenticate domain users when logging in Kibana. Kerbero…

---

## [ML model lifecycle](https://discuss.elastic.co/t/ml-model-lifecycle/246062)

<div class="topic-metadata">

**Author:** [@saraKM](https://discuss.elastic.co/u/saraKM)\
**Replies:** 1\
**Last updated:** [August 24, 2020, 12:56pm UTC](https://discuss.elastic.co/t/ml-model-lifecycle/246062 "2020-08-24T12:56:31Z")

</div>

Hi, If I have a job with both partition\_by and by\_field names defined, does that mean we have models created for all combinations of values for these two fields? How these models are managed (do we keep all of them or g…

---

## [Collection terminated exception for min aggregation when field is not present in the documents](https://discuss.elastic.co/t/collection-terminated-exception-for-min-aggregation-when-field-is-not-present-in-the-documents/246111)

<div class="topic-metadata">

**Author:** [@ahmadimt07](https://discuss.elastic.co/u/ahmadimt07)\
**Replies:** 0\
**Last updated:** [August 24, 2020, 12:04pm UTC](https://discuss.elastic.co/t/collection-terminated-exception-for-min-aggregation-when-field-is-not-present-in-the-documents/246111 "2020-08-24T12:04:23Z")

</div>

I am getting collection\_terminated\_exception when running nested min aggregation. However, max, avg, and sum are returning empty buckets. This is happening when the field we are doing aggregation is not present in any of…

---

## [How to rewrite this groovy script into painless script ? Facing a lot of issues](https://discuss.elastic.co/t/how-to-rewrite-this-groovy-script-into-painless-script-facing-a-lot-of-issues/246110)

<div class="topic-metadata">

**Author:** [@prasad98](https://discuss.elastic.co/u/prasad98)\
**Replies:** 0\
**Last updated:** [August 24, 2020, 11:52am UTC](https://discuss.elastic.co/t/how-to-rewrite-this-groovy-script-into-painless-script-facing-a-lot-of-issues/246110 "2020-08-24T11:52:15Z")

</div>

My ES document model is as follows "hits": \[ { "\_source": { "variant\_group": { "variant\_info": \[ { "name": …

---

## [Elasticsearch upgrade Snapshot in cluster nodes](https://discuss.elastic.co/t/elasticsearch-upgrade-snapshot-in-cluster-nodes/245532)

<div class="topic-metadata">

**Author:** [@katara](https://discuss.elastic.co/u/katara)\
**Replies:** 4\
**Last updated:** [August 24, 2020, 11:17am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-snapshot-in-cluster-nodes/245532 "2020-08-24T11:17:42Z")

</div>

Hi Team, I am trying to upgrade my 7.2 ES cluster to 7.7.1. I have a few questions on the snapshot process. I have a 6 node cluster - 3 Master and 3 Data Nodes. 1. How should i take snapshots? Should i create a repo…

---

## [Elastic 401 error after upgrading to version 7.5.1](https://discuss.elastic.co/t/elastic-401-error-after-upgrading-to-version-7-5-1/242762)

<div class="topic-metadata">

**Author:** [@Aadil](https://discuss.elastic.co/u/Aadil)\
**Replies:** 1\
**Last updated:** [August 24, 2020, 9:54am UTC](https://discuss.elastic.co/t/elastic-401-error-after-upgrading-to-version-7-5-1/242762 "2020-08-24T09:54:51Z")

</div>

Hi Team, i am new to this system, I had upgraded from version 6.3.2 to version 7.5.1 and now i get the below error on all 3 nodes: {"error":{"root\_cause":\[{"type":"security\_exception","reason":"missing authentication cr…

---

## [Do I get help for trial license](https://discuss.elastic.co/t/do-i-get-help-for-trial-license/245861)

<div class="topic-metadata">

**Author:** [@bharat1](https://discuss.elastic.co/u/bharat1)\
**Replies:** 1\
**Last updated:** [August 24, 2020, 9:19am UTC](https://discuss.elastic.co/t/do-i-get-help-for-trial-license/245861 "2020-08-24T09:19:44Z")

</div>

Have a clarification, Do I get help to fix the issues from support team for my trial license if I got stuck?

---

## [Sync data from mssql to elasticsearch](https://discuss.elastic.co/t/sync-data-from-mssql-to-elasticsearch/246074)

<div class="topic-metadata">

**Author:** [@Gagana\_C](https://discuss.elastic.co/u/Gagana_C)\
**Replies:** 0\
**Last updated:** [August 24, 2020, 8:58am UTC](https://discuss.elastic.co/t/sync-data-from-mssql-to-elasticsearch/246074 "2020-08-24T08:58:54Z")

</div>

i have mssql database as source of truth, and people keep inserting or updating data into that, but i need to sync all that transaction by traction to elastic search, how can i do that. i tried using CDC and kafka to ge…

---

## [org.elasticsearch.search.SearchHit](https://discuss.elastic.co/t/org-elasticsearch-search-searchhit/246069)

<div class="topic-metadata">

**Author:** [@Pete\_Watcharawit](https://discuss.elastic.co/u/Pete_Watcharawit)\
**Replies:** 0\
**Last updated:** [August 24, 2020, 7:51am UTC](https://discuss.elastic.co/t/org-elasticsearch-search-searchhit/246069 "2020-08-24T07:51:43Z")

</div>

From version 2.3.1, there is a method called isSourceEmpty() Is it compatible with 7.8.1 hasSource()? I bet they are very similar in terms of logic.

---

## [How to implement pagination using java](https://discuss.elastic.co/t/how-to-implement-pagination-using-java/246018)

<div class="topic-metadata">

**Author:** [@abhishek\_chaturvedi](https://discuss.elastic.co/u/abhishek_chaturvedi)\
**Replies:** 4\
**Last updated:** [August 24, 2020, 6:59am UTC](https://discuss.elastic.co/t/how-to-implement-pagination-using-java/246018 "2020-08-24T06:59:32Z")

</div>

Hi All, Could someone guide me with some code snippet on writing pagination logic using ES java rest high level client api. Below is my service code: @Override public List getResponses(ZonedDateTime startDate, ZonedDa…

---

## [ElasticSearch C# Nested List Filter Not Working when i compare array using 7.5.1](https://discuss.elastic.co/t/elasticsearch-c-nested-list-filter-not-working-when-i-compare-array-using-7-5-1/246052)

<div class="topic-metadata">

**Author:** [@kotishwerreddy](https://discuss.elastic.co/u/kotishwerreddy)\
**Replies:** 3\
**Last updated:** [August 24, 2020, 6:46am UTC](https://discuss.elastic.co/t/elasticsearch-c-nested-list-filter-not-working-when-i-compare-array-using-7-5-1/246052 "2020-08-24T06:46:35Z")

</div>

Hello Every one, i'm using Elasticsearch 7.5.1 with .Net core 3.1, in that i'm want to search using country filters in the nested object (list detail object), but when i trying to filter i'm unable to filter returning…

---

## [Any way to sign requests to AWS elasticsearch using ASP.NET NEST?](https://discuss.elastic.co/t/any-way-to-sign-requests-to-aws-elasticsearch-using-asp-net-nest/245938)

<div class="topic-metadata">

**Author:** [@primico](https://discuss.elastic.co/u/primico)\
**Replies:** 2\
**Last updated:** [August 24, 2020, 5:30am UTC](https://discuss.elastic.co/t/any-way-to-sign-requests-to-aws-elasticsearch-using-asp-net-nest/245938 "2020-08-24T05:30:16Z")

</div>

For production we restrict access to AWS elasticsearch to only the web server IP, but for development where developers are in different locations with different IP's is there a way to sign the requests using ASP.NET NEST…

---

## [Unable to authenticate user \[elastic\] for rest request](https://discuss.elastic.co/t/unable-to-authenticate-user-elastic-for-rest-request/246015)

<div class="topic-metadata">

**Author:** [@anil\_sunkesula](https://discuss.elastic.co/u/anil_sunkesula)\
**Replies:** 4\
**Last updated:** [August 24, 2020, 4:21am UTC](https://discuss.elastic.co/t/unable-to-authenticate-user-elastic-for-rest-request/246015 "2020-08-24T04:21:49Z")

</div>

I have launched Elasticsearch(Self-Managed) cluster using Azure marketplace. But not able to access elastic search. I tried with default user elastic and password which I gave while deploying the cluster. Getting error…

---

## [Elasticsearch clustering with External Storage](https://discuss.elastic.co/t/elasticsearch-clustering-with-external-storage/245215)

<div class="topic-metadata">

**Author:** [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)\
**Replies:** 4\
**Last updated:** [August 24, 2020, 3:07am UTC](https://discuss.elastic.co/t/elasticsearch-clustering-with-external-storage/245215 "2020-08-24T03:07:38Z")

</div>

Im having an elasticsearch cluster with local storage. Can I point all elasticsearch data nodes to same external hard disk? This will help me in Kubernetes to pull storage out of nodes/pods and keep it separate

---

## [Elasticsearch 7.9 doesn't start](https://discuss.elastic.co/t/elasticsearch-7-9-doesnt-start/245995)

<div class="topic-metadata">

**Author:** [@Peter123](https://discuss.elastic.co/u/Peter123)\
**Replies:** 3\
**Last updated:** [August 24, 2020, 1:07am UTC](https://discuss.elastic.co/t/elasticsearch-7-9-doesnt-start/245995 "2020-08-24T01:07:14Z")

</div>

I have Elasticsearch 7.9 and it doesn't start. How fix this problem? Centos 7 Java version openjdk version "1.8.0\_262" OpenJDK Runtime Environment (build 1.8.0\_262-b10) OpenJDK 64-Bit Server VM (build 25.262-b10, mi…

---

## [Ignore certain http errors using Java high level rest client](https://discuss.elastic.co/t/ignore-certain-http-errors-using-java-high-level-rest-client/245537)

<div class="topic-metadata">

**Author:** [@Wan\_Hui](https://discuss.elastic.co/u/Wan_Hui)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 7:39am UTC](https://discuss.elastic.co/t/ignore-certain-http-errors-using-java-high-level-rest-client/245537 "2020-08-19T07:39:13Z")

</div>

The Javascript client allows specifying certain HTTP status codes which should not be considered as errors, as per https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/ignore\_examples.html How can…

---

## [Reindex API not working using Java Rest High Level Client 6.6.1](https://discuss.elastic.co/t/reindex-api-not-working-using-java-rest-high-level-client-6-6-1/245835)

<div class="topic-metadata">

**Author:** [@Sunayana\_V](https://discuss.elastic.co/u/Sunayana_V)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 1:22am UTC](https://discuss.elastic.co/t/reindex-api-not-working-using-java-rest-high-level-client-6-6-1/245835 "2020-08-21T01:22:03Z")

</div>

Hi all, ElasticSearch Version : 6.7 Rest Hight Level Client Version: 6.6.1 I'm trying to use Reindex API https://www.elastic.co/guide/en/elasticsearch/client/java-rest/6.6/java-rest-high-document-reindex.html Reinde…

---

## [Create new aggregation index periodically](https://discuss.elastic.co/t/create-new-aggregation-index-periodically/245999)

<div class="topic-metadata">

**Author:** [@Vester](https://discuss.elastic.co/u/Vester)\
**Replies:** 2\
**Last updated:** [August 23, 2020, 9:08pm UTC](https://discuss.elastic.co/t/create-new-aggregation-index-periodically/245999 "2020-08-23T21:08:10Z")

</div>

Hi, I'm trying to create periodically a new index based on aggregation, something like: "size": 0, "aggs": { "group\_by\_xpto": { "terms": { "field": "xpto.keyword", "size": 10000 }, "aggs": { "latest\_position":…

---

## [Unable to start elasticsearch on after enabling xpack](https://discuss.elastic.co/t/unable-to-start-elasticsearch-on-after-enabling-xpack/245996)

<div class="topic-metadata">

**Author:** [@bijender\_kr](https://discuss.elastic.co/u/bijender_kr)\
**Replies:** 0\
**Last updated:** [August 22, 2020, 8:20pm UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-on-after-enabling-xpack/245996 "2020-08-22T20:20:19Z")

</div>

Hello, I have 4 node cluster and after enabling xpack TLS/SSL, I am having issue in starting the elasticsearch service on 2 nodes. Getting below error message on both the nodes. \[2020-08-22T14:21:40,269\]\[INFO \]\[o.e.n.N…

---

## ["Disk quota exceeded" Exception when mounting elasticsearch volume on EFS](https://discuss.elastic.co/t/disk-quota-exceeded-exception-when-mounting-elasticsearch-volume-on-efs/246021)

<div class="topic-metadata">

**Author:** [@ahmed75](https://discuss.elastic.co/u/ahmed75)\
**Replies:** 4\
**Last updated:** [August 23, 2020, 2:06pm UTC](https://discuss.elastic.co/t/disk-quota-exceeded-exception-when-mounting-elasticsearch-volume-on-efs/246021 "2020-08-23T14:06:20Z")

</div>

I'm running EFK Stack on my EKS cluster and i'm mounting elasticsearch volume on EFS so my data won't be lost when the container is restarted, however after few months my elasticsearch pod raised this exception "Disk quo…

---

## [NodeBuilder replacement](https://discuss.elastic.co/t/nodebuilder-replacement/245993)

<div class="topic-metadata">

**Author:** [@Pete\_Watcharawit](https://discuss.elastic.co/u/Pete_Watcharawit)\
**Replies:** 3\
**Last updated:** [August 23, 2020, 12:37pm UTC](https://discuss.elastic.co/t/nodebuilder-replacement/245993 "2020-08-23T12:37:00Z")

</div>

I am new to ES and trying to upgrade ES from 2.3 to 7.8. The following lines of code containing NodeBuilder are deprecated. import org.elasticsearch.common.settings.Settings; import org.elasticsearch.node.NodeBuilder; …

---

## [Graph query elasticsearch](https://discuss.elastic.co/t/graph-query-elasticsearch/246004)

<div class="topic-metadata">

**Author:** [@Abhinav\_Gandhi](https://discuss.elastic.co/u/Abhinav_Gandhi)\
**Replies:** 0\
**Last updated:** [August 23, 2020, 3:45am UTC](https://discuss.elastic.co/t/graph-query-elasticsearch/246004 "2020-08-23T03:45:54Z")

</div>

Hi, I was trying to visualise a graph in elasticsearch. The data set i am using is for contacts. Basically it has fields such as name, email, company\_name and owner\_name. The owner\_name field specifies who is the owner …

---

## [ES support for spark 3.0.0](https://discuss.elastic.co/t/es-support-for-spark-3-0-0/245986)

<div class="topic-metadata">

**Author:** [@jainshasha](https://discuss.elastic.co/u/jainshasha)\
**Replies:** 1\
**Last updated:** [August 22, 2020, 7:52pm UTC](https://discuss.elastic.co/t/es-support-for-spark-3-0-0/245986 "2020-08-22T19:52:01Z")

</div>

Hi In ES-hadoop github i see this MR https://github.com/elastic/elasticsearch-hadoop/pull/1498 Would like to knw when this gonna be merge into main branch. Thanks, Shashank Jain

---

## [Date field format issue](https://discuss.elastic.co/t/date-field-format-issue/245988)

<div class="topic-metadata">

**Author:** [@razor-tazor](https://discuss.elastic.co/u/razor-tazor)\
**Replies:** 3\
**Last updated:** [August 22, 2020, 1:45pm UTC](https://discuss.elastic.co/t/date-field-format-issue/245988 "2020-08-22T13:45:12Z")

</div>

I have the following query that I'm trying to run on Elasticsearch 5.6 in Kibana Dev Tools: { "query": { "bool": { "filter": { "bool": { "must": \[ { "range": {…

---

## [How to enable special characters search when using simple query string](https://discuss.elastic.co/t/how-to-enable-special-characters-search-when-using-simple-query-string/245972)

<div class="topic-metadata">

**Author:** [@Dpsoniapandey](https://discuss.elastic.co/u/Dpsoniapandey)\
**Replies:** 1\
**Last updated:** [August 22, 2020, 9:58am UTC](https://discuss.elastic.co/t/how-to-enable-special-characters-search-when-using-simple-query-string/245972 "2020-08-22T09:58:07Z")

</div>

Hi Team, I have to enable search for all type of special character when using simple query string. Please help me wit analyzer and tokeniser which is to use.

---

## [Docker elasticsearch image is larger than the zip file](https://discuss.elastic.co/t/docker-elasticsearch-image-is-larger-than-the-zip-file/245949)

<div class="topic-metadata">

**Author:** [@nages](https://discuss.elastic.co/u/nages)\
**Replies:** 3\
**Last updated:** [August 22, 2020, 8:04am UTC](https://discuss.elastic.co/t/docker-elasticsearch-image-is-larger-than-the-zip-file/245949 "2020-08-22T08:04:41Z")

</div>

what was the reason the docker image is bigger than ( almost 2X) the actual zip file . I couldn't get the docker file that was used to create docker image. Is there anyway to shrink it ?

---

## [How to enable special characters search in simple query string](https://discuss.elastic.co/t/how-to-enable-special-characters-search-in-simple-query-string/245973)

<div class="topic-metadata">

**Author:** [@divya005](https://discuss.elastic.co/u/divya005)\
**Replies:** 1\
**Last updated:** [August 22, 2020, 7:30am UTC](https://discuss.elastic.co/t/how-to-enable-special-characters-search-in-simple-query-string/245973 "2020-08-22T07:30:43Z")

</div>

Hi Team, I have to enable search for all type of special character when using simple query string. Please help me wit analyzer and tokeniser which is to use. Thanks, Divya

---

## [Best approch to collect log files to elasticsearch in AIX OS](https://discuss.elastic.co/t/best-approch-to-collect-log-files-to-elasticsearch-in-aix-os/245859)

<div class="topic-metadata">

**Author:** [@renu\_jessi](https://discuss.elastic.co/u/renu_jessi)\
**Replies:** 3\
**Last updated:** [August 22, 2020, 5:40am UTC](https://discuss.elastic.co/t/best-approch-to-collect-log-files-to-elasticsearch-in-aix-os/245859 "2020-08-22T05:40:41Z")

</div>

Hi all, Iam working on elastic stack.I need to collect logs from files to create index in elasticsearch.as i can see beats and jdk dont have support in aix os.so filebeat and logstash isn't workout it seems. can u pls …

---

## [Is it possible to remove node from ES 6.8?](https://discuss.elastic.co/t/is-it-possible-to-remove-node-from-es-6-8/245583)

<div class="topic-metadata">

**Author:** [@tarkhil](https://discuss.elastic.co/u/tarkhil)\
**Replies:** 4\
**Last updated:** [August 22, 2020, 5:35am UTC](https://discuss.elastic.co/t/is-it-possible-to-remove-node-from-es-6-8/245583 "2020-08-22T05:35:44Z")

</div>

Hello I've set up a server, started a ES 6.8 instance, run it for a while in cluster and found an error in disk setup requiring me to reinstall everything starting from OS. As far as I can understand, I have only one o…

---

## [Elastic Search with Docker](https://discuss.elastic.co/t/elastic-search-with-docker/245946)

<div class="topic-metadata">

**Author:** [@nages](https://discuss.elastic.co/u/nages)\
**Replies:** 8\
**Last updated:** [August 21, 2020, 8:43pm UTC](https://discuss.elastic.co/t/elastic-search-with-docker/245946 "2020-08-21T20:43:04Z")

</div>

I ran the following docker compose script and I am expecting two nodes to be up, however this only one. There seems to be some obvious error , please suggest your inputs Taken from the documentation https://www.elastic.…

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

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