# Elasticsearch

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

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

**Page:** 1485

---

## [How to backup and restore ES-2.4.0 indices over gcloud?](https://discuss.elastic.co/t/how-to-backup-and-restore-es-2-4-0-indices-over-gcloud/156644)

<div class="topic-metadata">

**Author:** [@cbharathnoor](https://discuss.elastic.co/u/cbharathnoor)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 6:26pm UTC](https://discuss.elastic.co/t/how-to-backup-and-restore-es-2-4-0-indices-over-gcloud/156644 "2018-11-14T18:26:39Z")

</div>

Request you all to share your thoughts regarding ES-2.4.0 indices backup and restore over gcloud. @dadoonet @Christian\_Dahlqvist Thanks !

---

## [Slow query in python](https://discuss.elastic.co/t/slow-query-in-python/156715)

<div class="topic-metadata">

**Author:** [@Artem\_Sh](https://discuss.elastic.co/u/Artem_Sh)\
**Replies:** 4\
**Last updated:** [November 14, 2018, 5:47pm UTC](https://discuss.elastic.co/t/slow-query-in-python/156715 "2018-11-14T17:47:28Z")

</div>

Hello. I start Elasticsearch in local machine. Index "wbtm\_cities" Documents: 1.8k Data: 66.3 MB Total Shards: 1 Unassigned Shards: 0 Fields: http://take.ms/0haXq http://take.ms/am2mS I do query: GET wbtm\_…

---

## [Elasticsearch not using template correctly?](https://discuss.elastic.co/t/elasticsearch-not-using-template-correctly/155932)

<div class="topic-metadata">

**Author:** [@Rolf\_Nufable](https://discuss.elastic.co/u/Rolf_Nufable)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 5:08pm UTC](https://discuss.elastic.co/t/elasticsearch-not-using-template-correctly/155932 "2018-11-14T17:08:16Z")

</div>

Hi All, I'am fairly new to the elastic stack so apologies if this is a very noob question. I am using ELK within security solutions OS where I created a custom template to cater my needs on one of the CSV files I want …

---

## [Unexpected type's in Painless update script](https://discuss.elastic.co/t/unexpected-types-in-painless-update-script/156547)

<div class="topic-metadata">

**Author:** [@winder](https://discuss.elastic.co/u/winder)\
**Replies:** 1\
**Last updated:** [November 14, 2018, 4:37pm UTC](https://discuss.elastic.co/t/unexpected-types-in-painless-update-script/156547 "2018-11-14T16:37:25Z")

</div>

I'm using a Painless update-script in conjunction with some entity-centric aggregation scripts as recommended here. The code isn't working the way I expect it to. In this example the @timestamp is a Date, with the follo…

---

## [Elastic search and fscrawler](https://discuss.elastic.co/t/elastic-search-and-fscrawler/156665)

<div class="topic-metadata">

**Author:** [@Rahul\_Shendge](https://discuss.elastic.co/u/Rahul_Shendge)\
**Replies:** 4\
**Last updated:** [November 14, 2018, 4:16pm UTC](https://discuss.elastic.co/t/elastic-search-and-fscrawler/156665 "2018-11-14T16:16:22Z")

</div>

I am working on elastic search and fscrawler. I am trying to index pdf, docx, jpeg file on elsatic search using fscrawlers. On my local jpeg file text content read successfully but on my server it not read text content. …

---

## [Elasticsearch cpu spike, search thread pool queues explode](https://discuss.elastic.co/t/elasticsearch-cpu-spike-search-thread-pool-queues-explode/155950)

<div class="topic-metadata">

**Author:** [@bitsofinfo](https://discuss.elastic.co/u/bitsofinfo)\
**Replies:** 9\
**Last updated:** [November 14, 2018, 4:06pm UTC](https://discuss.elastic.co/t/elasticsearch-cpu-spike-search-thread-pool-queues-explode/155950 "2018-11-14T16:06:04Z")

</div>

Hi not looking for a definitive answer here but a bit puzzled as to what is going on or some pointers on config settings to look at Running ES 6.3 10 node cluster, 5 warm, 5 hot Indicies: logstash indexes, being ro…

---

## [Add stop timestamp base on previous doc (event)](https://discuss.elastic.co/t/add-stop-timestamp-base-on-previous-doc-event/156320)

<div class="topic-metadata">

**Author:** [@moimart1](https://discuss.elastic.co/u/moimart1)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 3:59pm UTC](https://discuss.elastic.co/t/add-stop-timestamp-base-on-previous-doc-event/156320 "2018-11-14T15:59:48Z")

</div>

Hello, I push some events to elasticsearch with the following structure: { "name": "status", "value": "active", "timestamp": "2018-01-01T00:00:00.000Z" } And when I receive a new event with the same name, …

---

## [Indexing slowing down aggregations a lot](https://discuss.elastic.co/t/indexing-slowing-down-aggregations-a-lot/156486)

<div class="topic-metadata">

**Author:** [@GerbenKD](https://discuss.elastic.co/u/GerbenKD)\
**Replies:** 4\
**Last updated:** [November 14, 2018, 3:14pm UTC](https://discuss.elastic.co/t/indexing-slowing-down-aggregations-a-lot/156486 "2018-11-14T15:14:09Z")

</div>

We are running a search engine with an index of around 6M documents (~100GB) on a 3 node i3.xlarge managed AWS cluster. Our sharding and replicas are at the default settings, so 5 shards, one replica each. We are using E…

---

## [Incremental backup with Curator](https://discuss.elastic.co/t/incremental-backup-with-curator/156699)

<div class="topic-metadata">

**Author:** [@aleksei.saiko](https://discuss.elastic.co/u/aleksei.saiko)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 3:00pm UTC](https://discuss.elastic.co/t/incremental-backup-with-curator/156699 "2018-11-14T15:00:09Z")

</div>

Hi , I didn't find a 100% answer regarding incremental backup using Curator. Does Curator makes Incremental backups by default, or I need to config it to make Incremental backups? Thanks!

---

## [Using geo\_bounding\_box under a should query](https://discuss.elastic.co/t/using-geo-bounding-box-under-a-should-query/156482)

<div class="topic-metadata">

**Author:** [@zivari](https://discuss.elastic.co/u/zivari)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 2:50pm UTC](https://discuss.elastic.co/t/using-geo-bounding-box-under-a-should-query/156482 "2018-11-14T14:50:04Z")

</div>

Hey, What i am Ultimately trying to achieve is, checking if a document location cords is within any of 2 different geo bounding boxes. In the Documentation i can see a usage example of geo\_bounding\_box under a filter q…

---

## [Too many clauses exceptions](https://discuss.elastic.co/t/too-many-clauses-exceptions/156691)

<div class="topic-metadata">

**Author:** [@dsanchez91](https://discuss.elastic.co/u/dsanchez91)\
**Replies:** 3\
**Last updated:** [November 14, 2018, 2:46pm UTC](https://discuss.elastic.co/t/too-many-clauses-exceptions/156691 "2018-11-14T14:46:18Z")

</div>

Hello, I'm getting an "Too many clauses" error in one query where I don't think I'm exceeding the 1024 limit. Here's the query: query As you can see, in each of the queries for each analyzer I have 190 terms... so 190…

---

## [Multiple base\_dn Values LDAP authentication](https://discuss.elastic.co/t/multiple-base-dn-values-ldap-authentication/155796)

<div class="topic-metadata">

**Author:** [@stevenmarrocco](https://discuss.elastic.co/u/stevenmarrocco)\
**Replies:** 12\
**Last updated:** [November 14, 2018, 2:28pm UTC](https://discuss.elastic.co/t/multiple-base-dn-values-ldap-authentication/155796 "2018-11-14T14:28:37Z")

</div>

We had an issue regarding ldap authentication not working correctly and not identifying users. To resolve this we had to be more specific when we configured our base DN Old: DC=Root,DC=COMPANY,DC=com New: DC=Child,DC…

---

## [Print HTTP questests received in Elasticsearch](https://discuss.elastic.co/t/print-http-questests-received-in-elasticsearch/156685)

<div class="topic-metadata">

**Author:** [@Dan007](https://discuss.elastic.co/u/Dan007)\
**Replies:** 0\
**Last updated:** [November 14, 2018, 1:55pm UTC](https://discuss.elastic.co/t/print-http-questests-received-in-elasticsearch/156685 "2018-11-14T13:55:43Z")

</div>

Hi! I would like to know if it is possible to log in file or just to print in the console the HTTP requests that elasticsearch handles. What should I config? I am using the docker image to run elasticsearch. Thanks, …

---

## [What does object datatype mapping with value parameter mean?](https://discuss.elastic.co/t/what-does-object-datatype-mapping-with-value-parameter-mean/156580)

<div class="topic-metadata">

**Author:** [@Jun\_Zhang](https://discuss.elastic.co/u/Jun_Zhang)\
**Replies:** 6\
**Last updated:** [November 14, 2018, 1:45pm UTC](https://discuss.elastic.co/t/what-does-object-datatype-mapping-with-value-parameter-mean/156580 "2018-11-14T13:45:46Z")

</div>

I found following settings in my index mapping, it was created by metricbeat. what does value prarameter mean? "prophet": { "properties": { "4paradigm": { "pro…

---

## [Daily index with datetime filter in query](https://discuss.elastic.co/t/daily-index-with-datetime-filter-in-query/156678)

<div class="topic-metadata">

**Author:** [@Kaiser\_Cheng](https://discuss.elastic.co/u/Kaiser_Cheng)\
**Replies:** 0\
**Last updated:** [November 14, 2018, 1:44pm UTC](https://discuss.elastic.co/t/daily-index-with-datetime-filter-in-query/156678 "2018-11-14T13:44:34Z")

</div>

Hello, We use daily index with Hot-Warm node architecture. If we submit a query with wildcard in index name, but we filter certain daytime in query, it looks like es would scan all the index which matched with wildca…

---

## [After providing path.repo ES service won't start](https://discuss.elastic.co/t/after-providing-path-repo-es-service-wont-start/156660)

<div class="topic-metadata">

**Author:** [@Syed\_Fasih](https://discuss.elastic.co/u/Syed_Fasih)\
**Replies:** 0\
**Last updated:** [November 14, 2018, 12:45pm UTC](https://discuss.elastic.co/t/after-providing-path-repo-es-service-wont-start/156660 "2018-11-14T12:45:26Z")

</div>

I have downloaded and installed ES 6.4.2. For snapshot and restore I declared path.repo in the .yml file. After this I start my service from windows service manager it won't start and giving error in log as: java.lang.…

---

## [How to get a NodeClient inside a X-Pack plugin?](https://discuss.elastic.co/t/how-to-get-a-nodeclient-inside-a-x-pack-plugin/156347)

<div class="topic-metadata">

**Author:** [@Marcel-Hillmann](https://discuss.elastic.co/u/Marcel-Hillmann)\
**Replies:** 13\
**Last updated:** [November 14, 2018, 11:57am UTC](https://discuss.elastic.co/t/how-to-get-a-nodeclient-inside-a-x-pack-plugin/156347 "2018-11-14T11:57:49Z")

</div>

I would like to read/write an index inside our custom X-Pack plugin. I use the SecurityExtension interface v6.3.1 to load the Realm. In org.elasticsearch.xpack.security.Security is no delegation for the Client object. …

---

## [ElasticSearch configuration for high performance](https://discuss.elastic.co/t/elasticsearch-configuration-for-high-performance/156492)

<div class="topic-metadata">

**Author:** [@HARSHAL\_CHAUDHARI](https://discuss.elastic.co/u/HARSHAL_CHAUDHARI)\
**Replies:** 6\
**Last updated:** [November 14, 2018, 11:36am UTC](https://discuss.elastic.co/t/elasticsearch-configuration-for-high-performance/156492 "2018-11-14T11:36:24Z")

</div>

Hi, We have developed .NetCore WebApi Application using NEST library for performing CRUD (Create, read, update, delete) Operation in ElasticSearch. We have setup ElasticSearch with Ingest plug-in on kubernetes cluster …

---

## [Does “from” parameter in ElasticSearch Impact the ElasticSearch Cluster?](https://discuss.elastic.co/t/does-from-parameter-in-elasticsearch-impact-the-elasticsearch-cluster/156593)

<div class="topic-metadata">

**Author:** [@Yashasvi\_Raj\_Pant](https://discuss.elastic.co/u/Yashasvi_Raj_Pant)\
**Replies:** 12\
**Last updated:** [November 14, 2018, 11:34am UTC](https://discuss.elastic.co/t/does-from-parameter-in-elasticsearch-impact-the-elasticsearch-cluster/156593 "2018-11-14T11:34:48Z")

</div>

I have a large number of documents(around 34719074 documents) in a type of an index(ES 2.4.4). While searching, my ES Cluster seems to be in high impact(Search Latency, CPU Usage, JVM Memory and Load Average) when the "f…

---

## [Nested\_path deprecated](https://discuss.elastic.co/t/nested-path-deprecated/156639)

<div class="topic-metadata">

**Author:** [@kumpelblase](https://discuss.elastic.co/u/kumpelblase)\
**Replies:** 0\
**Last updated:** [November 14, 2018, 11:16am UTC](https://discuss.elastic.co/t/nested-path-deprecated/156639 "2018-11-14T11:16:18Z")

</div>

I have a query which does its job, but at the top of the result I get this message: #! Deprecation: \[nested\_path\] has been deprecated in favor of the \[nested\] parameter. My query looks like this: GET ticket/\_search { …

---

## [Elastic Search Memory Leak and hung](https://discuss.elastic.co/t/elastic-search-memory-leak-and-hung/156635)

<div class="topic-metadata">

**Author:** [@iaskdoubt](https://discuss.elastic.co/u/iaskdoubt)\
**Replies:** 1\
**Last updated:** [November 14, 2018, 10:59am UTC](https://discuss.elastic.co/t/elastic-search-memory-leak-and-hung/156635 "2018-11-14T10:59:32Z")

</div>

Hi, We are using elastic search to index very high amount of logs (~20k) logs per second. But the problem is that the Memory consumed gradually increases until it hit the max and hungs. So we suspect that if a memory le…

---

## [5.4.0 Heap Space Issue : Out of Memory Issue](https://discuss.elastic.co/t/5-4-0-heap-space-issue-out-of-memory-issue/156632)

<div class="topic-metadata">

**Author:** [@Neha\_Sharma1](https://discuss.elastic.co/u/Neha_Sharma1)\
**Replies:** 0\
**Last updated:** [November 14, 2018, 10:47am UTC](https://discuss.elastic.co/t/5-4-0-heap-space-issue-out-of-memory-issue/156632 "2018-11-14T10:47:37Z")

</div>

We have 7 data nodes and 90 indices with all having 1 shard except one. This particular index has 14 shards and the data received in a day is around 400Gb on the index. The indexing rate is too high on the index. All th…

---

## [What is the alternatives of &http.transport while converting it to Elastic go client?](https://discuss.elastic.co/t/what-is-the-alternatives-of-http-transport-while-converting-it-to-elastic-go-client/156630)

<div class="topic-metadata">

**Author:** [@rohit\_kumar\_Jain](https://discuss.elastic.co/u/rohit_kumar_Jain)\
**Replies:** 0\
**Last updated:** [November 14, 2018, 10:36am UTC](https://discuss.elastic.co/t/what-is-the-alternatives-of-http-transport-while-converting-it-to-elastic-go-client/156630 "2018-11-14T10:36:03Z")

</div>

Hi team, how do we implement tcp proxy using elastic go client? Any lead would be appreciated..... I have written code using http in golang... but now I want it to convert it using elastic go client... client := &http…

---

## [Analyzer on indexed documents](https://discuss.elastic.co/t/analyzer-on-indexed-documents/156596)

<div class="topic-metadata">

**Author:** [@Zahra\_Aminolroaya](https://discuss.elastic.co/u/Zahra_Aminolroaya)\
**Replies:** 10\
**Last updated:** [November 14, 2018, 9:48am UTC](https://discuss.elastic.co/t/analyzer-on-indexed-documents/156596 "2018-11-14T09:48:51Z")

</div>

I am new to elastic. I want to test phonetic in my documents. I used the link below to test phonetic: phonetic I tested the analyzer and I got the same result. However, in this example, you should give the text field.…

---

## [Php client - Aggregation of documents with date interval](https://discuss.elastic.co/t/php-client-aggregation-of-documents-with-date-interval/156609)

<div class="topic-metadata">

**Author:** [@Keb](https://discuss.elastic.co/u/Keb)\
**Replies:** 0\
**Last updated:** [November 14, 2018, 9:14am UTC](https://discuss.elastic.co/t/php-client-aggregation-of-documents-with-date-interval/156609 "2018-11-14T09:14:40Z")

</div>

Hello, I'm trying to use Elasticsearch and stumbled across a problem I can't resolve. I posted my question on stackoverflow, but I might aswell ask for your help here. I'm trying to build a faceted search using Elastic…

---

## [Elasticsearch::Transport::Transport::Errors::BadRequest](https://discuss.elastic.co/t/elasticsearch-badrequest/156507)

<div class="topic-metadata">

**Author:** [@jonaspreisler](https://discuss.elastic.co/u/jonaspreisler)\
**Replies:** 1\
**Last updated:** [November 14, 2018, 8:45am UTC](https://discuss.elastic.co/t/elasticsearch-badrequest/156507 "2018-11-14T08:45:08Z")

</div>

How to solve this error? This is my model file (Ruby on Rails): https://github.com/JonasPreisler/tim4/blob/master/app/models/vehicle.rb This is the error: Elasticsearch::Transport::Transport::Errors::BadRequest: \[400\]…

---

## [Force range query to use epoch\_second instead of epoch\_millies?](https://discuss.elastic.co/t/force-range-query-to-use-epoch-second-instead-of-epoch-millies/156581)

<div class="topic-metadata">

**Author:** [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 8:20am UTC](https://discuss.elastic.co/t/force-range-query-to-use-epoch-second-instead-of-epoch-millies/156581 "2018-11-14T08:20:48Z")

</div>

Hi, I noticed epoch\_second can be as much as 200x faster than epoch\_millies in Kibana. As millies are not important to me I want all visualizations to use epoch\_second instead of epoch\_millies but I can't find any way t…

---

## [Effective separation of tenant data in latest release of ElasticSearch](https://discuss.elastic.co/t/effective-separation-of-tenant-data-in-latest-release-of-elasticsearch/156573)

<div class="topic-metadata">

**Author:** [@Rajesh\_Kishore](https://discuss.elastic.co/u/Rajesh_Kishore)\
**Replies:** 9\
**Last updated:** [November 14, 2018, 7:02am UTC](https://discuss.elastic.co/t/effective-separation-of-tenant-data-in-latest-release-of-elasticsearch/156573 "2018-11-14T07:02:58Z")

</div>

Hi All, We want to use ElasticSearch as a multi-tenant store , each tenant would have different requirement for document type/schema. What is the best way to store data wrt cost, manageability in this regard ? 1\> Eac…

---

## [Indexing all pdfs within a folder](https://discuss.elastic.co/t/indexing-all-pdfs-within-a-folder/156585)

<div class="topic-metadata">

**Author:** [@vedydev](https://discuss.elastic.co/u/vedydev)\
**Replies:** 1\
**Last updated:** [November 14, 2018, 6:02am UTC](https://discuss.elastic.co/t/indexing-all-pdfs-within-a-folder/156585 "2018-11-14T06:02:59Z")

</div>

Hi , Looking at this And I can see it's good for attaching one file at a time. And wondering if I can use the above mentioned Mapper Attachments Plugin to index a folder full of PDF files (upload all pdf files attach…

---

## [I have a list of one thousand stores and need to extract the list of people who have been nearby (within 100m of) these stores](https://discuss.elastic.co/t/i-have-a-list-of-one-thousand-stores-and-need-to-extract-the-list-of-people-who-have-been-nearby-within-100m-of-these-stores/156444)

<div class="topic-metadata">

**Author:** [@Michal\_Soutys](https://discuss.elastic.co/u/Michal_Soutys)\
**Replies:** 1\
**Last updated:** [November 14, 2018, 5:45am UTC](https://discuss.elastic.co/t/i-have-a-list-of-one-thousand-stores-and-need-to-extract-the-list-of-people-who-have-been-nearby-within-100m-of-these-stores/156444 "2018-11-14T05:45:57Z")

</div>

I have a list of one thousand stores and need to extract the list of people who have been nearby (within 100m of) these stores. Which query or aggregation should I use in order not to make one thousand queries/aggregati…

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

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