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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...