I have two dropdowns and want to get the selected value pass to the panel, but it shows this on the top:
"Error in 'search' command: Unable to parse the search: Comparator '=' has an invalid term on the left hand side."
Also when I clicked "inspect", it says: This search did not successfully execute. Any results returned from this job are not consistent and should not be used.
search index=nagios sourcetype=nagiosserviceperf host= name=read_job_245
Which means $host$ hasn't pass any values to host. The xml I have is below. Please give some advice on this, thanks.
<module name="SearchSelectLister" layoutPanel="viewHeader" autoRun="False">
<param name="staticFieldsToDisplay"/>
<param name="savedSearch">list nagios hosts</param>
<param name="label">Host</param>
<param name="settingToCreate">host_setting</param>
<param name="searchFieldsToDisplay">
<list>
<param name="value">host</param>
<param name="label">host</param>
</list>
</param>
<param name="searchWhenChanged">True</param>
<module name="ConvertToIntention">
<param name="settingToConvert">host_setting</param>
<param name="intention">
<param name="name">stringreplace</param>
<param name="arg">
<param name="host">
<param name="value">$target$</param>
</param>
</param>
</param>
<module name="SearchSelectLister">
<param name="searchWhenChanged">True</param>
<param name="settingToCreate">id_setting</param>
<param name="applyOuterIntentionsToInternalSearch">True</param>
<param name="search">index="nagios" sourcetype=nagiosserviceperf host=$host$| top 111 name | fields name | sort name</param>
<param name="label">JobID</param>
<param name="searchFieldsToDisplay">
<list>
<param name="value">name</param>
<param name="label">name</param>
</list>
</param>
<module name="Search" layoutPanel="panel_row1_col1">
<param name="search"> index=nagios sourcetype=nagiosserviceperf host=$host$ name=read_job_*| timechart max(success_rate) max(success_threshold) span=5m</param>
<module name="FlashChart">
<module name="HiddenChartFormatter">
<module name="FlashChart">
<param name="drilldownPrefix">click2</param>
</module>
</module>
</module>
</module>
</module>
</module>
... View more