# Elastic Stack

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

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

**Page:** 635

---

## [Canvas failed to load after upgrading kibana v7.17.1 to v8.5.2](https://discuss.elastic.co/t/canvas-failed-to-load-after-upgrading-kibana-v7-17-1-to-v8-5-2/325443)

<div class="topic-metadata">

**Author:** [@Aida](https://discuss.elastic.co/u/Aida)\
**Replies:** 0\
**Last updated:** [February 14, 2023, 7:16am UTC](https://discuss.elastic.co/t/canvas-failed-to-load-after-upgrading-kibana-v7-17-1-to-v8-5-2/325443 "2023-02-14T07:16:28Z")

</div>

Hi, i have issue where canvas failed to load after upgrading from v7.17.1 to v8.5.2. It's taking really long time to load (more than 10mins). There are few times the canvas loaded after reaching timeout, & i see this err…

---

## [Getting a 403 when trying to download a GPG key / install filebeat](https://discuss.elastic.co/t/getting-a-403-when-trying-to-download-a-gpg-key-install-filebeat/325447)

<div class="topic-metadata">

**Author:** [@BlueIceAce](https://discuss.elastic.co/u/BlueIceAce)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 8:56am UTC](https://discuss.elastic.co/t/getting-a-403-when-trying-to-download-a-gpg-key-install-filebeat/325447 "2023-02-14T08:56:00Z")

</div>

Hey, guys! I get a 403 error when I try to download the GPG key, as well as when installing filebeat through apt repository. Adding a GPG key via Ansible: "msg": "Failed to download key at https://artifacts.elastic.co…

---

## [How to index a book](https://discuss.elastic.co/t/how-to-index-a-book/325448)

<div class="topic-metadata">

**Author:** [@Piyush\_Purohit](https://discuss.elastic.co/u/Piyush_Purohit)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 8:54am UTC](https://discuss.elastic.co/t/how-to-index-a-book/325448 "2023-02-14T08:54:56Z")

</div>

I want to index a book, in that I want to store book\_name,page\_number and page\_content following is sample - { "book\_name": "first", "pages" : \[ { "page\_number" : 1, "page\_content" : "test data for check." }, { …

---

## [Elasticsearch and Power bi connection through ODBC driver](https://discuss.elastic.co/t/elasticsearch-and-power-bi-connection-through-odbc-driver/325405)

<div class="topic-metadata">

**Author:** [@Vitaliy.N](https://discuss.elastic.co/u/Vitaliy.N)\
**Replies:** 6\
**Last updated:** [February 14, 2023, 8:31am UTC](https://discuss.elastic.co/t/elasticsearch-and-power-bi-connection-through-odbc-driver/325405 "2023-02-14T08:31:58Z")

</div>

Hello Everyone, I am trying to connect Elasticsearch (running in docker container) with desktop power bi and having some issues. When testing connection using ODBC driver I am getting this error "libcurl: failed to per…

---

## [How to start the ELK watcher (POST \_watcher/\_start) in shell script through curl command](https://discuss.elastic.co/t/how-to-start-the-elk-watcher-post-watcher-start-in-shell-script-through-curl-command/325379)

<div class="topic-metadata">

**Author:** [@basavarajvn0513](https://discuss.elastic.co/u/basavarajvn0513)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 7:36am UTC](https://discuss.elastic.co/t/how-to-start-the-elk-watcher-post-watcher-start-in-shell-script-through-curl-command/325379 "2023-02-14T07:36:31Z")

</div>

I have shell script to get the status of the elk watcher curl -k -s -X GET -H "Authorization: AAAAAA https://elastic If the status is not started I am sending the alerts . Now I also I want to start the elk watcher.…

---

## [Elasticsearch instance hangs for a while](https://discuss.elastic.co/t/elasticsearch-instance-hangs-for-a-while/325442)

<div class="topic-metadata">

**Author:** [@taghizadeh](https://discuss.elastic.co/u/taghizadeh)\
**Replies:** 0\
**Last updated:** [February 14, 2023, 6:58am UTC](https://discuss.elastic.co/t/elasticsearch-instance-hangs-for-a-while/325442 "2023-02-14T06:58:13Z")

</div>

I have an instance of elasticsearch (v8.6.1) with single node configuration. The hardware spec is: RAM: 32GB Storage: 1TB NVME-M2 CPU: 20 core Currently less than 30% of storage is used and swap is off. The problem…

---

## [Improve filtering with control fields](https://discuss.elastic.co/t/improve-filtering-with-control-fields/325397)

<div class="topic-metadata">

**Author:** [@moep](https://discuss.elastic.co/u/moep)\
**Replies:** 0\
**Last updated:** [February 13, 2023, 2:40pm UTC](https://discuss.elastic.co/t/improve-filtering-with-control-fields/325397 "2023-02-13T14:40:27Z")

</div>

Hello Community, I'm working of a kind of project to visulaze the mail flow. (see also here: Issue in Controls - #19 by moep ). The main problem is, that my content is not in the same line for example a mail flow looks …

---

## [Installation Guide](https://discuss.elastic.co/t/installation-guide/325434)

<div class="topic-metadata">

**Author:** [@ELK\_USR1](https://discuss.elastic.co/u/ELK_USR1)\
**Replies:** 3\
**Last updated:** [February 14, 2023, 6:47am UTC](https://discuss.elastic.co/t/installation-guide/325434 "2023-02-14T06:47:48Z")

</div>

Hi, Can Somebody gives me the steps to install the ELK stack on Linux node through package installation.

---

## [Request contains unrecognized parameters for Search API](https://discuss.elastic.co/t/request-contains-unrecognized-parameters-for-search-api/325139)

<div class="topic-metadata">

**Author:** [@Abhilash\_Kumar](https://discuss.elastic.co/u/Abhilash_Kumar)\
**Replies:** 8\
**Last updated:** [February 14, 2023, 6:08am UTC](https://discuss.elastic.co/t/request-contains-unrecognized-parameters-for-search-api/325139 "2023-02-14T06:08:17Z")

</div>

Hi folks, In our project, when we are trying to query ES Search API we are getting the below error { "error": { "root\_cause": \[ { "type": "illegal\_argument\_exception", …

---

## [Resetting versions](https://discuss.elastic.co/t/resetting-versions/324994)

<div class="topic-metadata">

**Author:** [@Limess](https://discuss.elastic.co/u/Limess)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 5:25am UTC](https://discuss.elastic.co/t/resetting-versions/324994 "2023-02-14T05:25:34Z")

</div>

Hello, I've seen a few posts on this in the past but was wondering if there's any newer solution: We have had issues in production where we indexed documents with an external, then had to restore older versions of the …

---

## [Please add more examples on the new Java API Client](https://discuss.elastic.co/t/please-add-more-examples-on-the-new-java-api-client/325297)

<div class="topic-metadata">

**Author:** [@imhoffdavid](https://discuss.elastic.co/u/imhoffdavid)\
**Replies:** 0\
**Last updated:** [February 10, 2023, 8:58pm UTC](https://discuss.elastic.co/t/please-add-more-examples-on-the-new-java-api-client/325297 "2023-02-10T20:58:02Z")

</div>

This page in particular: Using the Java API Client | Elasticsearch Java API Client \[8.6\] | Elastic . Is not fleshed out enough. Coming from the old client and trying to migrate my elastic update calls to the new client …

---

## [Delete UNASSIGNED replica shards in elasticsearch 6.8.23](https://discuss.elastic.co/t/delete-unassigned-replica-shards-in-elasticsearch-6-8-23/325000)

<div class="topic-metadata">

**Author:** [@mohammed\_faisal](https://discuss.elastic.co/u/mohammed_faisal)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 5:19am UTC](https://discuss.elastic.co/t/delete-unassigned-replica-shards-in-elasticsearch-6-8-23/325000 "2023-02-14T05:19:42Z")

</div>

How do i remove the UNASSIGNED replica shard from the index

---

## [Elasticsearch sizing and update in a docker enviroment](https://discuss.elastic.co/t/elasticsearch-sizing-and-update-in-a-docker-enviroment/325334)

<div class="topic-metadata">

**Author:** [@Lay0ut](https://discuss.elastic.co/u/Lay0ut)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 4:51am UTC](https://discuss.elastic.co/t/elasticsearch-sizing-and-update-in-a-docker-enviroment/325334 "2023-02-14T04:51:22Z")

</div>

Hello everybody, I am currently taking over our Elastic cluster at my company after the person who set it up and managed it so far left the company. Given my limited experience with the ELK stack, I have a few questions…

---

## [Exiting: couldn't connect to ElasticSearch at](https://discuss.elastic.co/t/exiting-couldnt-connect-to-elasticsearch-at/325234)

<div class="topic-metadata">

**Author:** [@zyaza](https://discuss.elastic.co/u/zyaza)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 4:12am UTC](https://discuss.elastic.co/t/exiting-couldnt-connect-to-elasticsearch-at/325234 "2023-02-14T04:12:12Z")

</div>

sudo auditbeat -e setup This command ends with Exiting: couldn't connect to any of the configured Elasticsearch hosts. Errors: \[error connecting to Elasticsearch at "ip adress of ubunt server:9200: Get "up adress:9200"…

---

## [JDBC Connection Pool for Elastic sql](https://discuss.elastic.co/t/jdbc-connection-pool-for-elastic-sql/325320)

<div class="topic-metadata">

**Author:** [@varindersandhu](https://discuss.elastic.co/u/varindersandhu)\
**Replies:** 0\
**Last updated:** [February 11, 2023, 5:33pm UTC](https://discuss.elastic.co/t/jdbc-connection-pool-for-elastic-sql/325320 "2023-02-11T17:33:21Z")

</div>

Hi Team, trying to build osgi plugin for elastic sql driver to query ES . Not able to find ConnectionPoolSource class name from x-pack-sql-jdbc-8.6.1.jar . Any idea which class will replace EsDataSourcePool in code below …

---

## [Kibana 8.6.1 keeps Loading Elastic forever when using a JWT token](https://discuss.elastic.co/t/kibana-8-6-1-keeps-loading-elastic-forever-when-using-a-jwt-token/325274)

<div class="topic-metadata">

**Author:** [@frits](https://discuss.elastic.co/u/frits)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 3:57am UTC](https://discuss.elastic.co/t/kibana-8-6-1-keeps-loading-elastic-forever-when-using-a-jwt-token/325274 "2023-02-14T03:57:06Z")

</div>

I've been trying to get a JWT token login to work for a few days now. I've made a couple of great steps, I think I've managed to authenticate against the JWT provider (Broadcom IDM). I think I've created a correct role a…

---

## [Unable to update the password of elastic user](https://discuss.elastic.co/t/unable-to-update-the-password-of-elastic-user/325422)

<div class="topic-metadata">

**Author:** [@quynhdn](https://discuss.elastic.co/u/quynhdn)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 3:19am UTC](https://discuss.elastic.co/t/unable-to-update-the-password-of-elastic-user/325422 "2023-02-14T03:19:29Z")

</div>

I want to rotate the password of elastic user. I used this utility: bin/elasticsearch-users passwd elastic -p XXXXX It didn’t give any error, but when I tried to use the new password, it didn’t work. The old password co…

---

## [Default settings Xms and Xmx](https://discuss.elastic.co/t/default-settings-xms-and-xmx/324103)

<div class="topic-metadata">

**Author:** [@INS](https://discuss.elastic.co/u/INS)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 6:32pm UTC](https://discuss.elastic.co/t/default-settings-xms-and-xmx/324103 "2023-02-13T18:32:51Z")

</div>

Hi Whether elastic has set with default Xms and Xmx or should I always remember to set it it in environment per node? I'm asking because I'm observing some wire increase heap on nodes, and I think this graph should loo…

---

## [Runtime field not appearing in search results](https://discuss.elastic.co/t/runtime-field-not-appearing-in-search-results/325425)

<div class="topic-metadata">

**Author:** [@learningelastic](https://discuss.elastic.co/u/learningelastic)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 12:54am UTC](https://discuss.elastic.co/t/runtime-field-not-appearing-in-search-results/325425 "2023-02-14T00:54:00Z")

</div>

I'm trying to set up a run time field to calculate the total of an e-commerce purchase. But there is something wrong with the way I'm declaring run time field, and it might have something to do with nested objects. Fir…

---

## [Spring boot visualize actuator health](https://discuss.elastic.co/t/spring-boot-visualize-actuator-health/325389)

<div class="topic-metadata">

**Author:** [@chrispos](https://discuss.elastic.co/u/chrispos)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 12:34am UTC](https://discuss.elastic.co/t/spring-boot-visualize-actuator-health/325389 "2023-02-14T00:34:33Z")

</div>

Hello, I have a question. Our Java programmer has created a health API output for his Java program (output in json). Now I can get the API information by using an http pooler. I was wondering if there is a good way to v…

---

## [Add Matches inside a loop](https://discuss.elastic.co/t/add-matches-inside-a-loop/325427)

<div class="topic-metadata">

**Author:** [@chachew](https://discuss.elastic.co/u/chachew)\
**Replies:** 0\
**Last updated:** [February 13, 2023, 10:51pm UTC](https://discuss.elastic.co/t/add-matches-inside-a-loop/325427 "2023-02-13T22:51:22Z")

</div>

How can i add multiple Match clauses inside a loop? Currently when i do this, the only thing that gets added is the first item in the List and thats it. List\<string\> types = new(); b.Should(s =\> { types.ForEach(t =\>…

---

## [Script\_score behavior depends on number of requested documents](https://discuss.elastic.co/t/script-score-behavior-depends-on-number-of-requested-documents/324837)

<div class="topic-metadata">

**Author:** [@Gkleinereva](https://discuss.elastic.co/u/Gkleinereva)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 9:03pm UTC](https://discuss.elastic.co/t/script-score-behavior-depends-on-number-of-requested-documents/324837 "2023-02-13T21:03:11Z")

</div>

TL;DR - I encountered a problem with script\_score behavior. script\_score seems to calculate scores differently depending on the size parameter in the query. Can anyone help me understand what's going on here (and wheth…

---

## [With the removal of doc types, must I reindex all the indices that use a custom doc\_type?](https://discuss.elastic.co/t/with-the-removal-of-doc-types-must-i-reindex-all-the-indices-that-use-a-custom-doc-type/325419)

<div class="topic-metadata">

**Author:** [@kexin-zhai](https://discuss.elastic.co/u/kexin-zhai)\
**Replies:** 0\
**Last updated:** [February 13, 2023, 8:36pm UTC](https://discuss.elastic.co/t/with-the-removal-of-doc-types-must-i-reindex-all-the-indices-that-use-a-custom-doc-type/325419 "2023-02-13T20:36:59Z")

</div>

I have a similar question regarding the removal of doc types as @smlbiobot 's post here With the removal of doc types, must I reindex all the indices that use a named type? . Do I have to reindex all the indices before …

---

## [Is it possible to use TimeFilter on multiple date Fields?](https://discuss.elastic.co/t/is-it-possible-to-use-timefilter-on-multiple-date-fields/324688)

<div class="topic-metadata">

**Author:** [@SamuelSMendes](https://discuss.elastic.co/u/SamuelSMendes)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 8:20pm UTC](https://discuss.elastic.co/t/is-it-possible-to-use-timefilter-on-multiple-date-fields/324688 "2023-02-13T20:20:13Z")

</div>

So I have two date fields: createdTime and resolutionTime; The problem in question is that I need one chart A to operate by createdTime and a chart B to operate in resolutionTime. I had a guess that maybe I could achie…

---

## [Unified highlighter with function\_score](https://discuss.elastic.co/t/unified-highlighter-with-function-score/325281)

<div class="topic-metadata">

**Author:** [@Wonder\_Garance](https://discuss.elastic.co/u/Wonder_Garance)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 8:18pm UTC](https://discuss.elastic.co/t/unified-highlighter-with-function-score/325281 "2023-02-13T20:18:40Z")

</div>

Hello, I have a query to search for the acronym: pin and "Personal Identification Number", with "auto\_generate\_synonyms\_phrase\_query": true I don't want results with 3 words Personal, Identification, Number highlighted …

---

## [Update node roles with shards assigned](https://discuss.elastic.co/t/update-node-roles-with-shards-assigned/325344)

<div class="topic-metadata">

**Author:** [@sachiko](https://discuss.elastic.co/u/sachiko)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 7:54pm UTC](https://discuss.elastic.co/t/update-node-roles-with-shards-assigned/325344 "2023-02-13T19:54:41Z")

</div>

Cluster is having 6 nodes, having the default role: cdfhilmrstw How to update the node.roles from all to master only. Note: node has already a shards assigned, containing .security-7 index. IF I run elasticsearch-nod…

---

## [Empty snapshots](https://discuss.elastic.co/t/empty-snapshots/325194)

<div class="topic-metadata">

**Author:** [@tmslara.a](https://discuss.elastic.co/u/tmslara.a)\
**Replies:** 17\
**Last updated:** [February 13, 2023, 7:46pm UTC](https://discuss.elastic.co/t/empty-snapshots/325194 "2023-02-13T19:46:42Z")

</div>

Hi, I have a problem when trying to create and restore a snapshot in Elasticsearch. The snapshots are blank. Some specifications: I'm using a Mac (MacOS Monterey 12.6.2) if relevant. I'm running Elasticsearch in it a…

---

## [Reading a .csv file from a remote url using filebeat and httpjson](https://discuss.elastic.co/t/reading-a-csv-file-from-a-remote-url-using-filebeat-and-httpjson/325415)

<div class="topic-metadata">

**Author:** [@Cristiane\_Naves](https://discuss.elastic.co/u/Cristiane_Naves)\
**Replies:** 0\
**Last updated:** [February 13, 2023, 7:30pm UTC](https://discuss.elastic.co/t/reading-a-csv-file-from-a-remote-url-using-filebeat-and-httpjson/325415 "2023-02-13T19:30:44Z")

</div>

Hi, I'm trying to monitor a remote URL that contains a .csv file. I need to retrieve the file and make it available in Logstash. I'm new to this, and I'm not sure how to get started. Can anyone offer some guidance or s…

---

## [Kibana - Display additional information with each datapoint](https://discuss.elastic.co/t/kibana-display-additional-information-with-each-datapoint/325305)

<div class="topic-metadata">

**Author:** [@Taylor\_Graham](https://discuss.elastic.co/u/Taylor_Graham)\
**Replies:** 2\
**Last updated:** [February 13, 2023, 5:16pm UTC](https://discuss.elastic.co/t/kibana-display-additional-information-with-each-datapoint/325305 "2023-02-13T17:16:28Z")

</div>

Maybe this is a unique problem, or maybe it's simply not possible. I have a set of devices for which I'm tracking metrics over time. To do this I create a Line Lens and put timestamp on the x-axis, CPU usage on the y-a…

---

## [Beats upgrade from 7.10 to 8.x](https://discuss.elastic.co/t/beats-upgrade-from-7-10-to-8-x/325370)

<div class="topic-metadata">

**Author:** [@ShubhamKumarJena](https://discuss.elastic.co/u/ShubhamKumarJena)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 4:49pm UTC](https://discuss.elastic.co/t/beats-upgrade-from-7-10-to-8-x/325370 "2023-02-13T16:49:23Z")

</div>

Hello Guys, We are planning to upgrade our BEATS from 7.10(already EOL) to 8.x soon. Can some body share their experience while they upgrdaed from 7.x to 8.x and give me some of their learnings. I am aware about the fil…

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

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