# \#none

**URL:** https://discuss.elastic.co/tag/none.md?page=1282

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

**Page:** 1283

---

## [Questions regarding index.gc\_deletes](https://discuss.elastic.co/t/questions-regarding-index-gc-deletes/244452)

<div class="topic-metadata">

**Author:** [@lang1991](https://discuss.elastic.co/u/lang1991)\
**Replies:** 4\
**Last updated:** [August 15, 2020, 6:17am UTC](https://discuss.elastic.co/t/questions-regarding-index-gc-deletes/244452 "2020-08-15T06:17:51Z")

</div>

I have a few questions regarding "index.gc\_deletes", and I can't seem to find the answers in Elasticsearch documents. Context: We have a stream of events to be indexed by Elasticsearch, including "upsert" and "delete" …

---

## [Will elasticsearch create logs directory if not exist?](https://discuss.elastic.co/t/will-elasticsearch-create-logs-directory-if-not-exist/245003)

<div class="topic-metadata">

**Author:** [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)\
**Replies:** 2\
**Last updated:** [August 15, 2020, 4:14am UTC](https://discuss.elastic.co/t/will-elasticsearch-create-logs-directory-if-not-exist/245003 "2020-08-15T04:14:38Z")

</div>

Hi Will elasticsearch create logs directory I have given in path.logs, if not exist? It seems like service not starting up if log directory is not there. Is there anyway I can tell elasticsearch to create the direct…

---

## [Elasticsearch snapshot/restore](https://discuss.elastic.co/t/elasticsearch-snapshot-restore/245006)

<div class="topic-metadata">

**Author:** [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)\
**Replies:** 3\
**Last updated:** [August 15, 2020, 3:39am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-restore/245006 "2020-08-15T03:39:28Z")

</div>

Hi I want to take backup of existing data before upgrading elasticsearch, place it back after upgrade. What is the best way to do that? I read about snapshot & restore. Is this right one for a production environment wit…

---

## [Recover a broken 3 node elasticsearch cluster that has only 1 node left](https://discuss.elastic.co/t/recover-a-broken-3-node-elasticsearch-cluster-that-has-only-1-node-left/244959)

<div class="topic-metadata">

**Author:** [@efan](https://discuss.elastic.co/u/efan)\
**Replies:** 5\
**Last updated:** [August 15, 2020, 2:00am UTC](https://discuss.elastic.co/t/recover-a-broken-3-node-elasticsearch-cluster-that-has-only-1-node-left/244959 "2020-08-15T02:00:50Z")

</div>

Hi, I have Elasticsearch cluster (7.6.1) that had 3 nodes. 2 of the nodes were accidentally dropped while all 3 servers were running. 1 of the 3 servers survived. I want to save the cluster and its data. How do I add new…

---

## [Filebeat to logstash reading all file from beginning](https://discuss.elastic.co/t/filebeat-to-logstash-reading-all-file-from-beginning/244620)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 17\
**Last updated:** [August 14, 2020, 8:16pm UTC](https://discuss.elastic.co/t/filebeat-to-logstash-reading-all-file-from-beginning/244620 "2020-08-14T20:16:09Z")

</div>

I have a filebeat running and properly configure I have logstash running which has input - filter- output. and all works good when I startup problem is when I restart the logstash it reads all the file located in that…

---

## [Elasticsearch - failed to turn off translog retention](https://discuss.elastic.co/t/elasticsearch-failed-to-turn-off-translog-retention/245060)

<div class="topic-metadata">

**Author:** [@gferrette](https://discuss.elastic.co/u/gferrette)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 7:37pm UTC](https://discuss.elastic.co/t/elasticsearch-failed-to-turn-off-translog-retention/245060 "2020-08-14T19:37:32Z")

</div>

Hello! I've made an upgrade from ES 7.0.1 to ES 7.6.1 and after that, on nodes startup, its appearing on the logs the message below: \[2020-08-14T10:54:21,893\]\[WARN \]\[o.e.i.s.IndexShard \] \[machine\] \[.tasks\]\[0\] fai…

---

## [Time Series Visual Builder - most basic question ever](https://discuss.elastic.co/t/time-series-visual-builder-most-basic-question-ever/245022)

<div class="topic-metadata">

**Author:** [@dandcp](https://discuss.elastic.co/u/dandcp)\
**Replies:** 1\
**Last updated:** [August 14, 2020, 7:18pm UTC](https://discuss.elastic.co/t/time-series-visual-builder-most-basic-question-ever/245022 "2020-08-14T19:18:12Z")

</div>

This is probably the easiest question anyone has asked. I see tons of references to people using the Time Series Visual Builder to do calculations on fields, etc. But the one thing I can't figure out is do I have to be…

---

## [Kibana - Request Timeout after 3000ms](https://discuss.elastic.co/t/kibana-request-timeout-after-3000ms/241753)

<div class="topic-metadata">

**Author:** [@gferrette](https://discuss.elastic.co/u/gferrette)\
**Replies:** 2\
**Last updated:** [August 14, 2020, 7:17pm UTC](https://discuss.elastic.co/t/kibana-request-timeout-after-3000ms/241753 "2020-08-14T19:17:37Z")

</div>

Hello! Please, we are getting the error below in kibana log a few times during the day. We had already change the values below on kibana.yml and restarted kibana, but the error persists showing the same value "3000ms",…

---

## [How to open Kibana discover url with filters from the elastic REST API](https://discuss.elastic.co/t/how-to-open-kibana-discover-url-with-filters-from-the-elastic-rest-api/245051)

<div class="topic-metadata">

**Author:** [@aravind.pk](https://discuss.elastic.co/u/aravind.pk)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 5:57pm UTC](https://discuss.elastic.co/t/how-to-open-kibana-discover-url-with-filters-from-the-elastic-rest-api/245051 "2020-08-14T17:57:31Z")

</div>

I am Elastic REST API to access the \_search and \_count for our own app to yield the logs and handle some app specific business functions (based on the logs and determine the performance etc.). From our app, we would like…

---

## [Doubt about complex query](https://discuss.elastic.co/t/doubt-about-complex-query/245048)

<div class="topic-metadata">

**Author:** [@bgsouza](https://discuss.elastic.co/u/bgsouza)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 5:08pm UTC](https://discuss.elastic.co/t/doubt-about-complex-query/245048 "2020-08-14T17:08:22Z")

</div>

Hello everyone I am a beginner in kibana and I'm having trouble setting up a query to generate a metric in Kibana. But I don't know if I'm structuring it wrong or if the query isn't even possible Giving a little contex…

---

## [Successfully started Logstash API endpoint {:port=\>9600} stuck here i am using window 10](https://discuss.elastic.co/t/successfully-started-logstash-api-endpoint-port-9600-stuck-here-i-am-using-window-10/245039)

<div class="topic-metadata">

**Author:** [@SUSHIL\_KUMAR1](https://discuss.elastic.co/u/SUSHIL_KUMAR1)\
**Replies:** 1\
**Last updated:** [August 14, 2020, 4:15pm UTC](https://discuss.elastic.co/t/successfully-started-logstash-api-endpoint-port-9600-stuck-here-i-am-using-window-10/245039 "2020-08-14T16:15:18Z")

</div>

input{ file{ path=\> "C:/Users/sushils/Desktop/metadata.csv" start\_position=\>"beginning" sincedb\_path=\> "NULL" } } filter { csv{ separator =\> "," columns =\> \["cord\_uid", "sha", "source\_x", "title", "doi", "pmci…

---

## [Uax\_url\_email for email get unexpected search result](https://discuss.elastic.co/t/uax-url-email-for-email-get-unexpected-search-result/245041)

<div class="topic-metadata">

**Author:** [@Jinlian\_Chen](https://discuss.elastic.co/u/Jinlian_Chen)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 3:50pm UTC](https://discuss.elastic.co/t/uax-url-email-for-email-get-unexpected-search-result/245041 "2020-08-14T15:50:58Z")

</div>

Elasticsearch version: 7.8.0 Use uax\_url\_email and pattern\_capture to analyze emails, search email address get unexpected result. Two email address: hello-test hello-world@gmail.com hello-test-hello-world@gmail.com S…

---

## [DELETE documents documents that have field date1 in the given interval and the value of "date1 - date2" is greater than 1 hour](https://discuss.elastic.co/t/delete-documents-documents-that-have-field-date1-in-the-given-interval-and-the-value-of-date1-date2-is-greater-than-1-hour/245040)

<div class="topic-metadata">

**Author:** [@Rysiu](https://discuss.elastic.co/u/Rysiu)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 3:39pm UTC](https://discuss.elastic.co/t/delete-documents-documents-that-have-field-date1-in-the-given-interval-and-the-value-of-date1-date2-is-greater-than-1-hour/245040 "2020-08-14T15:39:09Z")

</div>

We have a basic index with two fields: date1 and date2. PUT your\_index { "mappings": { "your\_type": { "properties": { "time1": { "type": "date", }, "time2": { "t…

---

## [Kibana Index Pattern via API](https://discuss.elastic.co/t/kibana-index-pattern-via-api/244957)

<div class="topic-metadata">

**Author:** [@Venkatesh\_Guruprasad](https://discuss.elastic.co/u/Venkatesh_Guruprasad)\
**Replies:** 3\
**Last updated:** [August 14, 2020, 3:16pm UTC](https://discuss.elastic.co/t/kibana-index-pattern-via-api/244957 "2020-08-14T15:16:33Z")

</div>

I have used API to create ES indexes. Unfortunately Kibana Index Patterns doesn't get auto-generated when we do that. I have tried using the following API call curl -X POST "http://localhost:5601/api/saved\_objects/index…

---

## [JMX Plugin Attributes (more than metric path)](https://discuss.elastic.co/t/jmx-plugin-attributes-more-than-metric-path/245017)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Maia](https://discuss.elastic.co/u/Rodrigo_Maia)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 1:27pm UTC](https://discuss.elastic.co/t/jmx-plugin-attributes-more-than-metric-path/245017 "2020-08-14T13:27:57Z")

</div>

Let's say I have the JMX config for my ActiveMQ: { "object\_name" : "org.apache.activemq:type=Broker,brokerName=\*,destinationName=\*,destinationType=Topic", "attributes" : \[ "AverageBlockedTime","AverageEn…

---

## [Ignore groups that are not in the log](https://discuss.elastic.co/t/ignore-groups-that-are-not-in-the-log/244754)

<div class="topic-metadata">

**Author:** [@idyuzhev](https://discuss.elastic.co/u/idyuzhev)\
**Replies:** 7\
**Last updated:** [August 14, 2020, 2:56pm UTC](https://discuss.elastic.co/t/ignore-groups-that-are-not-in-the-log/244754 "2020-08-14T14:56:32Z")

</div>

Hello. I hope for your help. I need to parse the nginx-error-log, but the problem is that this or that group in the log may be absent and then no match occurs. Here's an example. 2020/08/11 14:16:35 \[warn\] 230521#230…

---

## [Serial Diff two metrics](https://discuss.elastic.co/t/serial-diff-two-metrics/244978)

<div class="topic-metadata">

**Author:** [@Shyrine](https://discuss.elastic.co/u/Shyrine)\
**Replies:** 3\
**Last updated:** [August 14, 2020, 2:53pm UTC](https://discuss.elastic.co/t/serial-diff-two-metrics/244978 "2020-08-14T14:53:39Z")

</div>

Hi, I am wondering if it is possible to have a serial diff in aggregation between two metrics.... ?? What I am trying to do is having an other bar or line, calculating the difference between the two bars (green and ora…

---

## [Reindex with https](https://discuss.elastic.co/t/reindex-with-https/245031)

<div class="topic-metadata">

**Author:** [@dimm](https://discuss.elastic.co/u/dimm)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 2:29pm UTC](https://discuss.elastic.co/t/reindex-with-https/245031 "2020-08-14T14:29:40Z")

</div>

Hi, I'm tryning to migrate data from my OLD\_ELASTIC server (version 6.2) to the NEW\_ELASTIC (version 7.8.1) using REINDEX approcach but with https connection. My NEW\_ELASTIC elasticsearch.yml contains: ... reindex.rem…

---

## [server.basePath leads to indefinite loop](https://discuss.elastic.co/t/server-basepath-leads-to-indefinite-loop/242585)

<div class="topic-metadata">

**Author:** [@zaeemmasood](https://discuss.elastic.co/u/zaeemmasood)\
**Replies:** 3\
**Last updated:** [August 14, 2020, 2:10pm UTC](https://discuss.elastic.co/t/server-basepath-leads-to-indefinite-loop/242585 "2020-08-14T14:10:43Z")

</div>

Hello. I am using elk stack 7.6.2. When I introduce server.basePath parameter in kibana.yml the browser tends to go in an indefinite loop. Please advise.

---

## [How do I save Kibana dev tools console or history log](https://discuss.elastic.co/t/how-do-i-save-kibana-dev-tools-console-or-history-log/244965)

<div class="topic-metadata">

**Author:** [@RusseL](https://discuss.elastic.co/u/RusseL)\
**Replies:** 1\
**Last updated:** [August 14, 2020, 2:01pm UTC](https://discuss.elastic.co/t/how-do-i-save-kibana-dev-tools-console-or-history-log/244965 "2020-08-14T14:01:55Z")

</div>

Hi guys , I want to save the queries or historical records I run in Devtools console into an index, is that possible?

---

## [How do I add 3 fields and get an average?](https://discuss.elastic.co/t/how-do-i-add-3-fields-and-get-an-average/244628)

<div class="topic-metadata">

**Author:** [@dandcp](https://discuss.elastic.co/u/dandcp)\
**Replies:** 4\
**Last updated:** [August 14, 2020, 1:52pm UTC](https://discuss.elastic.co/t/how-do-i-add-3-fields-and-get-an-average/244628 "2020-08-14T13:52:43Z")

</div>

I want to add 3 different fields and then divide them for an average. The fields are: business\_poc\_flag technical\_poc\_flag functional\_poc\_flag The value is either a "1" or a "0" (business\_poc\_flag = 1 if the busine…

---

## [Boosting documents performance (Terms vs Should)](https://discuss.elastic.co/t/boosting-documents-performance-terms-vs-should/245018)

<div class="topic-metadata">

**Author:** [@Kushikawa](https://discuss.elastic.co/u/Kushikawa)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 1:28pm UTC](https://discuss.elastic.co/t/boosting-documents-performance-terms-vs-should/245018 "2020-08-14T13:28:27Z")

</div>

Hi, I have something similar to the following document: { "title": "Alisha Solid Women's Cycling Shorts", "sku":\["54855","54856","54857","54858","54859"\] }, { "title": "Vishudh Printed Women's Anarkali Kurta", "…

---

## [ELASTICSEARCH - Count unique value with a condition](https://discuss.elastic.co/t/elasticsearch-count-unique-value-with-a-condition/244983)

<div class="topic-metadata">

**Author:** [@Miguel\_BA](https://discuss.elastic.co/u/Miguel_BA)\
**Replies:** 4\
**Last updated:** [August 14, 2020, 1:08pm UTC](https://discuss.elastic.co/t/elasticsearch-count-unique-value-with-a-condition/244983 "2020-08-14T13:08:20Z")

</div>

I would like a query which it returns the number of times a field is repeated, according to the unique value of another field I have this json: "name" : james, "city" : "chicago" \<----------- same …

---

## [Logstash pipelines not working together, but separately yes](https://discuss.elastic.co/t/logstash-pipelines-not-working-together-but-separately-yes/244973)

<div class="topic-metadata">

**Author:** [@Andrea\_Bozzano](https://discuss.elastic.co/u/Andrea_Bozzano)\
**Replies:** 5\
**Last updated:** [August 14, 2020, 12:46pm UTC](https://discuss.elastic.co/t/logstash-pipelines-not-working-together-but-separately-yes/244973 "2020-08-14T12:46:00Z")

</div>

Hi everyone, and sorry to bother you but i can't find a proper solution to this. I'm trying to setup a pipelines.yml file to ingest data with Logstash through 3 pipelines. I'm running Logstash on a single node ELK stac…

---

## [Logstash add field metadata not working](https://discuss.elastic.co/t/logstash-add-field-metadata-not-working/244911)

<div class="topic-metadata">

**Author:** [@frankfoti](https://discuss.elastic.co/u/frankfoti)\
**Replies:** 4\
**Last updated:** [August 14, 2020, 12:40pm UTC](https://discuss.elastic.co/t/logstash-add-field-metadata-not-working/244911 "2020-08-14T12:40:42Z")

</div>

I have tried a number of different solutions and cannot get this to work. What am I missing? https://www.elastic.co/guide/en/logstash/current/plugins-filters-mutate.html filter { mutate { id =\> "add-pipeline" …

---

## [New to ES some questions](https://discuss.elastic.co/t/new-to-es-some-questions/244895)

<div class="topic-metadata">

**Author:** [@DevOnTie](https://discuss.elastic.co/u/DevOnTie)\
**Replies:** 1\
**Last updated:** [August 14, 2020, 12:18pm UTC](https://discuss.elastic.co/t/new-to-es-some-questions/244895 "2020-08-14T12:18:32Z")

</div>

Hello, I'm new in using elastic search (well... and programming as well), and my boss created an instance @amazon and I'm not sure of how to use es from it, where should I look, here or amazon help (if outside, it's allo…

---

## [Continuous transform is "indexing", but no new destination records](https://discuss.elastic.co/t/continuous-transform-is-indexing-but-no-new-destination-records/244692)

<div class="topic-metadata">

**Author:** [@Mark\_Duncan](https://discuss.elastic.co/u/Mark_Duncan)\
**Replies:** 3\
**Last updated:** [August 14, 2020, 12:12pm UTC](https://discuss.elastic.co/t/continuous-transform-is-indexing-but-no-new-destination-records/244692 "2020-08-14T12:12:58Z")

</div>

My last record in the destination index is for the minute, 2020-08-11 20:05:00. It is a continuous transform and it's status=indexing, but no new destination logs are being generated. I have other transforms in continu…

---

## [ElasticSearch 7.7.1 plugin for custom score](https://discuss.elastic.co/t/elasticsearch-7-7-1-plugin-for-custom-score/245001)

<div class="topic-metadata">

**Author:** [@dimminbox](https://discuss.elastic.co/u/dimminbox)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 11:32am UTC](https://discuss.elastic.co/t/elasticsearch-7-7-1-plugin-for-custom-score/245001 "2020-08-14T11:32:34Z")

</div>

Hi, Now i'm using ElasticSearch 5.3 with groovy script for calculationg of score. This script use \_doc\[field\].size() for get count of tokens for field by document. This logic i'm trying to apply in custom plugin for …

---

## [I use elasticsearch in java ,and i get some questions that i can't understand](https://discuss.elastic.co/t/i-use-elasticsearch-in-java-and-i-get-some-questions-that-i-cant-understand/244890)

<div class="topic-metadata">

**Author:** [@AnswerNo2](https://discuss.elastic.co/u/AnswerNo2)\
**Replies:** 2\
**Last updated:** [August 14, 2020, 11:31am UTC](https://discuss.elastic.co/t/i-use-elasticsearch-in-java-and-i-get-some-questions-that-i-cant-understand/244890 "2020-08-14T11:31:52Z")

</div>

when i create a doc，i need use : IndexRequest indexRequest = new IndexRequest(String indexName); the question is : indexRequest .type(type) ,this method is deprecated, and what method can replace it ？ i want know!

---

## [Exact match not apearing on top](https://discuss.elastic.co/t/exact-match-not-apearing-on-top/244986)

<div class="topic-metadata">

**Author:** [@ankitbhai](https://discuss.elastic.co/u/ankitbhai)\
**Replies:** 3\
**Last updated:** [August 14, 2020, 11:11am UTC](https://discuss.elastic.co/t/exact-match-not-apearing-on-top/244986 "2020-08-14T11:11:07Z")

</div>

Hello, I need to get results first exact match and then other match. I've tried it with boost and should but still it's not working for me. Please give your help/suggestion for the same. {"size":20,"query":{"bool":{"mu…

[Previous page](https://discuss.elastic.co/tag/none.md?no_tags=true&page=1281)

[Next page](https://discuss.elastic.co/tag/none.md?no_tags=true&page=1283)
