# Elasticsearch

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

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

**Page:** 880

---

## [Request timeout while taking snapshot of indices for backup](https://discuss.elastic.co/t/request-timeout-while-taking-snapshot-of-indices-for-backup/238815)

<div class="topic-metadata">

**Author:** [@pratiksha](https://discuss.elastic.co/u/pratiksha)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 8:45am UTC](https://discuss.elastic.co/t/request-timeout-while-taking-snapshot-of-indices-for-backup/238815 "2020-06-26T08:45:58Z")

</div>

Hi, I am trying to take backup of around 2TB in Elasticsearch(version 7.0.1) and the request timeouts exactly after 1 hr of processing. Please find the curl command for taking snapshot below: curl -s -X PUT "\<ELASTICS…

---

## [Invalid UTF-8 middle byte 0x22\\n](https://discuss.elastic.co/t/invalid-utf-8-middle-byte-0x22-n/236047)

<div class="topic-metadata">

**Author:** [@joaopedro](https://discuss.elastic.co/u/joaopedro)\
**Replies:** 3\
**Last updated:** [June 26, 2020, 8:44am UTC](https://discuss.elastic.co/t/invalid-utf-8-middle-byte-0x22-n/236047 "2020-06-26T08:44:55Z")

</div>

So, I am trying to create a flask api that gets the name of the field of search and the term that we are going to search, then, the script writes the info into a file and uses subprocess to run a search, see: file = op…

---

## [Unable to elect master nodes after hardware changes](https://discuss.elastic.co/t/unable-to-elect-master-nodes-after-hardware-changes/238813)

<div class="topic-metadata">

**Author:** [@shubhamblackstratus](https://discuss.elastic.co/u/shubhamblackstratus)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 8:39am UTC](https://discuss.elastic.co/t/unable-to-elect-master-nodes-after-hardware-changes/238813 "2020-06-26T08:39:28Z")

</div>

I am having three nodes setup in AWS ec2 and it was working fine. Before couple of days, I had to replicate my nodes image to another instance to increase space. I changed IPs in yml file but while starting cluster, i g…

---

## [Pipeline processor with IF condition](https://discuss.elastic.co/t/pipeline-processor-with-if-condition/238618)

<div class="topic-metadata">

**Author:** [@Jalpesh1](https://discuss.elastic.co/u/Jalpesh1)\
**Replies:** 5\
**Last updated:** [June 26, 2020, 8:06am UTC](https://discuss.elastic.co/t/pipeline-processor-with-if-condition/238618 "2020-06-26T08:06:37Z")

</div>

Hi Team, We want to use Conditional pipeline processor on basis of operationName in below JSON data IF "operationName": "/searchRIBCustomerInMDM | request/response", then pipeline should execute . { "\_index": "j…

---

## [Kibana is not working, properly, it is very slow](https://discuss.elastic.co/t/kibana-is-not-working-properly-it-is-very-slow/238797)

<div class="topic-metadata">

**Author:** [@Sagar\_jain](https://discuss.elastic.co/u/Sagar_jain)\
**Replies:** 9\
**Last updated:** [June 26, 2020, 7:45am UTC](https://discuss.elastic.co/t/kibana-is-not-working-properly-it-is-very-slow/238797 "2020-06-26T07:45:51Z")

</div>

kibana is not working, properly, it is very slow Is there any cache stored, which makes it slow?

---

## [Does the javascript elasticsearch client have health checks?](https://discuss.elastic.co/t/does-the-javascript-elasticsearch-client-have-health-checks/237265)

<div class="topic-metadata">

**Author:** [@Aurel\_Drejta](https://discuss.elastic.co/u/Aurel_Drejta)\
**Replies:** 2\
**Last updated:** [June 26, 2020, 7:11am UTC](https://discuss.elastic.co/t/does-the-javascript-elasticsearch-client-have-health-checks/237265 "2020-06-26T07:11:59Z")

</div>

Hi everyone, I've set up 3 elasticsearch nodes that are booth master and data nodes. I have a node js application that points to these nodes with this configuration var ESDB = function () { this.client = new elast…

---

## [Master not discovered ,unable to form a cluster](https://discuss.elastic.co/t/master-not-discovered-unable-to-form-a-cluster/238801)

<div class="topic-metadata">

**Author:** [@RamyaGowda](https://discuss.elastic.co/u/RamyaGowda)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 7:11am UTC](https://discuss.elastic.co/t/master-not-discovered-unable-to-form-a-cluster/238801 "2020-06-26T07:11:35Z")

</div>

Hello Team, I am trying to form a cluster with 2 nodes in DEV environment, please find the below details and help me to resolve the issue. node1 configuration cluster.name: my-app node.name: node1 network.host: 158.15…

---

## [Customer Interest Related Keyword search in Elastic Search](https://discuss.elastic.co/t/customer-interest-related-keyword-search-in-elastic-search/235116)

<div class="topic-metadata">

**Author:** [@Sagar\_jain](https://discuss.elastic.co/u/Sagar_jain)\
**Replies:** 40\
**Last updated:** [June 26, 2020, 6:34am UTC](https://discuss.elastic.co/t/customer-interest-related-keyword-search-in-elastic-search/235116 "2020-06-26T06:34:16Z")

</div>

How to create Customer Interest Related Keyword search in Elastic Search? Like "Laptop" keyword Then Laptops should display first, not Laptop Bags first, not laptop stand, and other, these should display in last

---

## [Build and distribution of custom elasticsearch plugins](https://discuss.elastic.co/t/build-and-distribution-of-custom-elasticsearch-plugins/235518)

<div class="topic-metadata">

**Author:** [@vincent.arnaud90](https://discuss.elastic.co/u/vincent.arnaud90)\
**Replies:** 2\
**Last updated:** [June 26, 2020, 6:02am UTC](https://discuss.elastic.co/t/build-and-distribution-of-custom-elasticsearch-plugins/235518 "2020-06-26T06:02:10Z")

</div>

Hello, following my old post I have question. As I'm using rally 1.4.1 because I can't install python 3.8, so I don't know if the behavior is the same in rally 2.0.0. All configurations for plugins are in a team reposit…

---

## [How to get only indices list which I have permission](https://discuss.elastic.co/t/how-to-get-only-indices-list-which-i-have-permission/238660)

<div class="topic-metadata">

**Author:** [@Hagun](https://discuss.elastic.co/u/Hagun)\
**Replies:** 3\
**Last updated:** [June 26, 2020, 6:01am UTC](https://discuss.elastic.co/t/how-to-get-only-indices-list-which-i-have-permission/238660 "2020-06-26T06:01:11Z")

</div>

If I have A and B users in my ES. A can access only a,b,c,d indices. And B can access only e,f,g,h. In this situation, how can A user get indices list 'a, b, c, d' using ES APi? If I use \_cat/indices, it returns 403.

---

## [Very slow response from ElasticSearch](https://discuss.elastic.co/t/very-slow-response-from-elasticsearch/238780)

<div class="topic-metadata">

**Author:** [@Fred91](https://discuss.elastic.co/u/Fred91)\
**Replies:** 1\
**Last updated:** [June 26, 2020, 5:53am UTC](https://discuss.elastic.co/t/very-slow-response-from-elasticsearch/238780 "2020-06-26T05:53:18Z")

</div>

Good morning. We seem to have a problem with the response time on search-requests towards the ElasticSearch after going from a single node to setting up a clustered solution. Before we set up a cluster the response time…

---

## [Add Zstd Compression In Elasticsearch](https://discuss.elastic.co/t/add-zstd-compression-in-elasticsearch/238781)

<div class="topic-metadata">

**Author:** [@Senkyy1](https://discuss.elastic.co/u/Senkyy1)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 4:55am UTC](https://discuss.elastic.co/t/add-zstd-compression-in-elasticsearch/238781 "2020-06-26T04:55:15Z")

</div>

Can Anyone Explain How To Add New Zstd Compression In Elasticsearch..

---

## [Placing multiple files and data under an index](https://discuss.elastic.co/t/placing-multiple-files-and-data-under-an-index/238630)

<div class="topic-metadata">

**Author:** [@Romy\_Bobby](https://discuss.elastic.co/u/Romy_Bobby)\
**Replies:** 8\
**Last updated:** [June 26, 2020, 5:04am UTC](https://discuss.elastic.co/t/placing-multiple-files-and-data-under-an-index/238630 "2020-06-26T05:04:00Z")

</div>

Hi, I am creating Faq for organisation to enable elastic search in it . I would like to limit my search to each organisation. is it possible to add files and documents under one index so that i can filter according to o…

---

## [Need pc configuration for large data](https://discuss.elastic.co/t/need-pc-configuration-for-large-data/238685)

<div class="topic-metadata">

**Author:** [@th3Hopper](https://discuss.elastic.co/u/th3Hopper)\
**Replies:** 1\
**Last updated:** [June 26, 2020, 1:31am UTC](https://discuss.elastic.co/t/need-pc-configuration-for-large-data/238685 "2020-06-26T01:31:39Z")

</div>

Hi there, I'm building a private search engine. There will be only 2 indexes. I have to store 63+ Billion docs this is around 2TB of raw CSV file. My document is not that much complex, it has only two fields 1.Usernam…

---

## [SSL Connection fail on Elastic 7.8.0 in Docker Container](https://discuss.elastic.co/t/ssl-connection-fail-on-elastic-7-8-0-in-docker-container/238583)

<div class="topic-metadata">

**Author:** [@rainfarmer](https://discuss.elastic.co/u/rainfarmer)\
**Replies:** 2\
**Last updated:** [June 25, 2020, 10:50pm UTC](https://discuss.elastic.co/t/ssl-connection-fail-on-elastic-7-8-0-in-docker-container/238583 "2020-06-25T22:50:06Z")

</div>

Hey folks, Following these instructions, I've installed a single node Elastic 7.8.0 on docker. Then I create default certs and keys with bin/elasticsearch-certutil ca bin/elasticsearch-certutil cert --ca elastic-st…

---

## [How can i make that query? is that a nested query?](https://discuss.elastic.co/t/how-can-i-make-that-query-is-that-a-nested-query/238687)

<div class="topic-metadata">

**Author:** [@mateusd24](https://discuss.elastic.co/u/mateusd24)\
**Replies:** 2\
**Last updated:** [June 25, 2020, 8:38pm UTC](https://discuss.elastic.co/t/how-can-i-make-that-query-is-that-a-nested-query/238687 "2020-06-25T20:38:37Z")

</div>

Hi people, I want to make a query for car with price between 50000 and 100000. from that json: \[{ "\_id": "aaa", "\_source": { "objs": \[{ "name": "car", "price": 60000 }, { "name": "milk", "pri…

---

## [Simple ansible playbook failing](https://discuss.elastic.co/t/simple-ansible-playbook-failing/237938)

<div class="topic-metadata">

**Author:** [@samiujan](https://discuss.elastic.co/u/samiujan)\
**Replies:** 4\
**Last updated:** [June 25, 2020, 8:03pm UTC](https://discuss.elastic.co/t/simple-ansible-playbook-failing/237938 "2020-06-25T20:03:53Z")

</div>

Hi I am trying out the Ansible role simple example to run a 1 node ES cluster on my local machine (Ubuntu 18.04). I read the instructions here: https://github.com/elastic/ansible-elasticsearch I ran: ansible-galaxy i…

---

## [A few questions about Analyzers and the use of dictionaries](https://discuss.elastic.co/t/a-few-questions-about-analyzers-and-the-use-of-dictionaries/238732)

<div class="topic-metadata">

**Author:** [@Ubeta](https://discuss.elastic.co/u/Ubeta)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 5:44pm UTC](https://discuss.elastic.co/t/a-few-questions-about-analyzers-and-the-use-of-dictionaries/238732 "2020-06-25T17:44:12Z")

</div>

Hi! I currently have Elastic Search set up on my my Debian VM on Google Cloud and currently have the elastic search set up there using the Nori Analyzer as my primary analyzer. I am able to set up a dictionary and have…

---

## [Logstash with Amazon ElasticSearch Service](https://discuss.elastic.co/t/logstash-with-amazon-elasticsearch-service/238723)

<div class="topic-metadata">

**Author:** [@aagarwal3](https://discuss.elastic.co/u/aagarwal3)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 4:16pm UTC](https://discuss.elastic.co/t/logstash-with-amazon-elasticsearch-service/238723 "2020-06-25T16:16:40Z")

</div>

Hello, I am trying to access the logs by adding the appenders inside the logging section in config.yml file. logging: appenders: - type: uri threshold: ALL endpoint: https://search-pipeportal-awyql5336h5vmo…

---

## [Return \_shard and \_node for each hit](https://discuss.elastic.co/t/return-shard-and-node-for-each-hit/238722)

<div class="topic-metadata">

**Author:** [@rocky67z](https://discuss.elastic.co/u/rocky67z)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 4:14pm UTC](https://discuss.elastic.co/t/return-shard-and-node-for-each-hit/238722 "2020-06-25T16:14:44Z")

</div>

I have successfully used the explain parameter in my query to return \_shard and \_node for each hit (which is exactly what I needed). I actually don't need all of the additional score computation detail (which is most li…

---

## [Trying to use \_analyze through JAVA API but exception thrown](https://discuss.elastic.co/t/trying-to-use-analyze-through-java-api-but-exception-thrown/238714)

<div class="topic-metadata">

**Author:** [@Ubeta](https://discuss.elastic.co/u/Ubeta)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 3:47pm UTC](https://discuss.elastic.co/t/trying-to-use-analyze-through-java-api-but-exception-thrown/238714 "2020-06-25T15:47:03Z")

</div>

Hi! I'm currently using the Elastic Cloud Service and trying to use the \_analyze function of the High-Level Restful Java API. When I set my analyzer and the to-be analyzed text, my Java code works fine. However, when t…

---

## [A new node cannot access a backup repository](https://discuss.elastic.co/t/a-new-node-cannot-access-a-backup-repository/238622)

<div class="topic-metadata">

**Author:** [@dferez](https://discuss.elastic.co/u/dferez)\
**Replies:** 3\
**Last updated:** [June 25, 2020, 3:28pm UTC](https://discuss.elastic.co/t/a-new-node-cannot-access-a-backup-repository/238622 "2020-06-25T15:28:50Z")

</div>

Hi. Before, it had two nodes in a cluster (node1 and node2). It also had a backup repository shared by NFS between the two machines on the nodes. Everything worked perfectly, the backups were done correctly and I could …

---

## [Transforms, Index Template and ILM](https://discuss.elastic.co/t/transforms-index-template-and-ilm/238695)

<div class="topic-metadata">

**Author:** [@andrezenun](https://discuss.elastic.co/u/andrezenun)\
**Replies:** 1\
**Last updated:** [June 25, 2020, 3:21pm UTC](https://discuss.elastic.co/t/transforms-index-template-and-ilm/238695 "2020-06-25T15:21:05Z")

</div>

Hi, I'm starting to use transforms and I notice that I don't have the possibility to use ILM on the transform indexes. I create the Index Template using the pattern created by transform and associate an ILM policy to tha…

---

## [Search-ui without App Search](https://discuss.elastic.co/t/search-ui-without-app-search/238708)

<div class="topic-metadata">

**Author:** [@SeanPlacchetti](https://discuss.elastic.co/u/SeanPlacchetti)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 3:17pm UTC](https://discuss.elastic.co/t/search-ui-without-app-search/238708 "2020-06-25T15:17:20Z")

</div>

I know the search-ui was built to work with App Search, but if I wanted to see if anyone knows of an example of someone not using a custom search API on top of elasticsearch (we'd probably still have a proxy server but i…

---

## [Elastic Search Aggregation and Complex Query](https://discuss.elastic.co/t/elastic-search-aggregation-and-complex-query/238706)

<div class="topic-metadata">

**Author:** [@surajdalvi](https://discuss.elastic.co/u/surajdalvi)\
**Replies:** 1\
**Last updated:** [June 25, 2020, 3:14pm UTC](https://discuss.elastic.co/t/elastic-search-aggregation-and-complex-query/238706 "2020-06-25T15:14:32Z")

</div>

I have created the index PUT ten2 { "mappings": { "documents": { "properties": { "title": { "type": "text", "fields": { "raw": { "type": "keyword" } } },"uid": { "typ…

---

## [Logging which user creates and deletes indexes](https://discuss.elastic.co/t/logging-which-user-creates-and-deletes-indexes/238352)

<div class="topic-metadata">

**Author:** [@ebru](https://discuss.elastic.co/u/ebru)\
**Replies:** 6\
**Last updated:** [June 25, 2020, 2:46pm UTC](https://discuss.elastic.co/t/logging-which-user-creates-and-deletes-indexes/238352 "2020-06-25T14:46:11Z")

</div>

Hi, I am new to ElasticSearch and am trying to see if there is a way to see which user creates/deletes indexes. Currently I can see it in logs when an index is created or deleted, but can't see which user initiated these…

---

## [Query dsl, must and must\_not](https://discuss.elastic.co/t/query-dsl-must-and-must-not/238542)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 2\
**Last updated:** [June 25, 2020, 2:41pm UTC](https://discuss.elastic.co/t/query-dsl-must-and-must-not/238542 "2020-06-25T14:41:31Z")

</div>

I have a version: v100.01 version: v100.01.xyz how do I only match v100.01 either using regexp or wildcard following both query gives me both result { "query": { "regexp": { "version": "v\<0-9\>\<0-9\>\<0-9\>.…

---

## ["Service Unavailable" on aggs query search](https://discuss.elastic.co/t/service-unavailable-on-aggs-query-search/238682)

<div class="topic-metadata">

**Author:** [@bdrmahesh](https://discuss.elastic.co/u/bdrmahesh)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 1:47pm UTC](https://discuss.elastic.co/t/service-unavailable-on-aggs-query-search/238682 "2020-06-25T13:47:32Z")

</div>

I have a aggregation query written in nodejs. I have couple of aggregation queries in the node api. It happens randomly and only a couple times in a day that I get error Invoke Error { …

---

## [Wrong date format when reading from elasticsearch index](https://discuss.elastic.co/t/wrong-date-format-when-reading-from-elasticsearch-index/238135)

<div class="topic-metadata">

**Author:** [@samargh](https://discuss.elastic.co/u/samargh)\
**Replies:** 6\
**Last updated:** [June 25, 2020, 1:43pm UTC](https://discuss.elastic.co/t/wrong-date-format-when-reading-from-elasticsearch-index/238135 "2020-06-25T13:43:57Z")

</div>

i'm reading data from elactisearch index , i have date format issue 1501545600000 wich supposed to be in yyyy/mm/dd format from pyspark import SparkConf from pyspark.sql import SQLContext q ="""{ "query": { "ma…

---

## [Ingest Attachment Plugin: How to add data to an existing array?](https://discuss.elastic.co/t/ingest-attachment-plugin-how-to-add-data-to-an-existing-array/238651)

<div class="topic-metadata">

**Author:** [@Sven.0](https://discuss.elastic.co/u/Sven.0)\
**Replies:** 4\
**Last updated:** [June 25, 2020, 1:36pm UTC](https://discuss.elastic.co/t/ingest-attachment-plugin-how-to-add-data-to-an-existing-array/238651 "2020-06-25T13:36:08Z")

</div>

Hi :slightly\_smiling\_face: I'm a beginner to Elasticsearch, so maybe this is simple to solve, but I haven't found a solution to my problem: I have an object with an array containing attachment data, and I want to be ab…

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

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