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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...