Splunk Dev

External Command without makeresults

rdownie
Communicator

 I wrote an external command in python and the only way I can get it to work is to put a | makeresults prior to it in the search. | makeresults | mycustomcommand | 

My command just pulls back an array of data through a rest call. I am not passing it any arguments. I have tried setting streaming to both "true" and "false". I have also tried setting generating to both "true" and "false" in the commands.conf. Can someone tell me the correct setting so I can just run:

| mycustomcommand

Currently if I run it like that I do not get any results (also no errors).

Any help would be appreciated.

Thanks,

-Bob

 

 

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...