# Elastic Stack

**URL:** https://discuss.elastic.co/c/elastic-stack/81.md?page=1710

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

**Page:** 1711

---

## [Elasticsearch RestHighLevelClient behind a corporate firewall via a proxy](https://discuss.elastic.co/t/elasticsearch-resthighlevelclient-behind-a-corporate-firewall-via-a-proxy/254642)

<div class="topic-metadata">

**Author:** [@Ilya\_I](https://discuss.elastic.co/u/Ilya_I)\
**Replies:** 1\
**Last updated:** [November 8, 2020, 6:29pm UTC](https://discuss.elastic.co/t/elasticsearch-resthighlevelclient-behind-a-corporate-firewall-via-a-proxy/254642 "2020-11-08T18:29:41Z")

</div>

I am trying to access cloud Elasticsearch installation from our network that requires using a proxy for external requests. This is the snippet of code I use to pass Elasticsearch credentials and our proxy settings: Cred…

---

## [Snapshot retention question](https://discuss.elastic.co/t/snapshot-retention-question/254677)

<div class="topic-metadata">

**Author:** [@mwise29](https://discuss.elastic.co/u/mwise29)\
**Replies:** 9\
**Last updated:** [November 8, 2020, 4:40pm UTC](https://discuss.elastic.co/t/snapshot-retention-question/254677 "2020-11-08T16:40:58Z")

</div>

I'm new to ElasticSearch administration. From what I've gathered so far for snapshots is they are always incremental. My question is regarding snapshot retention. The documentation mentions that the snapshots can be c…

---

## [Datafeed missing in ML job](https://discuss.elastic.co/t/datafeed-missing-in-ml-job/254343)

<div class="topic-metadata">

**Author:** [@kvtang](https://discuss.elastic.co/u/kvtang)\
**Replies:** 4\
**Last updated:** [November 8, 2020, 4:32pm UTC](https://discuss.elastic.co/t/datafeed-missing-in-ml-job/254343 "2020-11-08T16:32:04Z")

</div>

Hi all, I always receive this warning on my jobs. Datafeed has missed 2 documents due to ingest latency. I have tried to increase the query\_delay but still the same. Any feedback? Much appreciated!

---

## [One word fields (keyword vs text types)](https://discuss.elastic.co/t/one-word-fields-keyword-vs-text-types/252408)

<div class="topic-metadata">

**Author:** [@aviadhaham](https://discuss.elastic.co/u/aviadhaham)\
**Replies:** 9\
**Last updated:** [November 8, 2020, 4:23pm UTC](https://discuss.elastic.co/t/one-word-fields-keyword-vs-text-types/252408 "2020-11-08T16:23:36Z")

</div>

If, for example, I have a field in which I know that the data ingested to it is only one-word strings. Why would I still use type "text" and not type "keyword" for this field's mapping? Setting it to be of type "keyword…

---

## [Aggregate "array" length's across documents](https://discuss.elastic.co/t/aggregate-array-lengths-across-documents/254646)

<div class="topic-metadata">

**Author:** [@Courtan](https://discuss.elastic.co/u/Courtan)\
**Replies:** 1\
**Last updated:** [November 8, 2020, 2:53pm UTC](https://discuss.elastic.co/t/aggregate-array-lengths-across-documents/254646 "2020-11-08T14:53:55Z")

</div>

I am trying to count Array Elements across all documents and sum them up, but I keep getting this error: "No field found for \[offers\] in mapping with types \[ \]" Mappings { "mappings": { "properties": { "of…

---

## [Tableau Connector for Elasticsearch connecting string details](https://discuss.elastic.co/t/tableau-connector-for-elasticsearch-connecting-string-details/251907)

<div class="topic-metadata">

**Author:** [@Prabhu.292](https://discuss.elastic.co/u/Prabhu.292)\
**Replies:** 10\
**Last updated:** [November 8, 2020, 12:34pm UTC](https://discuss.elastic.co/t/tableau-connector-for-elasticsearch-connecting-string-details/251907 "2020-11-08T12:34:33Z")

</div>

Hi Team, By using this link : https://extensiongallery.tableau.com/connectors/180?version=2019.4&per-page=50&loginRedirected Using this above link from the Tableau gallery I have installed the JDBC driver and it is suc…

---

## [Installed plugin](https://discuss.elastic.co/t/installed-plugin/254394)

<div class="topic-metadata">

**Author:** [@omerf](https://discuss.elastic.co/u/omerf)\
**Replies:** 3\
**Last updated:** [November 8, 2020, 10:21am UTC](https://discuss.elastic.co/t/installed-plugin/254394 "2020-11-08T10:21:31Z")

</div>

I created a plugin, using the yarn kbn and the script plugin generator, and zipped it in the right structure. I am now running a different kibana to test the installation, and it is successful- I cant see the plugin …

---

## [Configure two outputs in Logstash](https://discuss.elastic.co/t/configure-two-outputs-in-logstash/254658)

<div class="topic-metadata">

**Author:** [@Falikou1](https://discuss.elastic.co/u/Falikou1)\
**Replies:** 3\
**Last updated:** [November 8, 2020, 10:19am UTC](https://discuss.elastic.co/t/configure-two-outputs-in-logstash/254658 "2020-11-08T10:19:56Z")

</div>

Logstash is a log aggregator that collects data from various input sources, performs various transformations and enhancements, and then sends the data to various supported output destinations. Is it possible to configur…

---

## [Huge dictionary in logstash translate filter](https://discuss.elastic.co/t/huge-dictionary-in-logstash-translate-filter/253857)

<div class="topic-metadata">

**Author:** [@heric](https://discuss.elastic.co/u/heric)\
**Replies:** 11\
**Last updated:** [November 8, 2020, 8:41am UTC](https://discuss.elastic.co/t/huge-dictionary-in-logstash-translate-filter/253857 "2020-11-08T08:41:25Z")

</div>

I have huge dictionary file to be used in logstash translate filter , around 180k entries. I tried to reduce it to around 80k but still always getting error when starting the pipeline , as below : \[2020-10-30T22:11:47,1…

---

## [Starting kibana fails](https://discuss.elastic.co/t/starting-kibana-fails/254613)

<div class="topic-metadata">

**Author:** [@flamant](https://discuss.elastic.co/u/flamant)\
**Replies:** 1\
**Last updated:** [November 8, 2020, 8:12am UTC](https://discuss.elastic.co/t/starting-kibana-fails/254613 "2020-11-08T08:12:27Z")

</div>

Hello, I try to setup elasticsearch plus kibana. I use version 7.9.3 for both. I have no problem with elasticsearch, but get problems with kibana start. Before launching kibana, I run curl -XDELETE http://localhost:920…

---

## [Debugging geoip plugin - Ruby @logger statements appear but not Java logger](https://discuss.elastic.co/t/debugging-geoip-plugin-ruby-logger-statements-appear-but-not-java-logger/254644)

<div class="topic-metadata">

**Author:** [@hukel](https://discuss.elastic.co/u/hukel)\
**Replies:** 2\
**Last updated:** [November 8, 2020, 12:15am UTC](https://discuss.elastic.co/t/debugging-geoip-plugin-ruby-logger-statements-appear-but-not-java-logger/254644 "2020-11-08T00:15:56Z")

</div>

I know the geoip plugin has some limitations when handling private IP addresses so I am not trying to solve that problem. I am trying to get debug output from the plugin to explain where it is giving up when processi…

---

## [\[logstash-output-mongodb\] Drop collection before insert documents](https://discuss.elastic.co/t/logstash-output-mongodb-drop-collection-before-insert-documents/254631)

<div class="topic-metadata">

**Author:** [@brunorafaeI](https://discuss.elastic.co/u/brunorafaeI)\
**Replies:** 1\
**Last updated:** [November 7, 2020, 9:06pm UTC](https://discuss.elastic.co/t/logstash-output-mongodb-drop-collection-before-insert-documents/254631 "2020-11-07T21:06:41Z")

</div>

Hi there, First of all, I would like to introduce my sinceres apologies, my ingles is not very well. I would to know if there are any way to delete the existing collection before inserting the output lines to mongodb? e…

---

## [How to bootstrap security for an existing cluster](https://discuss.elastic.co/t/how-to-bootstrap-security-for-an-existing-cluster/254633)

<div class="topic-metadata">

**Author:** [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)\
**Replies:** 2\
**Last updated:** [November 7, 2020, 8:41pm UTC](https://discuss.elastic.co/t/how-to-bootstrap-security-for-an-existing-cluster/254633 "2020-11-07T20:41:43Z")

</div>

Cluster of 4 nodes currently running 6.8.12 soon to be upgraded to latest 7.x This cluster started life several years ago before xpack was available for free so it was set up using host based firewalls for security. Re…

---

## [Exists query calls DocValuesFieldExistsQuery for all subfields of an object under the field](https://discuss.elastic.co/t/exists-query-calls-docvaluesfieldexistsquery-for-all-subfields-of-an-object-under-the-field/254627)

<div class="topic-metadata">

**Author:** [@bek](https://discuss.elastic.co/u/bek)\
**Replies:** 0\
**Last updated:** [November 7, 2020, 4:11pm UTC](https://discuss.elastic.co/t/exists-query-calls-docvaluesfieldexistsquery-for-all-subfields-of-an-object-under-the-field/254627 "2020-11-07T16:11:17Z")

</div>

While upgrading elasticsearch from 5.6 to 7.9, we noticed that the DocValuesFieldExistsQuery is getting called for all child fields of a field, causing wait times up to a minute. Is there a way to prevent triggering DocV…

---

## [\[Errno 111\] Connection refused)](https://discuss.elastic.co/t/errno-111-connection-refused/253813)

<div class="topic-metadata">

**Author:** [@subham\_p](https://discuss.elastic.co/u/subham_p)\
**Replies:** 5\
**Last updated:** [November 7, 2020, 7:27pm UTC](https://discuss.elastic.co/t/errno-111-connection-refused/253813 "2020-11-07T19:27:26Z")

</div>

During handling of the above exception, another exception occurred: Traceback (most recent call last): File "for\_bulk\_insert.py", line 61, in es.indices.delete(index=index\_name, ignore=\[400, 404\]) File "/home/subham…

---

## [How to change the contributor text on maps](https://discuss.elastic.co/t/how-to-change-the-contributor-text-on-maps/254478)

<div class="topic-metadata">

**Author:** [@witcher](https://discuss.elastic.co/u/witcher)\
**Replies:** 5\
**Last updated:** [November 7, 2020, 7:26pm UTC](https://discuss.elastic.co/t/how-to-change-the-contributor-text-on-maps/254478 "2020-11-07T19:26:53Z")

</div>

---

## [Combine logstash and metricbeat graph together](https://discuss.elastic.co/t/combine-logstash-and-metricbeat-graph-together/254625)

<div class="topic-metadata">

**Author:** [@tarunmendon](https://discuss.elastic.co/u/tarunmendon)\
**Replies:** 1\
**Last updated:** [November 7, 2020, 7:11pm UTC](https://discuss.elastic.co/t/combine-logstash-and-metricbeat-graph-together/254625 "2020-11-07T19:11:26Z")

</div>

I have setup logstash pipeline and metricbeat. I can see a graph for both of these but they are in different dashboard. Is it possible to collate this both and show this in one single dashboard? PFA logstash and metricb…

---

## [Vega - rename layer/legend value names](https://discuss.elastic.co/t/vega-rename-layer-legend-value-names/254350)

<div class="topic-metadata">

**Author:** [@rbergen](https://discuss.elastic.co/u/rbergen)\
**Replies:** 5\
**Last updated:** [November 7, 2020, 5:55pm UTC](https://discuss.elastic.co/t/vega-rename-layer-legend-value-names/254350 "2020-11-07T17:55:40Z")

</div>

Hello, I'm trying to figure out how to rename my layer names from "\_source.checks\_total.policies\_checks\_result.passing" to just "Passing" and "\_source.checks\_total.policies\_checks\_result.failing" to just "Failing". I've…

---

## [Help me](https://discuss.elastic.co/t/help-me/254626)

<div class="topic-metadata">

**Author:** [@YONGZHI](https://discuss.elastic.co/u/YONGZHI)\
**Replies:** 1\
**Last updated:** [November 7, 2020, 4:25pm UTC](https://discuss.elastic.co/t/help-me/254626 "2020-11-07T16:25:40Z")

</div>

I dont know why... could someone can help me, please.

---

## [Searching multifield with nested object not working in the nested object](https://discuss.elastic.co/t/searching-multifield-with-nested-object-not-working-in-the-nested-object/254623)

<div class="topic-metadata">

**Author:** [@Diogo\_Filipe](https://discuss.elastic.co/u/Diogo_Filipe)\
**Replies:** 0\
**Last updated:** [November 7, 2020, 3:54pm UTC](https://discuss.elastic.co/t/searching-multifield-with-nested-object-not-working-in-the-nested-object/254623 "2020-11-07T15:54:35Z")

</div>

Hi, I'm using Elastic 7.9.2 with ECK 1.2.1. Using Java and Spring too. I'm trying to query a nested object directly to the id variable(inside the 2nd object) but it always returns zero results. An example of my mappin…

---

## [Can we create kibana deployment replicas more than 1 in kubernetes?](https://discuss.elastic.co/t/can-we-create-kibana-deployment-replicas-more-than-1-in-kubernetes/254564)

<div class="topic-metadata">

**Author:** [@devopsmd](https://discuss.elastic.co/u/devopsmd)\
**Replies:** 3\
**Last updated:** [November 7, 2020, 2:43pm UTC](https://discuss.elastic.co/t/can-we-create-kibana-deployment-replicas-more-than-1-in-kubernetes/254564 "2020-11-07T14:43:20Z")

</div>

apiVersion: apps/v1 kind: Deployment metadata: name: kibana-logging #namespace: kube-system labels: k8s-app: kibana-logging spec: replicas: 3 selector: matchLabels: k8s-app: kibana-logging templ…

---

## [Kibana SaveObject API](https://discuss.elastic.co/t/kibana-saveobject-api/252557)

<div class="topic-metadata">

**Author:** [@mhr](https://discuss.elastic.co/u/mhr)\
**Replies:** 2\
**Last updated:** [November 7, 2020, 2:16pm UTC](https://discuss.elastic.co/t/kibana-saveobject-api/252557 "2020-11-07T14:16:20Z")

</div>

HI Support, How to Import selective save object using Curl Command. I do not want to import IndexPattern using curl API from ndjson file.

---

## [Cannot Parse Json response, looking for begining of values](https://discuss.elastic.co/t/cannot-parse-json-response-looking-for-begining-of-values/252632)

<div class="topic-metadata">

**Author:** [@Arsalan\_Shahid](https://discuss.elastic.co/u/Arsalan_Shahid)\
**Replies:** 6\
**Last updated:** [November 7, 2020, 6:05am UTC](https://discuss.elastic.co/t/cannot-parse-json-response-looking-for-begining-of-values/252632 "2020-11-07T06:05:51Z")

</div>

i am having a problem. i followed all instructions from elastic.co to install ELK Stack but when i run filebeat setup -e is show error: Exiting: couldn't connect to any of the configured Elasticsearch hosts. Errors: \[er…

---

## [Shard sizing as per the RAM available for an instance](https://discuss.elastic.co/t/shard-sizing-as-per-the-ram-available-for-an-instance/254594)

<div class="topic-metadata">

**Author:** [@SaitejaParsi](https://discuss.elastic.co/u/SaitejaParsi)\
**Replies:** 1\
**Last updated:** [November 7, 2020, 2:57am UTC](https://discuss.elastic.co/t/shard-sizing-as-per-the-ram-available-for-an-instance/254594 "2020-11-07T02:57:40Z")

</div>

How do the shard size related to the RAM capacity of the es instance? From the articles I read, 20 - 25 shards per GB is ideal and each shard can be from few GB to 10s of GB but should be less than 50GB. Also, the recomm…

---

## [Kibana aggregations help](https://discuss.elastic.co/t/kibana-aggregations-help/254582)

<div class="topic-metadata">

**Author:** [@smruthip](https://discuss.elastic.co/u/smruthip)\
**Replies:** 2\
**Last updated:** [November 7, 2020, 12:41am UTC](https://discuss.elastic.co/t/kibana-aggregations-help/254582 "2020-11-07T00:41:00Z")

</div>

Hi all, I am trying to get the latest document based on a field example ''' container\_id state time 1 A 2pm 1 B 1pm 1 C 6pm 2 …

---

## [Ingesting files from host with filebeat](https://discuss.elastic.co/t/ingesting-files-from-host-with-filebeat/254448)

<div class="topic-metadata">

**Author:** [@droidus](https://discuss.elastic.co/u/droidus)\
**Replies:** 2\
**Last updated:** [November 6, 2020, 9:58pm UTC](https://discuss.elastic.co/t/ingesting-files-from-host-with-filebeat/254448 "2020-11-06T21:58:39Z")

</div>

I am following this tutorial here: https://kifarunix.com/install-and-configure-elastic-auditbeat-on-ubuntu-18-04/. Upon running this command: curl -XGET 192.168.0.106:9200/\_cat/indices?v I do not see auditbeat listed.…

---

## [Logstash not adding new field tag](https://discuss.elastic.co/t/logstash-not-adding-new-field-tag/254579)

<div class="topic-metadata">

**Author:** [@inuygoku](https://discuss.elastic.co/u/inuygoku)\
**Replies:** 2\
**Last updated:** [November 6, 2020, 9:04pm UTC](https://discuss.elastic.co/t/logstash-not-adding-new-field-tag/254579 "2020-11-06T21:04:13Z")

</div>

I am trying to create a filter that will for event in my logs and add it to a field called "detected\_event". The filter I created is the following: filter { if "Scan completed" in \[logline\] { mutate { …

---

## [GetTransformResponse unable to parse "source" field](https://discuss.elastic.co/t/gettransformresponse-unable-to-parse-source-field/254305)

<div class="topic-metadata">

**Author:** [@Craig\_Uss](https://discuss.elastic.co/u/Craig_Uss)\
**Replies:** 11\
**Last updated:** [November 6, 2020, 7:24pm UTC](https://discuss.elastic.co/t/gettransformresponse-unable-to-parse-source-field/254305 "2020-11-06T19:24:45Z")

</div>

ELK 7.8.1 Using Springboot 2.2.5 I am able to create a transform using the Kibana Stack Management and using the PUT \_transform curl command. However when trying to retrieve the same transform using the High Level REST…

---

## [Recreate new field from old field](https://discuss.elastic.co/t/recreate-new-field-from-old-field/254567)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 1\
**Last updated:** [November 6, 2020, 7:20pm UTC](https://discuss.elastic.co/t/recreate-new-field-from-old-field/254567 "2020-11-06T19:20:24Z")

</div>

I have used add\_filed, remove\_field, rename etc.. many time over on logstash now I have something different that I can't quite figure out. runnign nvidiabeat and it gives me following { "clocks":{"mem":405,"sm…

---

## [Issue with Canvas dropdown filter](https://discuss.elastic.co/t/issue-with-canvas-dropdown-filter/254442)

<div class="topic-metadata">

**Author:** [@sachin1112](https://discuss.elastic.co/u/sachin1112)\
**Replies:** 2\
**Last updated:** [November 6, 2020, 6:36pm UTC](https://discuss.elastic.co/t/issue-with-canvas-dropdown-filter/254442 "2020-11-06T18:36:05Z")

</div>

Hello, I am trying to add a visualization with dropdown filters to my canvas workpad. The Workpad already is having other visualizations, now the values of the visualizations are not changing based on the dropdown select…

[Previous page](https://discuss.elastic.co/c/elastic-stack/81.md?page=1709)

[Next page](https://discuss.elastic.co/c/elastic-stack/81.md?page=1711)
