Getting Data In

Custom Search Command pass arguments as subsearch

Unige2021
Loves-to-Learn

I need to pass two values to my Custom Search Command.

These are my Options:

 

 

 

x = Option(require=True)
y = Option(require=True)

 

 

 

 I want to pass those via a subsearch. I tried:

 

 

 

my_custom_search x=[search type="GGA" | stats latest(latitude) as x, latest(longitude)as y]

 

 

 

 However Splunk complains about missing y options!

How can I achieve what I wont?

Thank you in advance!

Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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