There used to be something that was automatically deployed as a cron that
did that.  For ES I know it moved to curator
https://github.com/apache/metron/blob/master/metron-platform/metron-data-management/README.md#pruning-data-from-elasticsearch

I don't know if the HDFS job still exists or not, but it used to.

Jon

On Wed, Dec 26, 2018, 2:06 AM Farrukh Naveed Anjum <[email protected]>
wrote:

> Hi,
>
> How can write a data retention script for metron. So that safe hard disk
> space. Like I want to Store only last N Days (Say 30 days) data in HDFS,
> Elasticssearch and Logs in  Metron.
>
> Right now, Metron  eats up my all hard drive space on server.
>
> Any Idea / Help will be appreciated.
>
>
> --
> With Regards
> Farrukh Naveed Anjum
>
-- 

Jon Zeolla

Reply via email to