# Aggregate filter not creating path

**URL:** <https://discuss.elastic.co/t/aggregate-filter-not-creating-path/245299>\
**Category:** Logstash\
**Created:** [August 17, 2020, 6:08pm UTC](https://discuss.elastic.co/t/aggregate-filter-not-creating-path/245299 "2020-08-17T18:08:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kvtang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvtang/32/83160_2.png) [@kvtang](https://discuss.elastic.co/u/kvtang)\
**Post date:** [August 17, 2020, 6:08pm UTC](https://discuss.elastic.co/t/aggregate-filter-not-creating-path/245299/1 "2020-08-17T18:08:27Z")

</div>

Hi guys,

I have used "aggregate\_maps\_path" to a folder where my logstash certainly have accessed (cause no error and that's where the logging created) but there is no map being created.

Any idea why?

Much thanks!

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 17, 2020, 6:50pm UTC](https://discuss.elastic.co/t/aggregate-filter-not-creating-path/245299/2 "2020-08-17T18:50:16Z")

</div>

The file will be created when logstash shuts down the pipeline (i.e. just before exiting), but only if there are maps to be persisted. It will not create an empty file.

---

<div class="post-metadata">

**Author:** ![kvtang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvtang/32/83160_2.png) [@kvtang](https://discuss.elastic.co/u/kvtang)\
**Post date:** [August 18, 2020, 2:48am UTC](https://discuss.elastic.co/t/aggregate-filter-not-creating-path/245299/3 "2020-08-18T02:48:52Z")

</div>

Hi Badger,

Tested and it works like what you said.  
Thank you so much!

---

<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:** [September 15, 2020, 2:49am UTC](https://discuss.elastic.co/t/aggregate-filter-not-creating-path/245299/4 "2020-09-15T02:49:07Z")

</div>

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