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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...