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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Introducing ITSI 5.0: Unified Visibility and Actionable Insights

Introducing ITSI 5.0: Unified Visibility and Actionable Insights Tuesday, July 21, 2026  |  10:00AM PT / ...

Inside Splunk Agent Observability: Understanding Agent Behavior, Tokens & Costs

Inside Splunk Agent Observability:Understanding Agent Behavior, Tokens & Costs Thursday, August 06, ...

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...