All Apps and Add-ons

Cannot untar "Command Modular Input" app...

sunrise
Contributor

I'm interested in Modular Input.
So first of all, I tried to reverse-engineer Apps "Command Modular Input".
Command Modular Input - Splunk Community

But both GNU tar command and BSD tar command cannot untar the app.
How to set up this App...

# tar --version
tar (GNU tar) 1.23
# tar xvfz command_ta-1.0beta.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
# ls -l command_ta-1.0beta.tar.gz
-rw-r--r--. 1 root root 2311 Jun 26 09:00 command_ta-1.0beta.tar.gz
# cat /etc/redhat-release
CentOS release 6.2 (Final)

Thank you.

Tags (1)
0 Karma
1 Solution

sunrise
Contributor

I'm sorry. Maybe contents filter in my office.

View solution in original post

0 Karma

sunrise
Contributor

I'm sorry. Maybe contents filter in my office.

0 Karma

sunrise
Contributor

I had another try.
I made a mistake of previous comment.
Actually tar file is HTML document, not XML doc.

file command_ta-1.0beta.tar.gz
command_ta-1.0beta.tar.gz: gzip compressed data, from Unix

gunzip command_ta-1.0beta.tar.gz

file command_ta-1.0beta.tar
command_ta-1.0beta.tar: HTML document text

0 Karma

sunrise
Contributor

Possibly....

0 Karma

Damien_Dallimor
Ultra Champion

Sorry , I can't reproduce your issue. Same GNU tar version , tried on several different Nix platforms.

Maybe your download got corrupted ?

sunrise
Contributor

I download it through "Download App button".
And I can unzip the file, but it remains text(XML) file as "command_ta-1.0beta.tar"....

0 Karma

Damien_Dallimor
Ultra Champion

Works fine for me when I download it from SplunkBase : tar -xzf command_ta-1.0beta.tar.gz

Tried it on 4 different OS to be sure 🙂

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...