# Latest

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

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

**Page:** 1161

---

## [Autodiscover not working on docker swarm](https://discuss.elastic.co/t/autodiscover-not-working-on-docker-swarm/303082)

<div class="topic-metadata">

**Author:** [@UchihaYuki](https://discuss.elastic.co/u/UchihaYuki)\
**Replies:** 0\
**Last updated:** [April 24, 2022, 6:09am UTC](https://discuss.elastic.co/t/autodiscover-not-working-on-docker-swarm/303082 "2022-04-24T06:09:26Z")

</div>

If I config directly in metricbeat.yml: - module: traefik metricsets: - health hosts: \["http://traefik:8080"\] period: 10s enabled: true It will work. But If I use autodiscover, by configuring m…

---

## [Is there a way to change the transaction to the interface name?](https://discuss.elastic.co/t/is-there-a-way-to-change-the-transaction-to-the-interface-name/302952)

<div class="topic-metadata">

**Author:** [@Phoebus888](https://discuss.elastic.co/u/Phoebus888)\
**Replies:** 3\
**Last updated:** [April 24, 2022, 6:40am UTC](https://discuss.elastic.co/t/is-there-a-way-to-change-the-transaction-to-the-interface-name/302952 "2022-04-24T06:40:04Z")

</div>

Interface names are more intuitive

---

## [Some transaction names are incorrect/falsely reported](https://discuss.elastic.co/t/some-transaction-names-are-incorrect-falsely-reported/302475)

<div class="topic-metadata">

**Author:** [@schang](https://discuss.elastic.co/u/schang)\
**Replies:** 7\
**Last updated:** [April 24, 2022, 5:08am UTC](https://discuss.elastic.co/t/some-transaction-names-are-incorrect-falsely-reported/302475 "2022-04-24T05:08:54Z")

</div>

Kibana version: 7.15.2 Elasticsearch version: 7.15.2 APM Server version: 7.15.2 APM Agent language and version: Java 1.28.4 Browser version: Chrome 100.0.4896.75 Original install method (e.g. download page, yum…

---

## [Sub-aggregations in bucket Aggregation's Terms return 0 as Value](https://discuss.elastic.co/t/sub-aggregations-in-bucket-aggregations-terms-return-0-as-value/303053)

<div class="topic-metadata">

**Author:** [@Draken](https://discuss.elastic.co/u/Draken)\
**Replies:** 5\
**Last updated:** [April 24, 2022, 1:28am UTC](https://discuss.elastic.co/t/sub-aggregations-in-bucket-aggregations-terms-return-0-as-value/303053 "2022-04-24T01:28:57Z")

</div>

Hello, I'm recently introduced to Elasticsearch and currently trying to build a Monitoring application on top of it, at first everything went smoothly as we worked on elastic version 6.5.4, then we decided to move on to …

---

## [Logstash multiple output blocking: output blocking with multiple output using the isolation pattern](https://discuss.elastic.co/t/logstash-multiple-output-blocking-output-blocking-with-multiple-output-using-the-isolation-pattern/303078)

<div class="topic-metadata">

**Author:** [@yeppazu](https://discuss.elastic.co/u/yeppazu)\
**Replies:** 4\
**Last updated:** [April 23, 2022, 9:37pm UTC](https://discuss.elastic.co/t/logstash-multiple-output-blocking-output-blocking-with-multiple-output-using-the-isolation-pattern/303078 "2022-04-23T21:37:49Z")

</div>

Hello everyone, we have a trouble with a pipeline in logstash (7.17), with multiple output and isolator pattern. We have adopted the solution suggested in: In our case, input is Winlogbeat and the two outputs are: El…

---

## [How do I match by all objects in an array of objects in Elasticsearch?](https://discuss.elastic.co/t/how-do-i-match-by-all-objects-in-an-array-of-objects-in-elasticsearch/303074)

<div class="topic-metadata">

**Author:** [@codinges](https://discuss.elastic.co/u/codinges)\
**Replies:** 2\
**Last updated:** [April 23, 2022, 3:51pm UTC](https://discuss.elastic.co/t/how-do-i-match-by-all-objects-in-an-array-of-objects-in-elasticsearch/303074 "2022-04-23T15:51:03Z")

</div>

I want to get documents like below with match from Elasticsearch. { "configurationId": "dp4wb8kpw4k1s2z", "type": 1, "items": \[ { "text": "car", "rank": 1 }, { "text": "ship", "…

---

## [Which volumes of beats should I mount under docker swarm?](https://discuss.elastic.co/t/which-volumes-of-beats-should-i-mount-under-docker-swarm/302714)

<div class="topic-metadata">

**Author:** [@UchihaYuki](https://discuss.elastic.co/u/UchihaYuki)\
**Replies:** 2\
**Last updated:** [April 23, 2022, 2:54pm UTC](https://discuss.elastic.co/t/which-volumes-of-beats-should-i-mount-under-docker-swarm/302714 "2022-04-23T14:54:05Z")

</div>

I have a custom image for filebeat and metricbeat. So every time when they restart, filebeat setup and metricbeat setup will run before filebeat and metricbeat. I wonder which folders I should mount under a named volumn…

---

## [How to divide new index shard in all nodes](https://discuss.elastic.co/t/how-to-divide-new-index-shard-in-all-nodes/303070)

<div class="topic-metadata">

**Author:** [@DJ\_Zhu](https://discuss.elastic.co/u/DJ_Zhu)\
**Replies:** 1\
**Last updated:** [April 23, 2022, 2:19pm UTC](https://discuss.elastic.co/t/how-to-divide-new-index-shard-in-all-nodes/303070 "2022-04-23T14:19:02Z")

</div>

Thanks for your read first. I use Elasticsearch to store app logs which contains about 100 TB data in a single cluster. The data is store in a new index per 4 hours and old index will be deleted after 7 days. Since the …

---

## [Understanding the java code (Pattern Capture token filter)](https://discuss.elastic.co/t/understanding-the-java-code-pattern-capture-token-filter/303072)

<div class="topic-metadata">

**Author:** [@dishant.sharma](https://discuss.elastic.co/u/dishant.sharma)\
**Replies:** 0\
**Last updated:** [April 23, 2022, 11:41am UTC](https://discuss.elastic.co/t/understanding-the-java-code-pattern-capture-token-filter/303072 "2022-04-23T11:41:11Z")

</div>

---

## [Logstash CSV mutate, split and filter](https://discuss.elastic.co/t/logstash-csv-mutate-split-and-filter/301084)

<div class="topic-metadata">

**Author:** [@parthmaniar](https://discuss.elastic.co/u/parthmaniar)\
**Replies:** 5\
**Last updated:** [April 23, 2022, 9:44am UTC](https://discuss.elastic.co/t/logstash-csv-mutate-split-and-filter/301084 "2022-04-23T09:44:15Z")

</div>

Hello, I hope my message finds the Elastic community safe and healthy. I am trying to import CSV files wherein I want to create a new field - tld using data from one of the columns being imported. Source Column name…

---

## [Node failed to run](https://discuss.elastic.co/t/node-failed-to-run/303066)

<div class="topic-metadata">

**Author:** [@korjavin](https://discuss.elastic.co/u/korjavin)\
**Replies:** 3\
**Last updated:** [April 23, 2022, 7:30am UTC](https://discuss.elastic.co/t/node-failed-to-run/303066 "2022-04-23T07:30:50Z")

</div>

Node has been restarted and then \[2022-04-23T05:04:36,452\]\[ERROR\]\[o.e.b.ElasticsearchUncaughtExceptionHandler\] \[elastic-elasticsearch-data-2\] fatal error in thread \[elasticsearch\[elastic-elasticsearch-data-2\]\[generic\]\[T…

---

## [Updating the alerting for all rules with the API](https://discuss.elastic.co/t/updating-the-alerting-for-all-rules-with-the-api/303065)

<div class="topic-metadata">

**Author:** [@ARDiver86](https://discuss.elastic.co/u/ARDiver86)\
**Replies:** 0\
**Last updated:** [April 22, 2022, 11:20pm UTC](https://discuss.elastic.co/t/updating-the-alerting-for-all-rules-with-the-api/303065 "2022-04-22T23:20:02Z")

</div>

Since the ability to bulk edit rules and assign an action does not exist, how can I do this with the API? I've tried a few methods via the Kibana console under dev tools but cannot get any of the GET's to return data (li…

---

## [Extract data from Elastic search using pem cert](https://discuss.elastic.co/t/extract-data-from-elastic-search-using-pem-cert/302849)

<div class="topic-metadata">

**Author:** [@newelastic](https://discuss.elastic.co/u/newelastic)\
**Replies:** 8\
**Last updated:** [April 22, 2022, 7:59pm UTC](https://discuss.elastic.co/t/extract-data-from-elastic-search-using-pem-cert/302849 "2022-04-22T19:59:32Z")

</div>

Hello, I'm new to ELK stack and we are trying to extract data from ES via logstash pipeline from existing system. Below is the logstash input pipeline being used for extracting data and my output pipeline targeted to K…

---

## [Count Last received logs](https://discuss.elastic.co/t/count-last-received-logs/303024)

<div class="topic-metadata">

**Author:** [@Bo-Wyatt](https://discuss.elastic.co/u/Bo-Wyatt)\
**Replies:** 1\
**Last updated:** [April 22, 2022, 6:59pm UTC](https://discuss.elastic.co/t/count-last-received-logs/303024 "2022-04-22T18:59:15Z")

</div>

Hello, I have a SIEM-like flow o logs. I mean, 3 or more logs with an identifier (same value in all the logs). My last received log the one I want to "keep" or "consider". Is there any way to apply this concept to my Vis…

---

## [How to replace Security Certificate sign by Elastic CA](https://discuss.elastic.co/t/how-to-replace-security-certificate-sign-by-elastic-ca/302840)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 4\
**Last updated:** [April 22, 2022, 6:30pm UTC](https://discuss.elastic.co/t/how-to-replace-security-certificate-sign-by-elastic-ca/302840 "2022-04-22T18:30:34Z")

</div>

I had created certificate with following command in past. and it is going to expire now. bin/elasticsearch-certutil cert -out /etc/elasticsearch/config/elastic-certificates.p12 -pass "" I would like to replace that bef…

---

## [How to use the value from kubernetes metadata in S3 output](https://discuss.elastic.co/t/how-to-use-the-value-from-kubernetes-metadata-in-s3-output/302975)

<div class="topic-metadata">

**Author:** [@user2416](https://discuss.elastic.co/u/user2416)\
**Replies:** 1\
**Last updated:** [April 22, 2022, 4:38pm UTC](https://discuss.elastic.co/t/how-to-use-the-value-from-kubernetes-metadata-in-s3-output/302975 "2022-04-22T16:38:22Z")

</div>

Hi, I am trying to use the service name which will get from kubernetes metadata to use in S3 output to construct prefix, how can I use that field value in output?

---

## [Discoverにてコロン前後のキーワードを検索する場合の事象について](https://discuss.elastic.co/t/discover/302766)

<div class="topic-metadata">

**Author:** [@t-nakata](https://discuss.elastic.co/u/t-nakata)\
**Replies:** 1\
**Last updated:** [April 22, 2022, 3:55pm UTC](https://discuss.elastic.co/t/discover/302766 "2022-04-22T15:55:02Z")

</div>

下記のようなインデックスを保持しております { "took" : 2, "timed\_out" : false, "\_shards" : { "total" : 5, "successful" : 5, "skipped" : 0, "failed" : 0 }, "hits" : { "total" : { "value" : 4, "relatio…

---

## [java.net.NetPermission "specifyStreamHandler" not allowed for custom plugin](https://discuss.elastic.co/t/java-net-netpermission-specifystreamhandler-not-allowed-for-custom-plugin/301392)

<div class="topic-metadata">

**Author:** [@poanse](https://discuss.elastic.co/u/poanse)\
**Replies:** 2\
**Last updated:** [April 22, 2022, 3:50pm UTC](https://discuss.elastic.co/t/java-net-netpermission-specifystreamhandler-not-allowed-for-custom-plugin/301392 "2022-04-22T15:50:22Z")

</div>

I presume this issue is analogous to java.io.FilePermission is no longer allowed for custom plug-in. · Issue #69464 · elastic/elasticsearch · GitHub, but dealing with java.net.NetPermission "specifyStreamHandler" permiss…

---

## [ILM policy don't delete the index even though delete phase is applied](https://discuss.elastic.co/t/ilm-policy-dont-delete-the-index-even-though-delete-phase-is-applied/303022)

<div class="topic-metadata">

**Author:** [@PRASHANT\_MEHTA](https://discuss.elastic.co/u/PRASHANT_MEHTA)\
**Replies:** 3\
**Last updated:** [April 22, 2022, 2:24pm UTC](https://discuss.elastic.co/t/ilm-policy-dont-delete-the-index-even-though-delete-phase-is-applied/303022 "2022-04-22T14:24:27Z")

</div>

Hello All, I have appled ILM policy to the Index and policy is defined to go from hot phase: 1day,1gb max (rollover) to delete phase after 1day from rollover,The issue I am facing is that the Index dont get deleted and …

---

## [Date conversion with Logstash](https://discuss.elastic.co/t/date-conversion-with-logstash/302947)

<div class="topic-metadata">

**Author:** [@Lynow](https://discuss.elastic.co/u/Lynow)\
**Replies:** 4\
**Last updated:** [April 22, 2022, 2:04pm UTC](https://discuss.elastic.co/t/date-conversion-with-logstash/302947 "2022-04-22T14:04:33Z")

</div>

Hello, I currently have a problem for date conversion with Logstash. I receive logs including dates in epoche format (UNIX), so I added the following filters to modify them. Namely, I have multiple date fields, as you c…

---

## [How to implement this ES curl into Java](https://discuss.elastic.co/t/how-to-implement-this-es-curl-into-java/303008)

<div class="topic-metadata">

**Author:** [@aboli](https://discuss.elastic.co/u/aboli)\
**Replies:** 1\
**Last updated:** [April 22, 2022, 1:55pm UTC](https://discuss.elastic.co/t/how-to-implement-this-es-curl-into-java/303008 "2022-04-22T13:55:57Z")

</div>

Hi, I want to translate this curl into working java code in spring - curl -XGET 'localhost:9200/catalog/\_search?pretty' -H 'Content-Type: application/json' -d' { "size": 0, "aggs": { "types": { "terms": { "field":…

---

## [Failed to parse date field](https://discuss.elastic.co/t/failed-to-parse-date-field/302812)

<div class="topic-metadata">

**Author:** [@Krunal](https://discuss.elastic.co/u/Krunal)\
**Replies:** 4\
**Last updated:** [April 22, 2022, 1:48pm UTC](https://discuss.elastic.co/t/failed-to-parse-date-field/302812 "2022-04-22T13:48:22Z")

</div>

Blockquote I am having little problem regarding the date. What is the solution to change the date format, if i am having date format like wed 11:32 , fri 4:52, I cant able to do mapping in elasticsearch. So i got this …

---

## [Elastic - restoring index from snapshots does not work](https://discuss.elastic.co/t/elastic-restoring-index-from-snapshots-does-not-work/303001)

<div class="topic-metadata">

**Author:** [@JimJ](https://discuss.elastic.co/u/JimJ)\
**Replies:** 1\
**Last updated:** [April 22, 2022, 1:46pm UTC](https://discuss.elastic.co/t/elastic-restoring-index-from-snapshots-does-not-work/303001 "2022-04-22T13:46:52Z")

</div>

running Elastic stack 7.12.0. I configured a repository to snapshot indices. The system takes a snapshot on a daily basis and keeps 7 days. All snapshots seem to be okay. States are all "Snapshot complete". I tried …

---

## [Failed to create query - maxClauseCount is set to 1024](https://discuss.elastic.co/t/failed-to-create-query-maxclausecount-is-set-to-1024/302898)

<div class="topic-metadata">

**Author:** [@Sowmiya](https://discuss.elastic.co/u/Sowmiya)\
**Replies:** 3\
**Last updated:** [April 22, 2022, 1:39pm UTC](https://discuss.elastic.co/t/failed-to-create-query-maxclausecount-is-set-to-1024/302898 "2022-04-22T13:39:39Z")

</div>

Hi Team, I am using Elasticsearch version 7.16.2. Have set up the search on the domain-specific data around 20k records. When I am searching for a particular query, I am getting the below error. RequestError(400, 'sear…

---

## [Anomaly Detection Categorization: Kibana not showing all ml category](https://discuss.elastic.co/t/anomaly-detection-categorization-kibana-not-showing-all-ml-category/303002)

<div class="topic-metadata">

**Author:** [@aviral\_srivastava](https://discuss.elastic.co/u/aviral_srivastava)\
**Replies:** 6\
**Last updated:** [April 22, 2022, 1:36pm UTC](https://discuss.elastic.co/t/anomaly-detection-categorization-kibana-not-showing-all-ml-category/303002 "2022-04-22T13:36:39Z")

</div>

Hi, I am using Elasticsearch 8.1.0 Kibana 8.1.0 I have created a Categorization job in kibana. As input, I have given the index field which contains the log messages. After the job gets completed processing, I can s…

---

## [Mac installation of apm-agent-php](https://discuss.elastic.co/t/mac-installation-of-apm-agent-php/302987)

<div class="topic-metadata">

**Author:** [@webpatser](https://discuss.elastic.co/u/webpatser)\
**Replies:** 0\
**Last updated:** [April 22, 2022, 6:55am UTC](https://discuss.elastic.co/t/mac-installation-of-apm-agent-php/302987 "2022-04-22T06:55:15Z")

</div>

Hi, We use the default APM packages on ubuntu and the basic traces you get using laravel are awesome to start with. But to implement trace parents etc I want to compile the PHP APM agent on my dev Macbook. The basic co…

---

## [After restarting, all saved objects disappeared in Kibana](https://discuss.elastic.co/t/after-restarting-all-saved-objects-disappeared-in-kibana/300671)

<div class="topic-metadata">

**Author:** [@petschenek](https://discuss.elastic.co/u/petschenek)\
**Replies:** 4\
**Last updated:** [April 22, 2022, 1:18pm UTC](https://discuss.elastic.co/t/after-restarting-all-saved-objects-disappeared-in-kibana/300671 "2022-04-22T13:18:34Z")

</div>

Hi team, We are using Elasticsearch and Kibana (7.10.2) deployed on our Kubernetes cluster. After restarting the Kibana deployment, all of our saved objects were gone. They seem to be stored in Elasticsearch but somehow…

---

## [Harvester\_buffer\_size - how to determine most efficient value?](https://discuss.elastic.co/t/harvester-buffer-size-how-to-determine-most-efficient-value/303037)

<div class="topic-metadata">

**Author:** [@mikewillis](https://discuss.elastic.co/u/mikewillis)\
**Replies:** 0\
**Last updated:** [April 22, 2022, 1:02pm UTC](https://discuss.elastic.co/t/harvester-buffer-size-how-to-determine-most-efficient-value/303037 "2022-04-22T13:02:21Z")

</div>

The documentation says what the harvest\_buffer\_size setting of the log input is for, but nothing about why one might want to change it. Log input | Filebeat Reference \[7.17\] | Elastic I asked about this in another post …

---

## [Aggregate similar Logs](https://discuss.elastic.co/t/aggregate-similar-logs/302630)

<div class="topic-metadata">

**Author:** [@Bo-Wyatt](https://discuss.elastic.co/u/Bo-Wyatt)\
**Replies:** 2\
**Last updated:** [April 22, 2022, 11:39am UTC](https://discuss.elastic.co/t/aggregate-similar-logs/302630 "2022-04-22T11:39:32Z")

</div>

Hello, I have SIEM-like logs (with a unique identifier field) in a log flow (two or more logs, in every update/log there's extra info or updaded info). I need to preserve the last log or aggregate all the logs into one w…

---

## [Securing elastic using elastic ansible playbook](https://discuss.elastic.co/t/securing-elastic-using-elastic-ansible-playbook/303029)

<div class="topic-metadata">

**Author:** [@sligade](https://discuss.elastic.co/u/sligade)\
**Replies:** 0\
**Last updated:** [April 22, 2022, 12:12pm UTC](https://discuss.elastic.co/t/securing-elastic-using-elastic-ansible-playbook/303029 "2022-04-22T12:12:19Z")

</div>

Hello I am new to elastic, and trying to use ansible playbook to install set it up I was able to setup a test cluster without any issue, and now I want to secure using X-Pack security SSL/TLS setup as identified ansibl…

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

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