Splunk Dev

Unknown search command 'helloworld' from helloworld app?

irom77
Explorer

I am trying helloworld app from BlogProjects/splunk-custom-search-command-python/hello_world at master · CptOfEvilMinions/BlogProjec.... Compressed and  Installed it from file (hello_world.spl). Then restarted Splunk...

But when trying "index="zeek" sourcetype="bro:conn:json" | helloworld" getting Unknown search command 'helloworld'.

 

# ls -l /opt/splunk/etc/apps/hello_world/
total 4
drwxr-xr-x 2 splunk splunk 28 Sep 21 06:44 bin
drwxr-xr-x 2 splunk splunk 43 Sep 21 06:44 default
drwxr-xr-x 7 splunk splunk 140 Sep 21 06:44 lib
drwxr-xr-x 2 splunk splunk 6 Sep 21 06:44 local
drwx------ 2 splunk splunk 24 Sep 21 06:44 metadata
-rw-r--r-- 1 splunk splunk 46 Sep 21 06:44 README.md
# ls -l /opt/splunk/etc/apps/hello_world/bin
total 4
-rwxr-xr-x 1 splunk splunk 491 Sep 21 06:44 hello_world.py
# cat /opt/splunk/etc/apps/hello_world/default/commands.conf
[helloworld]
python.version = python3
chunked = true

 

Labels (2)
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!

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

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...