# Metrics

**URL:** https://discuss.elastic.co/c/observability/metrics/68.md?page=1

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

**Page:** 2

---

## [Stopped Metrics Make Alert Get Recovered](https://discuss.elastic.co/t/stopped-metrics-make-alert-get-recovered/360160)

<div class="topic-metadata">

**Author:** [@wijamw](https://discuss.elastic.co/u/wijamw)\
**Replies:** 0\
**Last updated:** [May 24, 2024, 1:02pm UTC](https://discuss.elastic.co/t/stopped-metrics-make-alert-get-recovered/360160 "2024-05-24T13:02:37Z")

</div>

Hi everyone, I created an alert to monitor the disk and alert me if it is below 3 GB (free space). The problem is the alert gets recovered when the computer I monitor is down. Then when the computer is turned on, I will…

---

## [How to config prometheus integration to scrape metrics from k8s pod](https://discuss.elastic.co/t/how-to-config-prometheus-integration-to-scrape-metrics-from-k8s-pod/359468)

<div class="topic-metadata">

**Author:** [@Terran\_Yiu](https://discuss.elastic.co/u/Terran_Yiu)\
**Replies:** 4\
**Last updated:** [May 15, 2024, 2:43pm UTC](https://discuss.elastic.co/t/how-to-config-prometheus-integration-to-scrape-metrics-from-k8s-pod/359468 "2024-05-15T14:43:31Z")

</div>

I'm using fleet-managed elastic agents installed in k8s. I want to scrape pod metrics by HTTP API. My current config is in the following picture: But it does not work, any suggestions?

---

## [Average aggregated 24 hours usage of Windows CPU data collected by Metricbeat is abnormal exceeds some Thousand but after restart of Metribeat gives accurate aggregated CPU data](https://discuss.elastic.co/t/average-aggregated-24-hours-usage-of-windows-cpu-data-collected-by-metricbeat-is-abnormal-exceeds-some-thousand-but-after-restart-of-metribeat-gives-accurate-aggregated-cpu-data/357549)

<div class="topic-metadata">

**Author:** [@Nagendrakumar](https://discuss.elastic.co/u/Nagendrakumar)\
**Replies:** 0\
**Last updated:** [April 16, 2024, 9:39pm UTC](https://discuss.elastic.co/t/average-aggregated-24-hours-usage-of-windows-cpu-data-collected-by-metricbeat-is-abnormal-exceeds-some-thousand-but-after-restart-of-metribeat-gives-accurate-aggregated-cpu-data/357549 "2024-04-16T21:39:48Z")

</div>

Average aggregated 24 hours usage of Windows CPU data collected by Metricbeat exceeds some Thousand but after restart of Metricbeat gives accurate aggregated CPU data. We have 100s of Windows Server, every week experien…

---

## [Elastic fleet for postgresql fails to scrape pg\_stat\_statements](https://discuss.elastic.co/t/elastic-fleet-for-postgresql-fails-to-scrape-pg-stat-statements/356197)

<div class="topic-metadata">

**Author:** [@dier](https://discuss.elastic.co/u/dier)\
**Replies:** 2\
**Last updated:** [March 27, 2024, 8:54am UTC](https://discuss.elastic.co/t/elastic-fleet-for-postgresql-fails-to-scrape-pg-stat-statements/356197 "2024-03-27T08:54:44Z")

</div>

Hey, I am currently setting up a elastic cloud installation with fleet agents. Our services are running in k8s as well as our agents. Also our databases are running in kubernetes. Now I wanted to add the postgresql int…

---

## [Number of Elastic Agent requests sent to Azure Monitor API](https://discuss.elastic.co/t/number-of-elastic-agent-requests-sent-to-azure-monitor-api/354352)

<div class="topic-metadata">

**Author:** [@s.buksa](https://discuss.elastic.co/u/s.buksa)\
**Replies:** 0\
**Last updated:** [February 28, 2024, 1:50pm UTC](https://discuss.elastic.co/t/number-of-elastic-agent-requests-sent-to-azure-monitor-api/354352 "2024-02-28T13:50:39Z")

</div>

Hello, Could someone help me to understand how Elastic Agent performed API calls to Azure monitor for metrics ingestion is being calculated? The following snippet of configuration: period: 60s client\_id: xxxx client\_s…

---

## [Table Dashboard color code](https://discuss.elastic.co/t/table-dashboard-color-code/352892)

<div class="topic-metadata">

**Author:** [@erlaarun](https://discuss.elastic.co/u/erlaarun)\
**Replies:** 0\
**Last updated:** [February 8, 2024, 8:47pm UTC](https://discuss.elastic.co/t/table-dashboard-color-code/352892 "2024-02-08T20:47:27Z")

</div>

Hi, I have created the Tabular Dashboard on elastic. Table data having fields called certificate name , valid from date ,valid To Date. we want to change the color code of Valid To Date ,if the certificate expiring wit…

---

## [Error executing alerts](https://discuss.elastic.co/t/error-executing-alerts/352883)

<div class="topic-metadata">

**Author:** [@Deividi\_Cavarzan](https://discuss.elastic.co/u/Deividi_Cavarzan)\
**Replies:** 0\
**Last updated:** [February 8, 2024, 5:25pm UTC](https://discuss.elastic.co/t/error-executing-alerts/352883 "2024-02-08T17:25:55Z")

</div>

Hi, Some alerts stop working due to the error above, I wans't able to find how to set this index as write.

---

## [How can I get the wkB/s reported by iostat](https://discuss.elastic.co/t/how-can-i-get-the-wkb-s-reported-by-iostat/352043)

<div class="topic-metadata">

**Author:** [@aorona](https://discuss.elastic.co/u/aorona)\
**Replies:** 0\
**Last updated:** [January 30, 2024, 1:02am UTC](https://discuss.elastic.co/t/how-can-i-get-the-wkb-s-reported-by-iostat/352043 "2024-01-30T01:02:52Z")

</div>

I am using elastic integrations to collect disk statistics https://docs.elastic.co/en/integrations/system#disk-io I would like to plot amount of data read and written (rkB/s , wkB/s ) but I am running into some issues…

---

## [Connecting APM to logstash](https://discuss.elastic.co/t/connecting-apm-to-logstash/351124)

<div class="topic-metadata">

**Author:** [@Affan\_Mir](https://discuss.elastic.co/u/Affan_Mir)\
**Replies:** 0\
**Last updated:** [January 16, 2024, 7:13am UTC](https://discuss.elastic.co/t/connecting-apm-to-logstash/351124 "2024-01-16T07:13:26Z")

</div>

I want to connect my apm-server to my log stash that will do some preprocessing before dumping the metrics into Elasticsearch. According to the documentation listed at Configure the Logstash output | APM User Guide \[8.1…

---

## [Azure Monitor Metrics for StorageAccounts namespaces does not ingest data, no error message returned](https://discuss.elastic.co/t/azure-monitor-metrics-for-storageaccounts-namespaces-does-not-ingest-data-no-error-message-returned/350135)

<div class="topic-metadata">

**Author:** [@s.buksa](https://discuss.elastic.co/u/s.buksa)\
**Replies:** 2\
**Last updated:** [December 30, 2023, 1:19am UTC](https://discuss.elastic.co/t/azure-monitor-metrics-for-storageaccounts-namespaces-does-not-ingest-data-no-error-message-returned/350135 "2023-12-30T01:19:03Z")

</div>

Hello, Could someone, please, help me to understand where is the issue in the following configurations? I am trying to scrape metrics from specific resource namespace "Microsoft.Storage/storageAccounts/queueServices" na…

---

## [Metricbeat hostPath alternative](https://discuss.elastic.co/t/metricbeat-hostpath-alternative/349457)

<div class="topic-metadata">

**Author:** [@Jame\_M](https://discuss.elastic.co/u/Jame_M)\
**Replies:** 0\
**Last updated:** [December 15, 2023, 1:56pm UTC](https://discuss.elastic.co/t/metricbeat-hostpath-alternative/349457 "2023-12-15T13:56:53Z")

</div>

Hello all, I have a quick question. I am installing Metricbeat into a K8s cluster. I do not have rights to it, and we are simply adding a feature for monitering the cluster. And this is on a remote intranet sever so I c…

---

## [Support for CloudWatch Metric Streams](https://discuss.elastic.co/t/support-for-cloudwatch-metric-streams/349399)

<div class="topic-metadata">

**Author:** [@RichiCoder](https://discuss.elastic.co/u/RichiCoder)\
**Replies:** 0\
**Last updated:** [December 14, 2023, 11:24pm UTC](https://discuss.elastic.co/t/support-for-cloudwatch-metric-streams/349399 "2023-12-14T23:24:35Z")

</div>

Elastic recently added the ability to receive CloudWatch logs via Kinesis Data Firehouse, which offers and excellent (and cheaper) way to forward log data into Elastic. I'd love to see a similar capability like that for…

---

## [Azure Monitor Metrics Integration Reporting interval](https://discuss.elastic.co/t/azure-monitor-metrics-integration-reporting-interval/347363)

<div class="topic-metadata">

**Author:** [@s.buksa](https://discuss.elastic.co/u/s.buksa)\
**Replies:** 9\
**Last updated:** [December 14, 2023, 7:07am UTC](https://discuss.elastic.co/t/azure-monitor-metrics-integration-reporting-interval/347363 "2023-12-14T07:07:09Z")

</div>

Hello, In Azure Monitor Metrics integration official documentation under "Data stream specific configuration notes" mentioned that "Period (reporting interval) for Metrics will have a timegrain of 5 minutes, so the 'Pe…

---

## [How do I configure multiple Kibana modules in metricbeat?](https://discuss.elastic.co/t/how-do-i-configure-multiple-kibana-modules-in-metricbeat/348108)

<div class="topic-metadata">

**Author:** [@blueren](https://discuss.elastic.co/u/blueren)\
**Replies:** 1\
**Last updated:** [November 28, 2023, 12:18pm UTC](https://discuss.elastic.co/t/how-do-i-configure-multiple-kibana-modules-in-metricbeat/348108 "2023-11-28T12:18:35Z")

</div>

I am setting up a dedicated ES cluster for monitoring a production clusted as per official ES documentation. I'm able to get the metrics of ES, and now am trying to get the metrics of the two instances of production Kiba…

---

## [Metricbeat compatibility with RMQ 3.11](https://discuss.elastic.co/t/metricbeat-compatibility-with-rmq-3-11/347753)

<div class="topic-metadata">

**Author:** [@YassineB73](https://discuss.elastic.co/u/YassineB73)\
**Replies:** 0\
**Last updated:** [November 22, 2023, 3:01pm UTC](https://discuss.elastic.co/t/metricbeat-compatibility-with-rmq-3-11/347753 "2023-11-22T15:01:27Z")

</div>

Hello, The metricbeat (v7.17.6) rabbitmq modules works fine with my rabbitMq 3.9.x. I Upgraded RabbitMQ to 3.11.9 version but I have faced a problem with the node module : ERROR module/wrapper.go:259 Error fetching dat…

---

## [Ratio Between Two Metrics](https://discuss.elastic.co/t/ratio-between-two-metrics/347707)

<div class="topic-metadata">

**Author:** [@younesqq](https://discuss.elastic.co/u/younesqq)\
**Replies:** 0\
**Last updated:** [November 22, 2023, 9:08am UTC](https://discuss.elastic.co/t/ratio-between-two-metrics/347707 "2023-11-22T09:08:24Z")

</div>

Hey. I have two metrics, and I want to calculate the ratio of the sum of total to the unique count of invoice IDs for each branch in Kibana(sum of total/unique count). Thanks

---

## [Cusotm ILM policy](https://discuss.elastic.co/t/cusotm-ilm-policy/347457)

<div class="topic-metadata">

**Author:** [@abdul90082](https://discuss.elastic.co/u/abdul90082)\
**Replies:** 4\
**Last updated:** [November 20, 2023, 10:38pm UTC](https://discuss.elastic.co/t/cusotm-ilm-policy/347457 "2023-11-20T22:38:22Z")

</div>

Hello, we are currently employing the Elastic agent on Kubernetes, managed by Fleet, and have incorporated various Elastic integrations such as Kubernetes, Auditd, Audit\_manager, and System. Our primary goal is to monito…

---

## [Remove unnecessary exported fields](https://discuss.elastic.co/t/remove-unnecessary-exported-fields/345674)

<div class="topic-metadata">

**Author:** [@s.buksa](https://discuss.elastic.co/u/s.buksa)\
**Replies:** 2\
**Last updated:** [October 25, 2023, 5:35am UTC](https://discuss.elastic.co/t/remove-unnecessary-exported-fields/345674 "2023-10-25T05:35:04Z")

</div>

Hello, Is there any way how to remove unnecessary exported fields before indexing? Using Elastic Agent integration, and along with it comes many exported fields. Tried Elastic Agent processor "drop\_fields", but all lis…

---

## [Metricbeat readiness for production, and how to configure the MSI package?](https://discuss.elastic.co/t/metricbeat-readiness-for-production-and-how-to-configure-the-msi-package/346511)

<div class="topic-metadata">

**Author:** [@mshwf](https://discuss.elastic.co/u/mshwf)\
**Replies:** 0\
**Last updated:** [November 6, 2023, 10:15am UTC](https://discuss.elastic.co/t/metricbeat-readiness-for-production-and-how-to-configure-the-msi-package/346511 "2023-11-06T10:15:54Z")

</div>

I want to use Metricbeat to instrument one of our services. Firstly, I tried APM, but found we can't use it with custom metrics (our counters, gauges... etc.). So, I'm having a look at Metricbeat, it seems to offer what …

---

## [Oracle DB monitoring - Error while running metricbeat](https://discuss.elastic.co/t/oracle-db-monitoring-error-while-running-metricbeat/346084)

<div class="topic-metadata">

**Author:** [@nandhini\_r](https://discuss.elastic.co/u/nandhini_r)\
**Replies:** 1\
**Last updated:** [October 31, 2023, 6:35am UTC](https://discuss.elastic.co/t/oracle-db-monitoring-error-while-running-metricbeat/346084 "2023-10-31T06:35:19Z")

</div>

Hi, I have been struggle on how to monitored an oracle DB instance, using the ELK stack. I have install everything Elasticsearch, Logstash, Kibana, Metricbeat but I am getting some error and I will attach the error in t…

---

## [Question about how to proceed with the development of a metrics module for an integration](https://discuss.elastic.co/t/question-about-how-to-proceed-with-the-development-of-a-metrics-module-for-an-integration/345409)

<div class="topic-metadata">

**Author:** [@Sebastian\_Huettersen](https://discuss.elastic.co/u/Sebastian_Huettersen)\
**Replies:** 0\
**Last updated:** [October 19, 2023, 5:40pm UTC](https://discuss.elastic.co/t/question-about-how-to-proceed-with-the-development-of-a-metrics-module-for-an-integration/345409 "2023-10-19T17:40:48Z")

</div>

Hey everyone currently I am developing an Elastic Integration for openVPN. The normalization of the logs is no problem for me. But now I would like to have metrics as well and of course they should be nicely visualized i…

---

## [Is it bug? Disk Space Available in Hosts is calcualted average disk free](https://discuss.elastic.co/t/is-it-bug-disk-space-available-in-hosts-is-calcualted-average-disk-free/345031)

<div class="topic-metadata">

**Author:** [@oofbird](https://discuss.elastic.co/u/oofbird)\
**Replies:** 0\
**Last updated:** [October 14, 2023, 4:09pm UTC](https://discuss.elastic.co/t/is-it-bug-disk-space-available-in-hosts-is-calcualted-average-disk-free/345031 "2023-10-14T16:09:52Z")

</div>

I work with Elasitc 8.10.2. And I found Hosts feature in Observability. But Disk Space Available score is not correct. so there are inspect method, i checked it. Request for Disk Space Available is .... "aggs": {…

---

## [Functionality of alertOnNoData flag in Metric threshold rule \[8.10.2\]](https://discuss.elastic.co/t/functionality-of-alertonnodata-flag-in-metric-threshold-rule-8-10-2/344530)

<div class="topic-metadata">

**Author:** [@c\_rox](https://discuss.elastic.co/u/c_rox)\
**Replies:** 0\
**Last updated:** [October 6, 2023, 10:14am UTC](https://discuss.elastic.co/t/functionality-of-alertonnodata-flag-in-metric-threshold-rule-8-10-2/344530 "2023-10-06T10:14:41Z")

</div>

I have created elastic metric threshold rule to monitor on the disk usages of each node on elastic deployments it self and enabled alertOnData so if the query returned no data or query execution had an issue I would get …

---

## [Want to create monitoring indices for only 7 days](https://discuss.elastic.co/t/want-to-create-monitoring-indices-for-only-7-days/343605)

<div class="topic-metadata">

**Author:** [@Rakhshunda\_Noorein\_J](https://discuss.elastic.co/u/Rakhshunda_Noorein_J)\
**Replies:** 10\
**Last updated:** [September 22, 2023, 5:08pm UTC](https://discuss.elastic.co/t/want-to-create-monitoring-indices-for-only-7-days/343605 "2023-09-22T17:08:53Z")

</div>

Hello, I am monitoring my logstash instance through metricbeat monitoring. I want to configure monitoring setting as such that only 7 days monitoring indices is created in my cluster in order to monitor for only 7 days…

---

## [Troubleshooting Kibana Dashboard Configuration for Metricbeat Modules](https://discuss.elastic.co/t/troubleshooting-kibana-dashboard-configuration-for-metricbeat-modules/342190)

<div class="topic-metadata">

**Author:** [@MasoudLakestani](https://discuss.elastic.co/u/MasoudLakestani)\
**Replies:** 4\
**Last updated:** [September 10, 2023, 10:59am UTC](https://discuss.elastic.co/t/troubleshooting-kibana-dashboard-configuration-for-metricbeat-modules/342190 "2023-09-10T10:59:20Z")

</div>

How can I configure Kibana to display monitoring dashboards for the PostgreSQL and System modules when I've already set up these modules in the Metricbeat configuration file (metricbeat.yml )? While I can see that Elasti…

---

## [Failed to check for alias 'metricbeat-7.17.12': (status=403) : 403 Forbidden](https://discuss.elastic.co/t/failed-to-check-for-alias-metricbeat-7-17-12-status-403-403-forbidden/342046)

<div class="topic-metadata">

**Author:** [@BenKenobi](https://discuss.elastic.co/u/BenKenobi)\
**Replies:** 0\
**Last updated:** [August 31, 2023, 12:11pm UTC](https://discuss.elastic.co/t/failed-to-check-for-alias-metricbeat-7-17-12-status-403-403-forbidden/342046 "2023-08-31T12:11:36Z")

</div>

Hi, We have Elastic and Kibana running on the same cluster and now I am trying to send system data from another host via metricbeat to elastic directly. For this I followed the 5 steps explained in the official documen…

---

## [How can I store the average of CPU,Memory,Disk data of one day in some logs](https://discuss.elastic.co/t/how-can-i-store-the-average-of-cpu-memory-disk-data-of-one-day-in-some-logs/340112)

<div class="topic-metadata">

**Author:** [@AkshayP21296](https://discuss.elastic.co/u/AkshayP21296)\
**Replies:** 4\
**Last updated:** [August 24, 2023, 6:04am UTC](https://discuss.elastic.co/t/how-can-i-store-the-average-of-cpu-memory-disk-data-of-one-day-in-some-logs/340112 "2023-08-24T06:04:25Z")

</div>

Hello Sir, I am using metricbeat for infra monitoring but as it is consuming so much data do we have the option to store the average of a complete day in only few logs .

---

## [Service account for metricbeat](https://discuss.elastic.co/t/service-account-for-metricbeat/339904)

<div class="topic-metadata">

**Author:** [@\_Zeyad\_Elshater](https://discuss.elastic.co/u/_Zeyad_Elshater)\
**Replies:** 0\
**Last updated:** [August 2, 2023, 8:19am UTC](https://discuss.elastic.co/t/service-account-for-metricbeat/339904 "2023-08-02T08:19:08Z")

</div>

Hi all, is it a best practice to create a separate account for the beats , specially " metricbeat " to run as log in for its windows service , if yes , what permission does it needs thanks in adnvace

---

## [Metrics alert based on ratio](https://discuss.elastic.co/t/metrics-alert-based-on-ratio/338397)

<div class="topic-metadata">

**Author:** [@dspeschabls](https://discuss.elastic.co/u/dspeschabls)\
**Replies:** 0\
**Last updated:** [July 14, 2023, 10:10am UTC](https://discuss.elastic.co/t/metrics-alert-based-on-ratio/338397 "2023-07-14T10:10:40Z")

</div>

We have a Spring Boot application and push its metrics to elastic, among others also usage of API paths. This generates one document per uri (path) and outcome with count per time unit. Example: {uri="api/v2/dosomethin…

---

## [Creating an Elasticsearch Alert Email Connector containing "winlog.event\_data.TargetUserName"?](https://discuss.elastic.co/t/creating-an-elasticsearch-alert-email-connector-containing-winlog-event-data-targetusername/338222)

<div class="topic-metadata">

**Author:** [@Emorta](https://discuss.elastic.co/u/Emorta)\
**Replies:** 0\
**Last updated:** [July 12, 2023, 1:03pm UTC](https://discuss.elastic.co/t/creating-an-elasticsearch-alert-email-connector-containing-winlog-event-data-targetusername/338222 "2023-07-12T13:03:09Z")

</div>

Hello Elastic Community, I Created a Alert type "Elasticsearch query" that looks for a specifc winlog.event\_id:"XXXX" and triggers when threshold it is above "x" value. There is a Email connector all this works perfec…

[Previous page](https://discuss.elastic.co/c/observability/metrics/68.md)

[Next page](https://discuss.elastic.co/c/observability/metrics/68.md?page=2)
