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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...