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
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!

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...