# Elasticsearch

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

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

**Page:** 1982

---

## [How to use \_mtermvectors endpoint in NEST C#?](https://discuss.elastic.co/t/how-to-use--mtermvectors-endpoint-in-nest-c/96641)

<div class="topic-metadata">

**Author:** [@sramalin](https://discuss.elastic.co/u/sramalin)\
**Replies:** 1\
**Last updated:** [August 12, 2017, 11:11pm UTC](https://discuss.elastic.co/t/how-to-use--mtermvectors-endpoint-in-nest-c/96641 "2017-08-12T23:11:08Z")

</div>

In elasticsearch help at Multi term vectors API | Elasticsearch Guide \[8.11\] | Elastic there is an \_mtermvectors endpoint like this POST /twitter/tweet/\_mtermvectors { "ids" : \["1", "2"\], "parameters": { "fields"…

---

## [Delete Indices older than 30 days](https://discuss.elastic.co/t/delete-indices-older-than-30-days/96630)

<div class="topic-metadata">

**Author:** [@waterwalker23](https://discuss.elastic.co/u/waterwalker23)\
**Replies:** 9\
**Last updated:** [August 13, 2017, 5:28am UTC](https://discuss.elastic.co/t/delete-indices-older-than-30-days/96630 "2017-08-13T05:28:56Z")

</div>

All, I’m trying to delete old indices, but I can’t get it working. I have curator version 5.1 installed. I found info stating to use the following command curator --host localhost delete indices --older-than 30 --time…

---

## [Scaling ELK stack for monitoring performance of my servers](https://discuss.elastic.co/t/scaling-elk-stack-for-monitoring-performance-of-my-servers/96846)

<div class="topic-metadata">

**Author:** [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Replies:** 1\
**Last updated:** [August 12, 2017, 5:34pm UTC](https://discuss.elastic.co/t/scaling-elk-stack-for-monitoring-performance-of-my-servers/96846 "2017-08-12T17:34:21Z")

</div>

Hi, I am new to ELK. I have to monitor daily performance of different servers of mine on my Kibana Dashboards (monitoring basically CPU, disk usage, health, traffic etc). Here I am having 5 different servers. I have my …

---

## [Terms lookup - broken by design](https://discuss.elastic.co/t/terms-lookup-broken-by-design/96835)

<div class="topic-metadata">

**Author:** [@Jayme](https://discuss.elastic.co/u/Jayme)\
**Replies:** 2\
**Last updated:** [August 12, 2017, 4:52pm UTC](https://discuss.elastic.co/t/terms-lookup-broken-by-design/96835 "2017-08-12T16:52:45Z")

</div>

Hi, I need to exclude a large list of userids from a search request and want to optimze that by using a seperate index with all the userids that need to be skipped. https://www.elastic.co/guide/en/elasticsearch/refere…

---

## [Multiple Paths in nested query](https://discuss.elastic.co/t/multiple-paths-in-nested-query/96851)

<div class="topic-metadata">

**Author:** [@Hunter\_Herman](https://discuss.elastic.co/u/Hunter_Herman)\
**Replies:** 0\
**Last updated:** [August 12, 2017, 4:22pm UTC](https://discuss.elastic.co/t/multiple-paths-in-nested-query/96851 "2017-08-12T16:22:25Z")

</div>

Below is an example, but first I’ll tell you about my use case, because I’m not sure if this is a good approach. I’m trying to automatically index a large collection of typed data. What this means is I’m trying to genera…

---

## [Information needed](https://discuss.elastic.co/t/information-needed/90565)

<div class="topic-metadata">

**Author:** [@Kunal2791](https://discuss.elastic.co/u/Kunal2791)\
**Replies:** 9\
**Last updated:** [August 12, 2017, 3:07pm UTC](https://discuss.elastic.co/t/information-needed/90565 "2017-08-12T15:07:54Z")

</div>

Hi All, we've set up ELK in our environment and its really a nice tool to check real time logs. Thanks for that. but i really interested to know about. 1. is the server can collect all the logs from client and also store…

---

## [Elasticsearch.Net and multisearch](https://discuss.elastic.co/t/elasticsearch-net-and-multisearch/96602)

<div class="topic-metadata">

**Author:** [@Karolinebryn](https://discuss.elastic.co/u/Karolinebryn)\
**Replies:** 3\
**Last updated:** [August 12, 2017, 7:47am UTC](https://discuss.elastic.co/t/elasticsearch-net-and-multisearch/96602 "2017-08-12T07:47:22Z")

</div>

How do you perform a multisearch with Elasticsearch.Net? I cannot find any examples of this.

---

## [Dazzled and confused with the \_all field in 6.+](https://discuss.elastic.co/t/dazzled-and-confused-with-the--all-field-in-6/96822)

<div class="topic-metadata">

**Author:** [@anon44344346](https://discuss.elastic.co/u/anon44344346)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 10:34pm UTC](https://discuss.elastic.co/t/dazzled-and-confused-with-the--all-field-in-6/96822 "2017-08-11T22:34:30Z")

</div>

They say \_all field will be disabled in 6.0+ , and recommend to use “copy\_to” instead. I don’t know a previous knowledge of the fields that are being submitted, just know a few cases I don’t want to be included in the …

---

## [Failed elasticsearch upgrade 1.5.2 --\> 2.4.5](https://discuss.elastic.co/t/failed-elasticsearch-upgrade-1-5-2-2-4-5/96682)

<div class="topic-metadata">

**Author:** [@rrue](https://discuss.elastic.co/u/rrue)\
**Replies:** 5\
**Last updated:** [August 11, 2017, 10:30pm UTC](https://discuss.elastic.co/t/failed-elasticsearch-upgrade-1-5-2-2-4-5/96682 "2017-08-11T22:30:26Z")

</div>

Hi All, I’m a relative newbie to RELK and it’s been along to day to boot, so bear with me if I’m missing something obvious or if this question has been answered here already. I’m attempting to upgrade a two-node RELK c…

---

## [Transferring Data From Firebase To Elasticsearch](https://discuss.elastic.co/t/transferring-data-from-firebase-to-elasticsearch/96826)

<div class="topic-metadata">

**Author:** [@troy](https://discuss.elastic.co/u/troy)\
**Replies:** 0\
**Last updated:** [August 11, 2017, 9:59pm UTC](https://discuss.elastic.co/t/transferring-data-from-firebase-to-elasticsearch/96826 "2017-08-11T21:59:07Z")

</div>

I need to get data from a Firebase database into Elasticsearch. I’ve considered using Firebase cloud functions, Flashlight and Google Pub/Sub. The big issue that I see with cloud functions and flashlight is reliability. …

---

## [Where to get curator\_cli?](https://discuss.elastic.co/t/where-to-get-curator-cli/96687)

<div class="topic-metadata">

**Author:** [@marksarnold](https://discuss.elastic.co/u/marksarnold)\
**Replies:** 5\
**Last updated:** [August 11, 2017, 9:15pm UTC](https://discuss.elastic.co/t/where-to-get-curator-cli/96687 "2017-08-11T21:15:18Z")

</div>

Hello, I installed curator from the APT repo as per https://www.elastic.co/guide/en/elasticsearch/client/curator/current/apt-repository.html After the installation, I have the curator binary in /usr/bin, but there is n…

---

## [Unable to perform aggregation on 2 fields](https://discuss.elastic.co/t/unable-to-perform-aggregation-on-2-fields/96823)

<div class="topic-metadata">

**Author:** [@nsur1](https://discuss.elastic.co/u/nsur1)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 8:44pm UTC](https://discuss.elastic.co/t/unable-to-perform-aggregation-on-2-fields/96823 "2017-08-11T20:44:56Z")

</div>

I am trying to find a unique count on a pair of source and destination IPs in my stored records. In elastic search, the mapping shows that the fields are being stored as an IP type, however when I try to compare the 2 I…

---

## [How to parse ES json output. Scripting, re-indexing, other suggestion?](https://discuss.elastic.co/t/how-to-parse-es-json-output-scripting-re-indexing-other-suggestion/95953)

<div class="topic-metadata">

**Author:** [@smcooper](https://discuss.elastic.co/u/smcooper)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 7:55pm UTC](https://discuss.elastic.co/t/how-to-parse-es-json-output-scripting-re-indexing-other-suggestion/95953 "2017-08-11T19:55:49Z")

</div>

Hi, I am very new to the stack and need some advice. I have been trying to make sense out of our logs, imported to ES using logstash, and generating graphs (and queries) from kibana. I ran into some difficulties when …

---

## [Is it possible to only restore the incremental portion of snapshot?](https://discuss.elastic.co/t/is-it-possible-to-only-restore-the-incremental-portion-of-snapshot/96495)

<div class="topic-metadata">

**Author:** [@fate9834](https://discuss.elastic.co/u/fate9834)\
**Replies:** 4\
**Last updated:** [August 11, 2017, 6:55pm UTC](https://discuss.elastic.co/t/is-it-possible-to-only-restore-the-incremental-portion-of-snapshot/96495 "2017-08-11T18:55:12Z")

</div>

Continuing the discussion from Incremental Snapshot / Restore: The example from David was: Snapshot1 pushed segments 1, 2, 3 in repository X Snapshot2 needs to backup segments 1, 2, 3, 4 (4 contains the new data). But…

---

## [Parent/Child Types and removable of types](https://discuss.elastic.co/t/parent-child-types-and-removable-of-types/96394)

<div class="topic-metadata">

**Author:** [@pksorensen](https://discuss.elastic.co/u/pksorensen)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 6:29pm UTC](https://discuss.elastic.co/t/parent-child-types-and-removable-of-types/96394 "2017-08-11T18:29:56Z")

</div>

Hi I am a new user to ES and just read https://www.elastic.co/blog/index-type-parent-child-join-now-future-in-elasticsearch. One of the first things I been setting up is a index in NEST and c# that has multiple types (b…

---

## [ES 5 Setup](https://discuss.elastic.co/t/es-5-setup/96799)

<div class="topic-metadata">

**Author:** [@Amit\_Patel](https://discuss.elastic.co/u/Amit_Patel)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 6:18pm UTC](https://discuss.elastic.co/t/es-5-setup/96799 "2017-08-11T18:18:29Z")

</div>

Hi, We are planning on using ElasticSearch for our catalog search and wondering how to start getting data into ES. Our catalog updates are sitting in kafka topic and we want to get that into ES. Also how can I specify…

---

## [Finding if a Field exist using painless inline](https://discuss.elastic.co/t/finding-if-a-field-exist-using-painless-inline/96421)

<div class="topic-metadata">

**Author:** [@v6nerd](https://discuss.elastic.co/u/v6nerd)\
**Replies:** 2\
**Last updated:** [August 11, 2017, 3:13pm UTC](https://discuss.elastic.co/t/finding-if-a-field-exist-using-painless-inline/96421 "2017-08-11T15:13:22Z")

</div>

I’m trying to run the \_update\_by\_query to create a new field that takes a value of an existing field and adds say 1 for example. POST newlogstash/\_update\_by\_query { “script”: { “lang”: “painless”, “inline”: “if (ctx…

---

## [Failed to initialize connection: None of the configured nodes were available](https://discuss.elastic.co/t/failed-to-initialize-connection-none-of-the-configured-nodes-were-available/96790)

<div class="topic-metadata">

**Author:** [@sravan\_kumar1](https://discuss.elastic.co/u/sravan_kumar1)\
**Replies:** 0\
**Last updated:** [August 11, 2017, 3:07pm UTC](https://discuss.elastic.co/t/failed-to-initialize-connection-none-of-the-configured-nodes-were-available/96790 "2017-08-11T15:07:00Z")

</div>

I am trying to connect to my local elastic search instance by using the elastic 4s library val esSettings = Settings.builder().put(“cluster.name”, “cluster name”).build() val esClient = TcpClient.transport(esSetting…

---

## [Sorting Parent Documents by nested inner hits](https://discuss.elastic.co/t/sorting-parent-documents-by-nested-inner-hits/96137)

<div class="topic-metadata">

**Author:** [@BLZB0B](https://discuss.elastic.co/u/BLZB0B)\
**Replies:** 7\
**Last updated:** [August 11, 2017, 2:54pm UTC](https://discuss.elastic.co/t/sorting-parent-documents-by-nested-inner-hits/96137 "2017-08-11T14:54:37Z")

</div>

Hi, We have a set of documents that need sorting when querying. sorting at the nested level seems to be ok, but we need to sort by a field on a nested object within another nested object and can’t for the life of us wo…

---

## [Could not find or load main class org.elasticsearch.bootstrap.Elasticsearch](https://discuss.elastic.co/t/could-not-find-or-load-main-class-org-elasticsearch-bootstrap-elasticsearch/96764)

<div class="topic-metadata">

**Author:** [@816a835aba6364ba2bda](https://discuss.elastic.co/u/816a835aba6364ba2bda)\
**Replies:** 8\
**Last updated:** [August 11, 2017, 2:25pm UTC](https://discuss.elastic.co/t/could-not-find-or-load-main-class-org-elasticsearch-bootstrap-elasticsearch/96764 "2017-08-11T14:25:01Z")

</div>

I run the command with a non-root user but get an error \[elsearch@vultr elasticsearch-rtf\]$ ./bin/elasticsearch Error: Could not find or load main class org.elasticsearch.bootstrap.Elasticsearch the java -version and …

---

## [How much data can one Standalone instance handle?](https://discuss.elastic.co/t/how-much-data-can-one-standalone-instance-handle/95698)

<div class="topic-metadata">

**Author:** [@glifhits](https://discuss.elastic.co/u/glifhits)\
**Replies:** 5\
**Last updated:** [August 11, 2017, 1:54pm UTC](https://discuss.elastic.co/t/how-much-data-can-one-standalone-instance-handle/95698 "2017-08-11T13:54:10Z")

</div>

Hi everyone, I am currently running one elastic-search instance on a 2 core / 16gb ram / 250 gig machine. My question is how much will this machine be able to handle until I need to expand the cluster? Currently, the s…

---

## [Trying to get simplest of "now" to work in date range queries](https://discuss.elastic.co/t/trying-to-get-simplest-of-now-to-work-in-date-range-queries/96660)

<div class="topic-metadata">

**Author:** [@Jaspreet\_Singh](https://discuss.elastic.co/u/Jaspreet_Singh)\
**Replies:** 14\
**Last updated:** [August 11, 2017, 1:48pm UTC](https://discuss.elastic.co/t/trying-to-get-simplest-of-now-to-work-in-date-range-queries/96660 "2017-08-11T13:48:22Z")

</div>

Here is a simple query im trying out … "query": { "bool": { "filter": \[ { "range": { "publishdate": { "lt": "now" }}} \] } } } Im hoping to get back almost…

---

## [Snapshot stats](https://discuss.elastic.co/t/snapshot-stats/96409)

<div class="topic-metadata">

**Author:** [@living\_jordi](https://discuss.elastic.co/u/living_jordi)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 1:34pm UTC](https://discuss.elastic.co/t/snapshot-stats/96409 "2017-08-11T13:34:21Z")

</div>

Is there any way to get thw size of an snapshot or the number of documents?

---

## [Export machine learning graphs](https://discuss.elastic.co/t/export-machine-learning-graphs/96670)

<div class="topic-metadata">

**Author:** [@deepaknadig](https://discuss.elastic.co/u/deepaknadig)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 12:55pm UTC](https://discuss.elastic.co/t/export-machine-learning-graphs/96670 "2017-08-11T12:55:27Z")

</div>

Hello All, This is my first post! Is there a way to export or create dashboards of the graphs generated using machine learning? How do I recreate/export (using visualization tools for example) the graphs for the Anomaly…

---

## [Elastic Search Static Application Security Testing Report](https://discuss.elastic.co/t/elastic-search-static-application-security-testing-report/96184)

<div class="topic-metadata">

**Author:** [@sksamy](https://discuss.elastic.co/u/sksamy)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 12:51pm UTC](https://discuss.elastic.co/t/elastic-search-static-application-security-testing-report/96184 "2017-08-11T12:51:49Z")

</div>

Does ElasticSearch have Static Application Security Testing? If yes where can i get the security testing report?

---

## [X-pack Watcher Slack JSON code](https://discuss.elastic.co/t/x-pack-watcher-slack-json-code/96430)

<div class="topic-metadata">

**Author:** [@ninja](https://discuss.elastic.co/u/ninja)\
**Replies:** 4\
**Last updated:** [August 11, 2017, 12:25pm UTC](https://discuss.elastic.co/t/x-pack-watcher-slack-json-code/96430 "2017-08-11T12:25:32Z")

</div>

Hello , I’ve created a notify script in JSON for Watcher with Slack Integration . I created webhook that i added at minimal in elasticsearch.yml Bellow is the script : { “trigger”: { “schedule”: { “interval”: “24h” …

---

## [Mapper parsing exception?](https://discuss.elastic.co/t/mapper-parsing-exception/94617)

<div class="topic-metadata">

**Author:** [@cabane77](https://discuss.elastic.co/u/cabane77)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 12:09pm UTC](https://discuss.elastic.co/t/mapper-parsing-exception/94617 "2017-08-11T12:09:06Z")

</div>

Hi, I wonder if anyone could help on the below error? I am trying to import some spatial data into elastic search, using ogr2ogr, but I am getting the below error: error":{"type":"mapper\_parsing\_exception","reason":"f…

---

## [Sync Elasticsearch with another Elasticsearch](https://discuss.elastic.co/t/sync-elasticsearch-with-another-elasticsearch/96760)

<div class="topic-metadata">

**Author:** [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)\
**Replies:** 0\
**Last updated:** [August 11, 2017, 11:27am UTC](https://discuss.elastic.co/t/sync-elasticsearch-with-another-elasticsearch/96760 "2017-08-11T11:27:29Z")

</div>

How to trail update in elasticsearch and send it to another elasticsearch? Just like beats which check the the logs if there’s an update and send it to the output if the output destination is available.

---

## [Query optimization!](https://discuss.elastic.co/t/query-optimization/95906)

<div class="topic-metadata">

**Author:** [@Mr.Flakes](https://discuss.elastic.co/u/Mr.Flakes)\
**Replies:** 3\
**Last updated:** [August 11, 2017, 10:28am UTC](https://discuss.elastic.co/t/query-optimization/95906 "2017-08-11T10:28:04Z")

</div>

Hello elastic gurus, I am pretty new to the whole stack and some help would be much appreciated. So I have this query running pretty often and it eats A LOT of resources. It works as intended results wise but I just want…

---

## [Performance Transport vs REST client](https://discuss.elastic.co/t/performance-transport-vs-rest-client/95876)

<div class="topic-metadata">

**Author:** [@Tobsucht](https://discuss.elastic.co/u/Tobsucht)\
**Replies:** 3\
**Last updated:** [August 11, 2017, 9:58am UTC](https://discuss.elastic.co/t/performance-transport-vs-rest-client/95876 "2017-08-11T09:58:19Z")

</div>

I’m having trouble with the performance of the Transportclient using the Java API, which is magnitudes slower compared to using the REST client. If found a similiar thread here: https://discuss.elastic.co/t/java-transp…

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

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