Getting Data In

Bypassing normal system/local/props.conf processing for .tar.gz files

adrienG
Engager

Hello, I develop my own Splunk App for specific file. 

These files are archive files with the ".tar.gz" extension and the filename end with "myapp". I make my own props.conf in my App : 

[preprocess-myapparchive]
invalid_cause = archive
is_valid = False
LEARN_MODEL = false

[source::...myapp.tar.gz]
unarchive_cmd = /opt/splunk/etc/apps/myapp/bin/myapp.py
NO_BINARY_CKECK = true
sourcetype = preprocess-myapparchive
priority = 10002

 

It seems like my [source::...myapp.tar.gz] stanza is never called because Splunk catch the file as .tar.gz and try to uncompress the archive file. How i can bypass the splunk system configuration for .tar.gz files ? 

My problem is relative to this post : https://community.splunk.com/t5/Getting-Data-In/ArchiveProcessor-Bypassing-normal-system-local-props...but the answer provided is not correct with my needs as I can't modify the /system/local/props.conf file...

Labels (4)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...