# Elastic Stack

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

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

**Page:** 986

---

## [I am trying to uninstall elastic search MSI but can't find the elasticsearch-service.bat file](https://discuss.elastic.co/t/i-am-trying-to-uninstall-elastic-search-msi-but-cant-find-the-elasticsearch-service-bat-file/301447)

<div class="topic-metadata">

**Author:** [@Pierre\_Abi\_Chedid](https://discuss.elastic.co/u/Pierre_Abi_Chedid)\
**Replies:** 4\
**Last updated:** [April 5, 2022, 3:45pm UTC](https://discuss.elastic.co/t/i-am-trying-to-uninstall-elastic-search-msi-but-cant-find-the-elasticsearch-service-bat-file/301447 "2022-04-05T15:45:31Z")

</div>

Hello, I have been trying to install Elasticsearch using the msi version: https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.10.0.msi But I have been encountering problems with setting up the passwor…

---

## [Elasticsearch 8.1.1 error](https://discuss.elastic.co/t/elasticsearch-8-1-1-error/301126)

<div class="topic-metadata">

**Author:** [@andrewm659](https://discuss.elastic.co/u/andrewm659)\
**Replies:** 9\
**Last updated:** [April 5, 2022, 2:41pm UTC](https://discuss.elastic.co/t/elasticsearch-8-1-1-error/301126 "2022-04-05T14:41:29Z")

</div>

I am trying to upgrade from 7.17.1 to 8.1.1 and getting the following error on RHEL 7.x latest with Java 17 from RHEL: \[2022-03-30T11:51:49,898\]\[INFO \]\[o.e.n.Node \] \[elasticsearch01.internaldomain.com\] ver…

---

## [Logstash pipeline to pipeline - send\_to field variable](https://discuss.elastic.co/t/logstash-pipeline-to-pipeline-send-to-field-variable/301625)

<div class="topic-metadata">

**Author:** [@ahmed\_charafouddine](https://discuss.elastic.co/u/ahmed_charafouddine)\
**Replies:** 2\
**Last updated:** [April 5, 2022, 2:10pm UTC](https://discuss.elastic.co/t/logstash-pipeline-to-pipeline-send-to-field-variable/301625 "2022-04-05T14:10:30Z")

</div>

Hello, I am working on the use of pipeline-to-pipeline. I wanted to value a variable and then use it in send\_to of the pipeline plugin. idea to avoid the use of several if..else conditions which surely have an impact o…

---

## [Connection timeout when resthighlevel client is called from spark mapPartitions method](https://discuss.elastic.co/t/connection-timeout-when-resthighlevel-client-is-called-from-spark-mappartitions-method/301492)

<div class="topic-metadata">

**Author:** [@vinayak\_j](https://discuss.elastic.co/u/vinayak_j)\
**Replies:** 3\
**Last updated:** [April 5, 2022, 1:56pm UTC](https://discuss.elastic.co/t/connection-timeout-when-resthighlevel-client-is-called-from-spark-mappartitions-method/301492 "2022-04-05T13:56:07Z")

</div>

Hi Team, We are getting "Connection timed out " while connecting to elastic cluster \[setup on GCP\] through resthighlevel client from spark mapPartitions() \[using dataproc\]. We are using Elasticsearch for lookup; basica…

---

## [Continuous display of time difference](https://discuss.elastic.co/t/continuous-display-of-time-difference/301645)

<div class="topic-metadata">

**Author:** [@santy1](https://discuss.elastic.co/u/santy1)\
**Replies:** 0\
**Last updated:** [April 5, 2022, 1:48pm UTC](https://discuss.elastic.co/t/continuous-display-of-time-difference/301645 "2022-04-05T13:48:02Z")

</div>

Hello Team, I have 2 events , START and END, and using elapsed filter I am able to calculate the time difference and display it in Kibana using Metric chart. However, the END event occurs after 3 to 4 hours, and for th…

---

## [Harvester could not be started on existing file due to registry already stopped](https://discuss.elastic.co/t/harvester-could-not-be-started-on-existing-file-due-to-registry-already-stopped/301644)

<div class="topic-metadata">

**Author:** [@mhadidg](https://discuss.elastic.co/u/mhadidg)\
**Replies:** 0\
**Last updated:** [April 5, 2022, 1:47pm UTC](https://discuss.elastic.co/t/harvester-could-not-be-started-on-existing-file-due-to-registry-already-stopped/301644 "2022-04-05T13:47:51Z")

</div>

After deploying Elasticsearch, Kibana with FileBeat version 8.1.2 in a Kubernetes Cluster, I've noticed the following error message coming over and over: Harvester could not be started on existing file: /var/log/contain…

---

## [Parse json with filebeat and send to logstash](https://discuss.elastic.co/t/parse-json-with-filebeat-and-send-to-logstash/301643)

<div class="topic-metadata">

**Author:** [@aviad.co1](https://discuss.elastic.co/u/aviad.co1)\
**Replies:** 0\
**Last updated:** [April 5, 2022, 1:35pm UTC](https://discuss.elastic.co/t/parse-json-with-filebeat-and-send-to-logstash/301643 "2022-04-05T13:35:56Z")

</div>

Hi, I have the following json : \[{"nqdf": 24, "qqqf": 34}\] and I try to send him to logstash. this is my filebeat.yml : type: log enabled: true paths: C:\\beats\\jsonfiles\*.json json.keys\_under\_root: true json.me…

---

## [Integración en pagina web](https://discuss.elastic.co/t/integracion-en-pagina-web/301518)

<div class="topic-metadata">

**Author:** [@Jaime\_Alvarez\_Medina](https://discuss.elastic.co/u/Jaime_Alvarez_Medina)\
**Replies:** 1\
**Last updated:** [April 5, 2022, 1:08pm UTC](https://discuss.elastic.co/t/integracion-en-pagina-web/301518 "2022-04-05T13:08:39Z")

</div>

Hola, necesito integrar una pagina web con Kibana en mi pagina web, pero no se como hacerlo con javascript o php, ¿alguien lo sabe?, todo lo que he encontrado es la transferencia de datos

---

## [Filebeat not reading logs 🤨](https://discuss.elastic.co/t/filebeat-not-reading-logs/301242)

<div class="topic-metadata">

**Author:** [@Tellz](https://discuss.elastic.co/u/Tellz)\
**Replies:** 1\
**Last updated:** [April 5, 2022, 12:47pm UTC](https://discuss.elastic.co/t/filebeat-not-reading-logs/301242 "2022-04-05T12:47:29Z")

</div>

Hi, I have a Kubernetes cluster, where in pods I should read logs of one application (Airflow) located in such structure: /usr/local/airflow/logs/{jobname}/{jobname}/{timestamp}/1.log (example: /usr/local/airflow/logs/so…

---

## [Query syntax?](https://discuss.elastic.co/t/query-syntax/301628)

<div class="topic-metadata">

**Author:** [@jze1](https://discuss.elastic.co/u/jze1)\
**Replies:** 1\
**Last updated:** [April 5, 2022, 12:40pm UTC](https://discuss.elastic.co/t/query-syntax/301628 "2022-04-05T12:40:01Z")

</div>

Hello, I need to extract certain records from logs and make some grouping based on some fields. It requires that a substring based on regexp is extracted from one of the fields to allow grouping. After some googling I …

---

## [Does metricbeat Redis output support Redis Stream?](https://discuss.elastic.co/t/does-metricbeat-redis-output-support-redis-stream/301634)

<div class="topic-metadata">

**Author:** [@AMBUJ\_DUBEY](https://discuss.elastic.co/u/AMBUJ_DUBEY)\
**Replies:** 1\
**Last updated:** [April 5, 2022, 12:39pm UTC](https://discuss.elastic.co/t/does-metricbeat-redis-output-support-redis-stream/301634 "2022-04-05T12:39:31Z")

</div>

The above link says that we can use Redis as an output for metricbeat. But it seems the Redis stream is not supported. Configure the Redis output | Metricbeat Reference \[8.1\] | Elastic Please confirm if we can use Re…

---

## [Painless Script not giving desired output](https://discuss.elastic.co/t/painless-script-not-giving-desired-output/301615)

<div class="topic-metadata">

**Author:** [@PRASHANT\_MEHTA](https://discuss.elastic.co/u/PRASHANT_MEHTA)\
**Replies:** 11\
**Last updated:** [April 5, 2022, 12:24pm UTC](https://discuss.elastic.co/t/painless-script-not-giving-desired-output/301615 "2022-04-05T12:24:31Z")

</div>

Hello, I want to create an additional field in index having combined values of mount point and hostname. ex: /dev/run vxw001m001, / vas002m002 .... when tried to create scripted field in index patter in kibana,gett…

---

## [MultiSearch Indexes different mapping](https://discuss.elastic.co/t/multisearch-indexes-different-mapping/301559)

<div class="topic-metadata">

**Author:** [@RabBit\_BR](https://discuss.elastic.co/u/RabBit_BR)\
**Replies:** 2\
**Last updated:** [April 5, 2022, 11:57am UTC](https://discuss.elastic.co/t/multisearch-indexes-different-mapping/301559 "2022-04-05T11:57:07Z")

</div>

Has anyone ever used a search strategy on more than one index? In my case I have different indexes, like a product index and a community index, both with different mappings. In tests using the same alias for both, sort…

---

## [How can I reduce the number of master candidate nodes from 3 to 1?](https://discuss.elastic.co/t/how-can-i-reduce-the-number-of-master-candidate-nodes-from-3-to-1/301612)

<div class="topic-metadata">

**Author:** [@hyungsun\_lim](https://discuss.elastic.co/u/hyungsun_lim)\
**Replies:** 1\
**Last updated:** [April 5, 2022, 11:31am UTC](https://discuss.elastic.co/t/how-can-i-reduce-the-number-of-master-candidate-nodes-from-3-to-1/301612 "2022-04-05T11:31:22Z")

</div>

There are a total of 4 nodes, of which 3 are master candidate nodes. I would like to specify one master candidate node for testing, but the operation does not proceed with the error below. "\[2019-06-19T20:16:12,366\]\[WA…

---

## [Thinking out loud, I have a large disk enclosure and want to use it for Elastic](https://discuss.elastic.co/t/thinking-out-loud-i-have-a-large-disk-enclosure-and-want-to-use-it-for-elastic/300681)

<div class="topic-metadata">

**Author:** [@UPPERCASE](https://discuss.elastic.co/u/UPPERCASE)\
**Replies:** 1\
**Last updated:** [April 5, 2022, 11:26am UTC](https://discuss.elastic.co/t/thinking-out-loud-i-have-a-large-disk-enclosure-and-want-to-use-it-for-elastic/300681 "2022-04-05T11:26:24Z")

</div>

I've got a 84x 16Tb in a disk enclosure that can be attached with SAS, all details can be read here. This is not a disk array, so it doesn't have its own cache, hardware RAID controller or ways to export the data via e.g…

---

## [Http.max\_content\_length update on cluster](https://discuss.elastic.co/t/http-max-content-length-update-on-cluster/301476)

<div class="topic-metadata">

**Author:** [@gerasimysys](https://discuss.elastic.co/u/gerasimysys)\
**Replies:** 4\
**Last updated:** [April 5, 2022, 11:19am UTC](https://discuss.elastic.co/t/http-max-content-length-update-on-cluster/301476 "2022-04-05T11:19:24Z")

</div>

Hello. On the logstash, have error \[ERROR\]\[logstash.outputs.elasticsearch\]\[main\]\[4662344eb1eeab4baf336e2996a14ddadf8c61b8943c6e31c68cb582d77f72de\] Encountered a retryable error (will retry with exponential ba ckoff) {:…

---

## [Disable security or change password on elastic and kibana](https://discuss.elastic.co/t/disable-security-or-change-password-on-elastic-and-kibana/301536)

<div class="topic-metadata">

**Author:** [@The-morpho](https://discuss.elastic.co/u/The-morpho)\
**Replies:** 4\
**Last updated:** [April 5, 2022, 11:17am UTC](https://discuss.elastic.co/t/disable-security-or-change-password-on-elastic-and-kibana/301536 "2022-04-05T11:17:53Z")

</div>

Hello i'am new with elastic stack. I followed this documentation bellow in order to enable security, i set a password with only number. I found the problem when i wanted to login in kibana . image|690x33 This is th…

---

## [Persistent queue back pressure](https://discuss.elastic.co/t/persistent-queue-back-pressure/301570)

<div class="topic-metadata">

**Author:** [@Ahmad\_Manzoor](https://discuss.elastic.co/u/Ahmad_Manzoor)\
**Replies:** 0\
**Last updated:** [April 5, 2022, 12:26am UTC](https://discuss.elastic.co/t/persistent-queue-back-pressure/301570 "2022-04-05T00:26:50Z")

</div>

I am using logstash with jdbc input plugin and elastic app search output plugin. I have around 9,600,000 records. Out of which around 8,700,000 records are successfully uploaded to app search but remaining are pending si…

---

## [Update a variable in a scripted field definition](https://discuss.elastic.co/t/update-a-variable-in-a-scripted-field-definition/301350)

<div class="topic-metadata">

**Author:** [@uncleAlbert](https://discuss.elastic.co/u/uncleAlbert)\
**Replies:** 5\
**Last updated:** [April 5, 2022, 10:57am UTC](https://discuss.elastic.co/t/update-a-variable-in-a-scripted-field-definition/301350 "2022-04-05T10:57:10Z")

</div>

Is there a way to update a variable within a scripted field in Kibana? Say I had the following scripted field. MAP car \["bob":"toyota"\]; if (car.containsKey(doc\["owner"\].value)){ return car.get(doc\["owner"\].value); …

---

## [Elasticsearch-service.bat start (from GUI) fails](https://discuss.elastic.co/t/elasticsearch-service-bat-start-from-gui-fails/301521)

<div class="topic-metadata">

**Author:** [@Foggie](https://discuss.elastic.co/u/Foggie)\
**Replies:** 3\
**Last updated:** [April 5, 2022, 10:49am UTC](https://discuss.elastic.co/t/elasticsearch-service-bat-start-from-gui-fails/301521 "2022-04-05T10:49:06Z")

</div>

Trying to use Elasticsearch 7.17.1 as a service on a Windows Server 2016. I run Elasticsearch-service manager and press Start from the GUI. After a short while it stops. here is the debug log: \< \[2022-04-04 14:17:33\]…

---

## [Elasticsearch search document with nested document with optional fields](https://discuss.elastic.co/t/elasticsearch-search-document-with-nested-document-with-optional-fields/301604)

<div class="topic-metadata">

**Author:** [@kemot90](https://discuss.elastic.co/u/kemot90)\
**Replies:** 2\
**Last updated:** [April 5, 2022, 10:21am UTC](https://discuss.elastic.co/t/elasticsearch-search-document-with-nested-document-with-optional-fields/301604 "2022-04-05T10:21:03Z")

</div>

I try to create query for nested object that contains year and month. Both of them are optional. If some field not exists we treat them as hit. I found one solution but it causes combinatorial explosion of terms so I'm t…

---

## [Heartbeats / Uptime not visible after upgrade to 8.1](https://discuss.elastic.co/t/heartbeats-uptime-not-visible-after-upgrade-to-8-1/301413)

<div class="topic-metadata">

**Author:** [@gunlomboy](https://discuss.elastic.co/u/gunlomboy)\
**Replies:** 3\
**Last updated:** [April 5, 2022, 10:17am UTC](https://discuss.elastic.co/t/heartbeats-uptime-not-visible-after-upgrade-to-8-1/301413 "2022-04-05T10:17:11Z")

</div>

Hi, Heartbeats and the Uptime tool in Kibana were working fine under version 7.x. MY heartbeat agent sits on a remote server, runs it's heartbeat checks and send the results to my Elastic Cloud deployment. After upgra…

---

## [Functionbeat ingest error handling](https://discuss.elastic.co/t/functionbeat-ingest-error-handling/301617)

<div class="topic-metadata">

**Author:** [@lyson](https://discuss.elastic.co/u/lyson)\
**Replies:** 0\
**Last updated:** [April 5, 2022, 9:57am UTC](https://discuss.elastic.co/t/functionbeat-ingest-error-handling/301617 "2022-04-05T09:57:21Z")

</div>

We are using functionbeat to forward CloudWatch logs and some custom events via SQS and we are trying to find the best way to make sure events are not lost. We identified different types of errors that can be handled di…

---

## [Batch size in Logstash](https://discuss.elastic.co/t/batch-size-in-logstash/301487)

<div class="topic-metadata">

**Author:** [@MuthulakshmiS](https://discuss.elastic.co/u/MuthulakshmiS)\
**Replies:** 3\
**Last updated:** [April 5, 2022, 9:57am UTC](https://discuss.elastic.co/t/batch-size-in-logstash/301487 "2022-04-05T09:57:04Z")

</div>

Hi Team, There is a confusion regarding the usage of pipeline.batch.size parameter in Logstash. Can anyone please clarify? From the documentations, got to understand that pipeline.batch.size is used to control the num…

---

## [Extract number from a text in kibana](https://discuss.elastic.co/t/extract-number-from-a-text-in-kibana/301605)

<div class="topic-metadata">

**Author:** [@Roberto\_Mejri](https://discuss.elastic.co/u/Roberto_Mejri)\
**Replies:** 5\
**Last updated:** [April 5, 2022, 9:47am UTC](https://discuss.elastic.co/t/extract-number-from-a-text-in-kibana/301605 "2022-04-05T09:47:57Z")

</div>

Hi, I need to extract a number from these text and then get the result if the value is greater than 1 or lesser than 1, can somebody knows how to do that? I show in the picture whitch filters I use to get the message, I…

---

## [Restore snapshot to new server](https://discuss.elastic.co/t/restore-snapshot-to-new-server/301598)

<div class="topic-metadata">

**Author:** [@Rizky\_Hudha](https://discuss.elastic.co/u/Rizky_Hudha)\
**Replies:** 3\
**Last updated:** [April 5, 2022, 9:25am UTC](https://discuss.elastic.co/t/restore-snapshot-to-new-server/301598 "2022-04-05T09:25:51Z")

</div>

hello i want to ask, is it possible to restore snapshot from old server to new server

---

## [Retrieving settings of custom analysis filter with new elastic Java client](https://discuss.elastic.co/t/retrieving-settings-of-custom-analysis-filter-with-new-elastic-java-client/301502)

<div class="topic-metadata">

**Author:** [@acarrio](https://discuss.elastic.co/u/acarrio)\
**Replies:** 2\
**Last updated:** [April 5, 2022, 9:24am UTC](https://discuss.elastic.co/t/retrieving-settings-of-custom-analysis-filter-with-new-elastic-java-client/301502 "2022-04-05T09:24:35Z")

</div>

Hello, I have a custom analysis filter deployed on elastic and when I want to retrieve with the new Java client the setting of an index using this filter. I currently get : co.elastic.clients.util.MissingRequiredPrope…

---

## [Replicating legacy indexes via ccr](https://discuss.elastic.co/t/replicating-legacy-indexes-via-ccr/301608)

<div class="topic-metadata">

**Author:** [@rob18](https://discuss.elastic.co/u/rob18)\
**Replies:** 0\
**Last updated:** [April 5, 2022, 9:14am UTC](https://discuss.elastic.co/t/replicating-legacy-indexes-via-ccr/301608 "2022-04-05T09:14:25Z")

</div>

Hi I have couple of questions regarding CCR. We have setup ccr between 2 ES clusters, version 7.17.0 How do we migrate the existing set of indexes from the leader cluster to follower (considering follower cluster ha…

---

## [Kibana Table - Number of Hosts per Average CPU Load - Columns per CPU Load Range (0-50 / 50-80 / 80+ )](https://discuss.elastic.co/t/kibana-table-number-of-hosts-per-average-cpu-load-columns-per-cpu-load-range-0-50-50-80-80/301189)

<div class="topic-metadata">

**Author:** [@mazoutte](https://discuss.elastic.co/u/mazoutte)\
**Replies:** 5\
**Last updated:** [April 5, 2022, 8:53am UTC](https://discuss.elastic.co/t/kibana-table-number-of-hosts-per-average-cpu-load-columns-per-cpu-load-range-0-50-50-80-80/301189 "2022-04-05T08:53:27Z")

</div>

Hello everybody, ELK Stack : 7.17.1 I have metricbeat agents installed on a bunched of Windows Domain Controllers, which are spread accross multiple AD Domains/forest. (50+) I have a field with the FDQN AD domain popu…

---

## [Kibana user password policy with strong characters without AD](https://discuss.elastic.co/t/kibana-user-password-policy-with-strong-characters-without-ad/301585)

<div class="topic-metadata">

**Author:** [@sem1811](https://discuss.elastic.co/u/sem1811)\
**Replies:** 3\
**Last updated:** [April 5, 2022, 8:33am UTC](https://discuss.elastic.co/t/kibana-user-password-policy-with-strong-characters-without-ad/301585 "2022-04-05T08:33:01Z")

</div>

Kibana user password policy with strong characters without AD

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

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