# Elasticsearch

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

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

**Page:** 945

---

## [Deleting all snapshots without "destroying" repository?](https://discuss.elastic.co/t/deleting-all-snapshots-without-destroying-repository/229661)

<div class="topic-metadata">

**Author:** [@Arp](https://discuss.elastic.co/u/Arp)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 1:15pm UTC](https://discuss.elastic.co/t/deleting-all-snapshots-without-destroying-repository/229661 "2020-04-24T13:15:44Z")

</div>

Hi, I have a repository with a bunch of snapshots in it, all for testing. I wanted to delete them all using curl -X DELETE localhost:9200/\_snapshot/backup/\_all?pretty But afterwards, if I want to get info on the repos…

---

## [HTTPS in elastic](https://discuss.elastic.co/t/https-in-elastic/229629)

<div class="topic-metadata">

**Author:** [@carcasgon](https://discuss.elastic.co/u/carcasgon)\
**Replies:** 1\
**Last updated:** [April 24, 2020, 1:22pm UTC](https://discuss.elastic.co/t/https-in-elastic/229629 "2020-04-24T13:22:53Z")

</div>

Hi! I wanted to know what does elastic mean in this page: https://www.elastic.co/es/blog/configuring-ssl-tls-and-https-to-secure-elasticsearch-kibana-beats-and-logstash when they say: \[1-1\] Configure /etc/hosts file F…

---

## [Condition on term](https://discuss.elastic.co/t/condition-on-term/229644)

<div class="topic-metadata">

**Author:** [@nachomartin](https://discuss.elastic.co/u/nachomartin)\
**Replies:** 4\
**Last updated:** [April 24, 2020, 1:19pm UTC](https://discuss.elastic.co/t/condition-on-term/229644 "2020-04-24T13:19:34Z")

</div>

Hi guys, sorry to bother, just wanted to know if there is possible to add a condition for a term. So I have something like this: "should": \[ { "term": { …

---

## [File input to Watcher](https://discuss.elastic.co/t/file-input-to-watcher/229431)

<div class="topic-metadata">

**Author:** [@shubhamshd99](https://discuss.elastic.co/u/shubhamshd99)\
**Replies:** 3\
**Last updated:** [April 24, 2020, 12:49pm UTC](https://discuss.elastic.co/t/file-input-to-watcher/229431 "2020-04-24T12:49:44Z")

</div>

Hi Guys, I just wanted to know if there is any way I could take input for watcher, a file hosted somewhere on the server??? Until now I have found Http input option, which could be used to get results from external web…

---

## [Multi Cluster Navigation](https://discuss.elastic.co/t/multi-cluster-navigation/229653)

<div class="topic-metadata">

**Author:** [@fmh](https://discuss.elastic.co/u/fmh)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 12:31pm UTC](https://discuss.elastic.co/t/multi-cluster-navigation/229653 "2020-04-24T12:31:28Z")

</div>

Hello everyone, I need to administrate several separate Elastic clusters and I'm looking for something similar to Microsoft SQL Server Management Studio's server registration feature so I can register the Endpoint and B…

---

## [How to deduplicate and perform aggregations using single Elastic search query?](https://discuss.elastic.co/t/how-to-deduplicate-and-perform-aggregations-using-single-elastic-search-query/229650)

<div class="topic-metadata">

**Author:** [@bhaveshpatel640](https://discuss.elastic.co/u/bhaveshpatel640)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 12:15pm UTC](https://discuss.elastic.co/t/how-to-deduplicate-and-perform-aggregations-using-single-elastic-search-query/229650 "2020-04-24T12:15:38Z")

</div>

I have an index where employee details data is stored. I have feedback field per employee integer values (0-10). I want to get the count of feedback, avg rating of the feedbacks and avg rating per employee of the feedb…

---

## [Transaction per second, agg last 15 minutes](https://discuss.elastic.co/t/transaction-per-second-agg-last-15-minutes/229645)

<div class="topic-metadata">

**Author:** [@Elad\_Ben-aderet](https://discuss.elastic.co/u/Elad_Ben-aderet)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 12:12pm UTC](https://discuss.elastic.co/t/transaction-per-second-agg-last-15-minutes/229645 "2020-04-24T12:12:35Z")

</div>

I have the "action" field, I want to query last 15 minutes and get the avg 'transactions' for every action type every (interval) seconds. I made this but it gives me just the last minute result body: { size: 0, …

---

## [Field length validation using ES and matched from ES document](https://discuss.elastic.co/t/field-length-validation-using-es-and-matched-from-es-document/229633)

<div class="topic-metadata">

**Author:** [@vinay123](https://discuss.elastic.co/u/vinay123)\
**Replies:** 1\
**Last updated:** [April 24, 2020, 12:05pm UTC](https://discuss.elastic.co/t/field-length-validation-using-es-and-matched-from-es-document/229633 "2020-04-24T12:05:32Z")

</div>

Hello ES Team, I have criteria for searching field length from json file using ES query. lets say example . I have a index 'A' - it contains json file documents. Now i need to validate a field lenght is matching in…

---

## [Elasticsearch python connection error. Failed to establish a new connection](https://discuss.elastic.co/t/elasticsearch-python-connection-error-failed-to-establish-a-new-connection/229640)

<div class="topic-metadata">

**Author:** [@Shekhar\_Koirala](https://discuss.elastic.co/u/Shekhar_Koirala)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 11:54am UTC](https://discuss.elastic.co/t/elasticsearch-python-connection-error-failed-to-establish-a-new-connection/229640 "2020-04-24T11:54:43Z")

</div>

Here is my docker-compose file for elasticsearch: elasticsearch: container\_name: avs-elasticsearch image: "elasticsearch:6.8.3" command: elasticsearch env\_file: - ./.envs/.env.prod ports: - 9200:9200 - 9300:9300 v…

---

## [Force heap dump](https://discuss.elastic.co/t/force-heap-dump/229623)

<div class="topic-metadata">

**Author:** [@YvorL](https://discuss.elastic.co/u/YvorL)\
**Replies:** 1\
**Last updated:** [April 24, 2020, 11:29am UTC](https://discuss.elastic.co/t/force-heap-dump/229623 "2020-04-24T11:29:48Z")

</div>

Hi, Is there a way to force a heap dump with Elasticsearch? I have OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu218.04) running and unfortunately, jmap isn't part of that. Thanks!

---

## [Search on pipelines user-agent fields](https://discuss.elastic.co/t/search-on-pipelines-user-agent-fields/229516)

<div class="topic-metadata">

**Author:** [@the\_fire\_fades](https://discuss.elastic.co/u/the_fire_fades)\
**Replies:** 3\
**Last updated:** [April 24, 2020, 10:52am UTC](https://discuss.elastic.co/t/search-on-pipelines-user-agent-fields/229516 "2020-04-24T10:52:30Z")

</div>

Hello everybody, I use the https://www.elastic.co/guide/en/elasticsearch/reference/current/user-agent-processor.html tutorial to extract the user-agent from a header that I put in my documents. This works fine, I have …

---

## [Elasticsearch Service on Azure cloud vs Elasticsearch Service on Elastic cloud](https://discuss.elastic.co/t/elasticsearch-service-on-azure-cloud-vs-elasticsearch-service-on-elastic-cloud/229271)

<div class="topic-metadata">

**Author:** [@Alexandros888](https://discuss.elastic.co/u/Alexandros888)\
**Replies:** 6\
**Last updated:** [April 24, 2020, 10:06am UTC](https://discuss.elastic.co/t/elasticsearch-service-on-azure-cloud-vs-elasticsearch-service-on-elastic-cloud/229271 "2020-04-24T10:06:03Z")

</div>

Hello, Can someone please explain me whats the pros and cons of using ELK as a service on Azure cloud vs using ELK as a service on Elastic cloud? And as an additional question, is logstash also going to be part of the …

---

## [How to save tabs(four whitespaces) to a keyword field?](https://discuss.elastic.co/t/how-to-save-tabs-four-whitespaces-to-a-keyword-field/229614)

<div class="topic-metadata">

**Author:** [@wywx](https://discuss.elastic.co/u/wywx)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 9:59am UTC](https://discuss.elastic.co/t/how-to-save-tabs-four-whitespaces-to-a-keyword-field/229614 "2020-04-24T09:59:44Z")

</div>

Hi all, I want to save a string like "I am fine. --Bob" to a keyword filed,but I get a doc "I am fine. --Bob" that I loss three whitespaces. What should I do?

---

## [Datasets missing in Running labs on your local machine Zip files](https://discuss.elastic.co/t/datasets-missing-in-running-labs-on-your-local-machine-zip-files/229607)

<div class="topic-metadata">

**Author:** [@rab](https://discuss.elastic.co/u/rab)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 9:03am UTC](https://discuss.elastic.co/t/datasets-missing-in-running-labs-on-your-local-machine-zip-files/229607 "2020-04-24T09:03:32Z")

</div>

Datasets missing in Running labs on your local machine Zip files under elastic Elasticsearch Engineer I - On-Demand. I want to setup lab locally so where to download these datasets directory

---

## [How to optimize the time taken to take Snapshots and Restore those snapshots?](https://discuss.elastic.co/t/how-to-optimize-the-time-taken-to-take-snapshots-and-restore-those-snapshots/229590)

<div class="topic-metadata">

**Author:** [@surilshah](https://discuss.elastic.co/u/surilshah)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 7:47am UTC](https://discuss.elastic.co/t/how-to-optimize-the-time-taken-to-take-snapshots-and-restore-those-snapshots/229590 "2020-04-24T07:47:23Z")

</div>

We are making use of Azure as a remote repository to store snapshots. With regards to taking snapshots, what are all the settings that could be tweaked and modified to speed it up? With regards to restoring a snapshot,…

---

## [API Key Authentication for REST Requests](https://discuss.elastic.co/t/api-key-authentication-for-rest-requests/228862)

<div class="topic-metadata">

**Author:** [@Flaxline](https://discuss.elastic.co/u/Flaxline)\
**Replies:** 2\
**Last updated:** [April 24, 2020, 7:47am UTC](https://discuss.elastic.co/t/api-key-authentication-for-rest-requests/228862 "2020-04-24T07:47:03Z")

</div>

Hi, i have a JavaScript function (using Cypress) which uses REST API to query some data from elasticsearch. For a first version, I handled authentication with username/password as shown below and that worked fine. …

---

## [How to create watcher for failed snapshot?](https://discuss.elastic.co/t/how-to-create-watcher-for-failed-snapshot/229587)

<div class="topic-metadata">

**Author:** [@Jack\_Phan](https://discuss.elastic.co/u/Jack_Phan)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 7:27am UTC](https://discuss.elastic.co/t/how-to-create-watcher-for-failed-snapshot/229587 "2020-04-24T07:27:28Z")

</div>

Dear all, I want to create a watcher to trigger every day to check whether there's any failed snapshot on that day. I want to use the HTTP input with the endpoint: /\_snapshot/s3-repository/\_all. However, the API seems …

---

## [Installation issues on Debian 10 virtual environment](https://discuss.elastic.co/t/installation-issues-on-debian-10-virtual-environment/229417)

<div class="topic-metadata">

**Author:** [@menesisz](https://discuss.elastic.co/u/menesisz)\
**Replies:** 5\
**Last updated:** [April 24, 2020, 7:23am UTC](https://discuss.elastic.co/t/installation-issues-on-debian-10-virtual-environment/229417 "2020-04-24T07:23:39Z")

</div>

Hi, I am installing Elasticsearch on a Debian 10 virtual environment. According to the /data/log/elasticsearch/xxx.log the start process fails with the following response: \[2020-04-23T11:00:20,586\]\[WARN \]\[o.e.b.JN…

---

## [I need to fetch all document but this query only return 10 documents. I'm checking through postman](https://discuss.elastic.co/t/i-need-to-fetch-all-document-but-this-query-only-return-10-documents-im-checking-through-postman/229574)

<div class="topic-metadata">

**Author:** [@Ramesh\_Kumar](https://discuss.elastic.co/u/Ramesh_Kumar)\
**Replies:** 1\
**Last updated:** [April 24, 2020, 7:10am UTC](https://discuss.elastic.co/t/i-need-to-fetch-all-document-but-this-query-only-return-10-documents-im-checking-through-postman/229574 "2020-04-24T07:10:09Z")

</div>

{ "query": { "match\_all": {} } }

---

## [Boolean query search](https://discuss.elastic.co/t/boolean-query-search/229582)

<div class="topic-metadata">

**Author:** [@Lalit\_Kumar](https://discuss.elastic.co/u/Lalit_Kumar)\
**Replies:** 1\
**Last updated:** [April 24, 2020, 7:08am UTC](https://discuss.elastic.co/t/boolean-query-search/229582 "2020-04-24T07:08:46Z")

</div>

I want your help in how to query this in elastic search "(content writing) AND ( java OR quality testing OR test designer OR testing OR jira OR communication development OR hp uft OR automation testing OR qa testing OR …

---

## [I use a certificate with a password: elastic-certificates.p12, how to add configuration to docker and docker-compose](https://discuss.elastic.co/t/i-use-a-certificate-with-a-password-elastic-certificates-p12-how-to-add-configuration-to-docker-and-docker-compose/228609)

<div class="topic-metadata">

**Author:** [@acdiost](https://discuss.elastic.co/u/acdiost)\
**Replies:** 2\
**Last updated:** [April 24, 2020, 7:01am UTC](https://discuss.elastic.co/t/i-use-a-certificate-with-a-password-elastic-certificates-p12-how-to-add-configuration-to-docker-and-docker-compose/228609 "2020-04-24T07:01:55Z")

</div>

xpack.security.transport.ssl.keystore.password: 123456 xpack.security.transport.ssl.truststore.password: 123456 Writing it in elasticsearch.yml fails to start. I want to use a certificate with a password: elastic-cert…

---

## [Sort by username that is not present in the index](https://discuss.elastic.co/t/sort-by-username-that-is-not-present-in-the-index/229584)

<div class="topic-metadata">

**Author:** [@Madala](https://discuss.elastic.co/u/Madala)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 6:42am UTC](https://discuss.elastic.co/t/sort-by-username-that-is-not-present-in-the-index/229584 "2020-04-24T06:42:23Z")

</div>

Hi Team, We are using ES for analytics use case of our video streaming platform. In our workflow, we start pushing viewlog events to ES once the user starts playing the video for every 30 secs interval. We use this inde…

---

## [Why it is recommended to have more than one master nodes](https://discuss.elastic.co/t/why-it-is-recommended-to-have-more-than-one-master-nodes/229549)

<div class="topic-metadata">

**Author:** [@Daud\_Ahmed](https://discuss.elastic.co/u/Daud_Ahmed)\
**Replies:** 2\
**Last updated:** [April 24, 2020, 5:20am UTC](https://discuss.elastic.co/t/why-it-is-recommended-to-have-more-than-one-master-nodes/229549 "2020-04-24T05:20:54Z")

</div>

Is elasticsearch using more than one master nodes at a time or the other one is just a backup so that it can be use in case of if one of the master nodes is not working. Can any guide me this is a very simple question bu…

---

## [What is the maximum number of documents an index can hold?](https://discuss.elastic.co/t/what-is-the-maximum-number-of-documents-an-index-can-hold/229571)

<div class="topic-metadata">

**Author:** [@neel1996](https://discuss.elastic.co/u/neel1996)\
**Replies:** 2\
**Last updated:** [April 24, 2020, 5:12am UTC](https://discuss.elastic.co/t/what-is-the-maximum-number-of-documents-an-index-can-hold/229571 "2020-04-24T05:12:25Z")

</div>

Hi, I am currently working on indexing searchable items from MS SQL to Elasticsearch. Currently there are over 20 million records which needs to be pushed to ES which constitutes to 20 millions documents in ES index. T…

---

## [Elasticsearch-certutil in elastic cloud](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566)

<div class="topic-metadata">

**Author:** [@Rajeev\_Bhat](https://discuss.elastic.co/u/Rajeev_Bhat)\
**Replies:** 10\
**Last updated:** [April 24, 2020, 5:04am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566 "2020-04-24T05:04:22Z")

</div>

Hello, How do I use the following command in elastic cloud? https://www.elastic.co/guide/en/elasticsearch/reference/current/certutil.html Thanks, Rajeev

---

## [How does elasticsearch create "node id"?](https://discuss.elastic.co/t/how-does-elasticsearch-create-node-id/229564)

<div class="topic-metadata">

**Author:** [@xodn0812](https://discuss.elastic.co/u/xodn0812)\
**Replies:** 3\
**Last updated:** [April 24, 2020, 4:51am UTC](https://discuss.elastic.co/t/how-does-elasticsearch-create-node-id/229564 "2020-04-24T04:51:46Z")

</div>

How does elasticsearch create "node id"?? It does not work properly in the following cases. first. host 1 - es-node-1 host 2 - es-node-2 host 3 - es-node-3 If you kill all and change as below. host 1 - es-node-2 …

---

## [ELK - single node vs multinode](https://discuss.elastic.co/t/elk-single-node-vs-multinode/229567)

<div class="topic-metadata">

**Author:** [@DG13](https://discuss.elastic.co/u/DG13)\
**Replies:** 1\
**Last updated:** [April 24, 2020, 3:59am UTC](https://discuss.elastic.co/t/elk-single-node-vs-multinode/229567 "2020-04-24T03:59:52Z")

</div>

Hi , I am currently using single node ELK cluster for monitoring capability . I would like understand what's the pros and cons of single node vs multi node cluster ? Thanks,

---

## [Csv files from FIlebeat to Elasticsearch](https://discuss.elastic.co/t/csv-files-from-filebeat-to-elasticsearch/229492)

<div class="topic-metadata">

**Author:** [@wild\_turkey](https://discuss.elastic.co/u/wild_turkey)\
**Replies:** 6\
**Last updated:** [April 24, 2020, 2:42am UTC](https://discuss.elastic.co/t/csv-files-from-filebeat-to-elasticsearch/229492 "2020-04-24T02:42:57Z")

</div>

Hi All, I'm a beginner to the Elasticstack world and learning to architect the collection of logs for visualization. One file I'm working on is a CSV file. I want to feed it into Elasticsearch to visualize in Kibana. …

---

## [Best strategy to support multiple languages in AWS Elastic Search](https://discuss.elastic.co/t/best-strategy-to-support-multiple-languages-in-aws-elastic-search/229545)

<div class="topic-metadata">

**Author:** [@shefu](https://discuss.elastic.co/u/shefu)\
**Replies:** 1\
**Last updated:** [April 24, 2020, 2:35am UTC](https://discuss.elastic.co/t/best-strategy-to-support-multiple-languages-in-aws-elastic-search/229545 "2020-04-24T02:35:57Z")

</div>

There are 2 strategies- One index per language One index multiple languages (it means - multiple field names for each language) Looking for guidance which one is best in what scenario. OR Is there any other way …

---

## [TLS between Elasticsearch cluster nodes with Let's Encrypt](https://discuss.elastic.co/t/tls-between-elasticsearch-cluster-nodes-with-lets-encrypt/229559)

<div class="topic-metadata">

**Author:** [@ffknob](https://discuss.elastic.co/u/ffknob)\
**Replies:** 2\
**Last updated:** [April 24, 2020, 1:14am UTC](https://discuss.elastic.co/t/tls-between-elasticsearch-cluster-nodes-with-lets-encrypt/229559 "2020-04-24T01:14:06Z")

</div>

Hello, I need some help setting a cluster with N nodes and TLS using Let's Encrypt. I've already configured clusters using self-signed (elasticsearch-certutil) certificates, but I really don't know much about PKI infras…

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

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