Splunk Search

How to write a custom generating command which can leverage the single input to collect data and write the output as events to an index?

panovattack
Communicator

I am trying to find a good tutorial (yes, I have looked at the splunk documents) on writing a custom generating command which will take a single input, leverage the input to collect data (over an API call perhaps) and then write the output as events to an index. I can't seem to find good boiler-plate examples in the SDK, while they do provide templates. Are there any tutorials out there?

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

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