# Clear metric filter count value

**URL:** https://discuss.elastic.co/t/clear-metric-filter-count-value/180458
**Category:** Logstash
**Created:** [May 10, 2019, 12:21am UTC](https://discuss.elastic.co/t/clear-metric-filter-count-value/180458 "2019-05-10T00:21:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rafaelsampaio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rafaelsampaio/32/45626_2.png) [@rafaelsampaio](https://discuss.elastic.co/u/rafaelsampaio)
#### Post date: [May 10, 2019, 12:21am UTC](https://discuss.elastic.co/t/clear-metric-filter-count-value/180458/1 "2019-05-10T00:21:13Z")

</div>

The pipeline is reading more then 9 millions/day of logs and I'm using the meter filter to get the rate of some events. I don't need the count value but and I'm not sure how for long logstash can sustain its increment. Is there any way to clear only the count value, keeping the rate values?  
If it is not possible, it would be very useful if I could clear all counters everyday at midnight (UTC).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 7, 2019, 12:21am UTC](https://discuss.elastic.co/t/clear-metric-filter-count-value/180458/2 "2019-06-07T00:21:14Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
