icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Deleter
SHA256 checksum (deleter_002.tgz) 7c77d1549c713ad2bc65dd66131c9791748cbab094103ec4f22ed16ac71f0371 SHA256 checksum (deleter_001.tgz) 3adfaa5e4a595145a12ba4dd1670990ee02421eff9b57ad6e37bf134d98dfa40
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate


Admins: Please read about Splunk Enterprise 8.0 and the Python 2.7 end-of-life changes and impact on apps and upgradeshere.
A simple modular input that permanently deletes files based on their modified date with a glob file path.

Just like a monitor input, add a delete stanza to inputs.conf with a glob filepath

interval = 60
disabled = 0
age = 86400

Essentially, all this modular input does is:

age = time.time() - int(config["age"])
path = config["name"][9:]
for f in glob.glob(path):
    if os.stat(f).st_mtime < age:
        logging.info(f"Deleting {f}")

Release Notes

Version 0.0.2
Dec. 3, 2020

Version 0.0.1
Dec. 2, 2020


Subscribe Share

AppInspect Tooling

Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
© 2005-2021 Splunk Inc. All rights reserved.
Splunk®, Splunk>®, Listen to Your Data®, The Engine for Machine Data®, Hunk®, Splunk Cloud™, Splunk Light™, SPL™ and Splunk MINT™ are trademarks and registered trademarks of Splunk Inc. in the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners.