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!

How Edge Processor's Durable Queue Works

Edge Processor sits in one of the most consequential places in any Splunk pipeline: between your data sources ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Quantify Your Splunk Investment Impact: Introducing Savings Metrics to Value Insights

Building on the foundation established in our initial Value Insights releases, we are introducing the Savings ...