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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...