# Latest

**URL:** https://discuss.elastic.co/latest.md?page=331

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

**Page:** 332

---

## [\[K8S\]Can not enroll elastic-agent: API KEY INVALID!](https://discuss.elastic.co/t/k8s-can-not-enroll-elastic-agent-api-key-invalid/359006)

<div class="topic-metadata">

**Author:** [@hcnhcn321](https://discuss.elastic.co/u/hcnhcn321)\
**Replies:** 0\
**Last updated:** [May 8, 2024, 1:59am UTC](https://discuss.elastic.co/t/k8s-can-not-enroll-elastic-agent-api-key-invalid/359006 "2024-05-08T01:59:47Z")

</div>

error log in elastic-agent pod: {"log.level":"error","@timestamp":"2024-05-08T01:51:37.250Z","message":"Failed to connect to backoff(elasticsearch(https://172.19.29.57:9200)): 401 Unauthorized: {\\"error\\":{\\"root\_cause\\…

---

## [Kibana unique count more that number of records](https://discuss.elastic.co/t/kibana-unique-count-more-that-number-of-records/357826)

<div class="topic-metadata">

**Author:** [@erickhillo](https://discuss.elastic.co/u/erickhillo)\
**Replies:** 5\
**Last updated:** [May 8, 2024, 1:02am UTC](https://discuss.elastic.co/t/kibana-unique-count-more-that-number-of-records/357826 "2024-05-08T01:02:57Z")

</div>

hi everyone I´m using kibana dashboards, and when I try to add a metric with unique count to select all uniques the number of uniques is not the same that the number of records that I have, for example in my index I've …

---

## [I have installed ECK operator, how can i forward the logs to kibana from openshift](https://discuss.elastic.co/t/i-have-installed-eck-operator-how-can-i-forward-the-logs-to-kibana-from-openshift/359001)

<div class="topic-metadata">

**Author:** [@rhowin](https://discuss.elastic.co/u/rhowin)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 11:56pm UTC](https://discuss.elastic.co/t/i-have-installed-eck-operator-how-can-i-forward-the-logs-to-kibana-from-openshift/359001 "2024-05-07T23:56:25Z")

</div>

I have installed ECK operator in openshift and how can I forward the logs to kibana in ECK?

---

## [Why can't we rename indices?](https://discuss.elastic.co/t/why-cant-we-rename-indices/357011)

<div class="topic-metadata">

**Author:** [@jerrac](https://discuss.elastic.co/u/jerrac)\
**Replies:** 6\
**Last updated:** [May 7, 2024, 8:19pm UTC](https://discuss.elastic.co/t/why-cant-we-rename-indices/357011 "2024-05-07T20:19:09Z")

</div>

Ok, so, I ran into a situation where I really needed to be able to rename my index. Somehow it was created before my template was applied and as a result it was a normal index instead of an alias. Which turned into a gia…

---

## [ILM slows down node recovery/rolling upgrade process](https://discuss.elastic.co/t/ilm-slows-down-node-recovery-rolling-upgrade-process/356476)

<div class="topic-metadata">

**Author:** [@jerrac](https://discuss.elastic.co/u/jerrac)\
**Replies:** 13\
**Last updated:** [May 7, 2024, 8:04pm UTC](https://discuss.elastic.co/t/ilm-slows-down-node-recovery-rolling-upgrade-process/356476 "2024-05-07T20:04:36Z")

</div>

On my test cluster, I started a rolling upgrade. It's a 3 node cluster, so the cluster state went promptly to red. Once my upgraded node started up, I found that the index reallocation/recovery process was taking a lot l…

---

## [Analyzer for numbers with commas?](https://discuss.elastic.co/t/analyzer-for-numbers-with-commas/358985)

<div class="topic-metadata">

**Author:** [@jakehschwartz](https://discuss.elastic.co/u/jakehschwartz)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 7:33pm UTC](https://discuss.elastic.co/t/analyzer-for-numbers-with-commas/358985 "2024-05-07T19:33:04Z")

</div>

Version 7.10 A bug with our analyzer was recently found dealing with commas in numbers. Imagine a string like This car has like 10,000 HP, it can go very fast We have a custom analyzer called full\_text, will attach al…

---

## [Is there API to create a new Elastic user to workplace Search?](https://discuss.elastic.co/t/is-there-api-to-create-a-new-elastic-user-to-workplace-search/358950)

<div class="topic-metadata">

**Author:** [@m-amano](https://discuss.elastic.co/u/m-amano)\
**Replies:** 3\
**Last updated:** [May 7, 2024, 7:04pm UTC](https://discuss.elastic.co/t/is-there-api-to-create-a-new-elastic-user-to-workplace-search/358950 "2024-05-07T19:04:35Z")

</div>

Hi. I have a question if there is an API to create Elastic users to workplace Search. Therefore I don't have to create a user one by one via console.

---

## [Not all Available Fields are listed in visualization](https://discuss.elastic.co/t/not-all-available-fields-are-listed-in-visualization/358977)

<div class="topic-metadata">

**Author:** [@Mark\_Sarto](https://discuss.elastic.co/u/Mark_Sarto)\
**Replies:** 2\
**Last updated:** [May 7, 2024, 6:49pm UTC](https://discuss.elastic.co/t/not-all-available-fields-are-listed-in-visualization/358977 "2024-05-07T18:49:41Z")

</div>

it seems all fields with type : text are not available in visualisation and i need them to create certain visualizations like average rent per city etc... Elastics mapping : Discover data view : Visualization availabl…

---

## [How to bypass ssl in http\_poller](https://discuss.elastic.co/t/how-to-bypass-ssl-in-http-poller/358948)

<div class="topic-metadata">

**Author:** [@kishorkumar](https://discuss.elastic.co/u/kishorkumar)\
**Replies:** 2\
**Last updated:** [May 7, 2024, 6:24pm UTC](https://discuss.elastic.co/t/how-to-bypass-ssl-in-http-poller/358948 "2024-05-07T18:24:41Z")

</div>

How do i by pass sssl in the logstash input http\_poller logstash Logstash

---

## [View Query in PostgreSQL agent in dashboard](https://discuss.elastic.co/t/view-query-in-postgresql-agent-in-dashboard/358854)

<div class="topic-metadata">

**Author:** [@Fernandoc4d](https://discuss.elastic.co/u/Fernandoc4d)\
**Replies:** 13\
**Last updated:** [May 7, 2024, 3:08pm UTC](https://discuss.elastic.co/t/view-query-in-postgresql-agent-in-dashboard/358854 "2024-05-07T15:08:48Z")

</div>

Hi community I need to obtain in a dashboard, two specific queries to the databases of all the agents from which I receive data (for this purpose it is this entire project among other things for which I have gotten invo…

---

## [What is my grok pattern for Time](https://discuss.elastic.co/t/what-is-my-grok-pattern-for-time/358937)

<div class="topic-metadata">

**Author:** [@baber1223](https://discuss.elastic.co/u/baber1223)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 2:57pm UTC](https://discuss.elastic.co/t/what-is-my-grok-pattern-for-time/358937 "2024-05-07T14:57:37Z")

</div>

I want to use grok pattern for follow : \[07/May/2024:13:47:19 +0530\] I am using follow grok \[%{HTTPDATE:logtimestamp}\] but it does not work . Would you please say what is grok pattern for that ?

---

## [Cannot use example Grok Pattern (official docs) in Grok Processor](https://discuss.elastic.co/t/cannot-use-example-grok-pattern-official-docs-in-grok-processor/358871)

<div class="topic-metadata">

**Author:** [@paolovalladolid](https://discuss.elastic.co/u/paolovalladolid)\
**Replies:** 3\
**Last updated:** [May 7, 2024, 2:43pm UTC](https://discuss.elastic.co/t/cannot-use-example-grok-pattern-official-docs-in-grok-processor/358871 "2024-05-07T14:43:35Z")

</div>

This is the pattern I'm trying to use in the Grok processor: %{IPORHOST:source.ip} %{USER:user.id} %{USER:user.name} \\\[%{HTTPDATE:@timestamp}\\\] "%{WORD:http.request.method} %{DATA:url.original} HTTP/%{NUMBER:http.versio…

---

## [How can I connect to langchain using elasticsearch as vectorb?](https://discuss.elastic.co/t/how-can-i-connect-to-langchain-using-elasticsearch-as-vectorb/358946)

<div class="topic-metadata">

**Author:** [@daniel7806](https://discuss.elastic.co/u/daniel7806)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 2:56pm UTC](https://discuss.elastic.co/t/how-can-i-connect-to-langchain-using-elasticsearch-as-vectorb/358946 "2024-05-07T14:56:23Z")

</div>

I followed like a code like this: import elasticsearch from langchain\_elasticsearch import ElasticsearchStore es\_client= elasticsearch.Elasticsearch( hosts=\["https://ip:host"\], es\_user="elastic", es\_password…

---

## [Post elasticsearch LinkedIn](https://discuss.elastic.co/t/post-elasticsearch-linkedin/358938)

<div class="topic-metadata">

**Author:** [@Khadija\_BOUDINAR1](https://discuss.elastic.co/u/Khadija_BOUDINAR1)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 2:27pm UTC](https://discuss.elastic.co/t/post-elasticsearch-linkedin/358938 "2024-05-07T14:27:32Z")

</div>

Hello All, I would like to know it's possible to suggest some topics to discus about elasticsearch, to improve my LinkedIn profile (installation, index creation...) Thanks

---

## [Feature State "ent\_search" for Snapshots not working](https://discuss.elastic.co/t/feature-state-ent-search-for-snapshots-not-working/358936)

<div class="topic-metadata">

**Author:** [@sebastianboelling](https://discuss.elastic.co/u/sebastianboelling)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 2:16pm UTC](https://discuss.elastic.co/t/feature-state-ent-search-for-snapshots-not-working/358936 "2024-05-07T14:16:28Z")

</div>

Hi, I am trying to restore the feature state of the feature "ent\_search" from am Snapshot. I am using the Snapstot tool: Snapshot and restore | Elasticsearch Guide \[8.13\] | Elastic It is possible to snapshot and resto…

---

## [Anonymise this account please](https://discuss.elastic.co/t/anonymise-this-account-please/358926)

<div class="topic-metadata">

**Author:** [@anon85145925](https://discuss.elastic.co/u/anon85145925)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 2:03pm UTC](https://discuss.elastic.co/t/anonymise-this-account-please/358926 "2024-05-07T14:03:40Z")

</div>

As the title states, please anonymise this account as it will no longer be used. Thanks.

---

## [Help me install ELK in a Windows 7 environment](https://discuss.elastic.co/t/help-me-install-elk-in-a-windows-7-environment/358919)

<div class="topic-metadata">

**Author:** [@Tell045](https://discuss.elastic.co/u/Tell045)\
**Replies:** 5\
**Last updated:** [May 7, 2024, 1:43pm UTC](https://discuss.elastic.co/t/help-me-install-elk-in-a-windows-7-environment/358919 "2024-05-07T13:43:55Z")

</div>

Help me install ELK in a Windows 7 environment. Thanks!

---

## [The whole log of openedr is inside the message feild in kibana. Urgent!](https://discuss.elastic.co/t/the-whole-log-of-openedr-is-inside-the-message-feild-in-kibana-urgent/358535)

<div class="topic-metadata">

**Author:** [@sandraimmaculate](https://discuss.elastic.co/u/sandraimmaculate)\
**Replies:** 39\
**Last updated:** [May 7, 2024, 1:18pm UTC](https://discuss.elastic.co/t/the-whole-log-of-openedr-is-inside-the-message-feild-in-kibana-urgent/358535 "2024-05-07T13:18:00Z")

</div>

Hi, my openedr application is in windows i have downloaded filebeat there and configure it to send logs to logstash so that i can view in kibana and yes it done successfully. I'm able to see logs in kibana\>discover, B…

---

## [Get selected date from calendar in Kibana](https://discuss.elastic.co/t/get-selected-date-from-calendar-in-kibana/358765)

<div class="topic-metadata">

**Author:** [@jarcastillo](https://discuss.elastic.co/u/jarcastillo)\
**Replies:** 4\
**Last updated:** [May 7, 2024, 1:35pm UTC](https://discuss.elastic.co/t/get-selected-date-from-calendar-in-kibana/358765 "2024-05-07T13:35:07Z")

</div>

Hi there Can someone help me and explain how do I get the selected date in calendar either in a TSVB visualization or in a scripted field (java.calendar Class works but Calendar.Events not ) Thank you in advance

---

## [ElasticAgent 8.13 and Kafka](https://discuss.elastic.co/t/elasticagent-8-13-and-kafka/358704)

<div class="topic-metadata">

**Author:** [@tapiojaa](https://discuss.elastic.co/u/tapiojaa)\
**Replies:** 9\
**Last updated:** [May 7, 2024, 1:22pm UTC](https://discuss.elastic.co/t/elasticagent-8-13-and-kafka/358704 "2024-05-07T13:22:24Z")

</div>

I'm using ElasticAgent to output data into Kafka. When using version 8.13.3 there is an error: status: (FAILED) could not start output: failed to reload output: topic '%{\[fields.kafka\_topic\]}' is invalid, it must match …

---

## [Multiple controls bug](https://discuss.elastic.co/t/multiple-controls-bug/358925)

<div class="topic-metadata">

**Author:** [@nnikushkin](https://discuss.elastic.co/u/nnikushkin)\
**Replies:** 4\
**Last updated:** [May 7, 2024, 1:14pm UTC](https://discuss.elastic.co/t/multiple-controls-bug/358925 "2024-05-07T13:14:43Z")

</div>

Hello! I found a weird behavior of Dashboard Controls and it looks like a bug to me Steps to reproduce: Create an index: PUT /controls { "mappings": { "properties": { "group": { "type": "keyword" }, "…

---

## [Moving average based on conditions for (moving avg\<50)](https://discuss.elastic.co/t/moving-average-based-on-conditions-for-moving-avg-50/358927)

<div class="topic-metadata">

**Author:** [@Ravisankar123](https://discuss.elastic.co/u/Ravisankar123)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 1:04pm UTC](https://discuss.elastic.co/t/moving-average-based-on-conditions-for-moving-avg-50/358927 "2024-05-07T13:04:15Z")

</div>

Need Moving average formula for \<50

---

## [Filebeat is skipping some older files and starts to send new ones](https://discuss.elastic.co/t/filebeat-is-skipping-some-older-files-and-starts-to-send-new-ones/358915)

<div class="topic-metadata">

**Author:** [@elk1985](https://discuss.elastic.co/u/elk1985)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 11:31am UTC](https://discuss.elastic.co/t/filebeat-is-skipping-some-older-files-and-starts-to-send-new-ones/358915 "2024-05-07T11:31:54Z")

</div>

Hello. I have a problem. I have upgraded my cluster to 8.10.4 all together with filebeats. I have added new logs for 1 server. filebeat.yml contains over 40 input sections with multiline configuration, tags etc. When…

---

## [Request distribution in client nodes using AWS ELB](https://discuss.elastic.co/t/request-distribution-in-client-nodes-using-aws-elb/358913)

<div class="topic-metadata">

**Author:** [@nchalise](https://discuss.elastic.co/u/nchalise)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 9:53am UTC](https://discuss.elastic.co/t/request-distribution-in-client-nodes-using-aws-elb/358913 "2024-05-07T09:53:49Z")

</div>

I have a cluster consisting of 3 master nodes, 4 client nodes, and 16 data nodes. I utilize AWS ELB for request balancing. Within the ELB setup, I allocate 4 client nodes and employ a Round Robin algorithm to distribute …

---

## [How to use the \_copy\_saved\_objects](https://discuss.elastic.co/t/how-to-use-the-copy-saved-objects/358851)

<div class="topic-metadata">

**Author:** [@lcarr](https://discuss.elastic.co/u/lcarr)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 9:48am UTC](https://discuss.elastic.co/t/how-to-use-the-copy-saved-objects/358851 "2024-05-07T09:48:04Z")

</div>

This is totally not working - we are getting 404 errors - POST kbn:/s/source\_space/api/spaces/\_copy\_saved\_objects { "createNewCopies": true, "includeReferences": false, "objects": \[ { "Title": " Devices by Compone…

---

## [Arrange multiple fields into one line](https://discuss.elastic.co/t/arrange-multiple-fields-into-one-line/357482)

<div class="topic-metadata">

**Author:** [@Aviel\_Bashari](https://discuss.elastic.co/u/Aviel_Bashari)\
**Replies:** 8\
**Last updated:** [May 7, 2024, 9:42am UTC](https://discuss.elastic.co/t/arrange-multiple-fields-into-one-line/357482 "2024-05-07T09:42:23Z")

</div>

Hi, I have an execution of a bunch of tests that run with multiple devices with multiple roles(DEVICE\_1, DEVICE\_2, etc..) this means that for each test, I have for example 4 devices involved. each device pushes its ow…

---

## [Error Internal Server Error (500)](https://discuss.elastic.co/t/error-internal-server-error-500/358839)

<div class="topic-metadata">

**Author:** [@GitPit-ak](https://discuss.elastic.co/u/GitPit-ak)\
**Replies:** 2\
**Last updated:** [May 7, 2024, 9:23am UTC](https://discuss.elastic.co/t/error-internal-server-error-500/358839 "2024-05-07T09:23:57Z")

</div>

Kibana version: 7.7.1 Elasticsearch version:7.7.1 APM Server version:7.7.1 APM Agent language and version: Browser version: Edge Steps to reproduce: I have configured the same version of Kibana, Elasticsearch, Log…

---

## [How to get the synchronized new file information of WorkplaceSearch?](https://discuss.elastic.co/t/how-to-get-the-synchronized-new-file-information-of-workplacesearch/358889)

<div class="topic-metadata">

**Author:** [@m-amano](https://discuss.elastic.co/u/m-amano)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 9:21am UTC](https://discuss.elastic.co/t/how-to-get-the-synchronized-new-file-information-of-workplacesearch/358889 "2024-05-07T09:21:48Z")

</div>

Hello. I'm using WorkplaceSearch of v.8.12.0 Elastic Cloud. I managed to get the last runtime of content source synchronization with this code. POST \<ENTERPRISE\_SEARCH\_BASE\_URL\>/api/ws/v1/sources/\<content-source-id\> N…

---

## [Elasticsearch Set Processor Variable not define errror](https://discuss.elastic.co/t/elasticsearch-set-processor-variable-not-define-errror/358769)

<div class="topic-metadata">

**Author:** [@tusharnemade](https://discuss.elastic.co/u/tusharnemade)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 9:21am UTC](https://discuss.elastic.co/t/elasticsearch-set-processor-variable-not-define-errror/358769 "2024-05-07T09:21:38Z")

</div>

Hello Everyone: I am using Elasticsearch 7.8 version. I have a mutliple conditions to be checked using set processor ... I am using below code curl -X POST "localhost:9200/\_ingest/pipeline/\_simulate?pretty" -H 'Conte…

---

## [Json parse error on elastic output](https://discuss.elastic.co/t/json-parse-error-on-elastic-output/358910)

<div class="topic-metadata">

**Author:** [@matan21m](https://discuss.elastic.co/u/matan21m)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 9:14am UTC](https://discuss.elastic.co/t/json-parse-error-on-elastic-output/358910 "2024-05-07T09:14:52Z")

</div>

I am trying to create a logging service using the elastic stack. I have some very large logs that also require filtering to adjust to JSON format, and one of them gives me the following json parse error: JSON parse err…

[Previous page](https://discuss.elastic.co/latest.md?page=330)

[Next page](https://discuss.elastic.co/latest.md?page=332)
