Splunk Search

SearchLister module SearchSelectLister_0_1_0 was not given a search or a saved search name to power itself and thus cannot render any data

jangid
Builder

Whats wrong in my xml?

<fieldset autoRun="true">
        <input type="time" searchWhenChanged="true">
            <default>Last 12 Hours</default>
        </input>
        <input type="dropdown" token="JT_JOB_ID">
            <label>Select Job ID</label>
            <populatingsavedsearch fieldForValue="JT_JOB" fieldForLabel="JT_JOB">cob_job_list</populatingsavedsearch>
        </input>
</fieldset>

myapp/local/savedsearches.conf

[cob_job_list]
is_visible = false
search = eventtype=counters_jt | table JT_JOB | dedup JT_JOB | sort JT_JOB

Tags (1)
1 Solution

sideview
SplunkTrust
SplunkTrust

when you use <populatingSearch> and <populatingSavedSearch>, the tags are case-sensitive and they have to be in camel-case like that, not all lowercase. I think that's your only problem.

The simplified XML doesn't have validation that could tell you that you have an undefined param and you have no populatingSavedSearch param, so it's only telling you about the latter problem.

View solution in original post

sideview
SplunkTrust
SplunkTrust

when you use <populatingSearch> and <populatingSavedSearch>, the tags are case-sensitive and they have to be in camel-case like that, not all lowercase. I think that's your only problem.

The simplified XML doesn't have validation that could tell you that you have an undefined param and you have no populatingSavedSearch param, so it's only telling you about the latter problem.

jangid
Builder

If I load this search (cob_job_list) its give me list of all available ID and If I use search terms here it'll also fill the combo but problem with only populatingsavedsearch.

0 Karma
Get Updates on the Splunk Community!

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

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...