Hi,
I am creating a custom view dashboard. In that I'm trying to utilize the same search to extract a single value and then modify that search slightly to put the rest of the results in a column chart. I would think that this would be fairly easy, but I'm missing something. I could just have two separate searches but that would be an inefficient use of resources.
In the example below I try to create a child "HiddenSearch". I don't get any errors, but all I see in the view is "No Result Data"
Any help would be appreciated.
<view template="dashboard.html">
<label>myapp Ideitity Verification</label>
<module name="AccountBar" layoutPanel="appHeader" />
<module name="AppBar" layoutPanel="navigationHeader" />
<module name="Message" layoutPanel="messaging">
<param name="filter">*</param>
<param name="clearOnJobDispatch">False</param>
<param name="maxSize">1</param>
</module>
<module name="TitleBar" layoutPanel="viewHeader">
<param name="actionsMenuFilter">dashboard</param>
</module>
<module name="TimeRangePicker" group="Success Rate" layoutPanel="panel_row1_col1">
<param name="selected">Last 7 days</param>
<param name="searchWhenChanged">True</param>
<module name="GenericHeader">
<param name="label">Succcess Rate</param>
<module name="HiddenSearch" autoRun="True">
<param name="search">sourcetype="myapp_app_audit" End | stats count(eval((operation="ResetPIN" AND ref_step="Resolve" AND step="CheckAnswer") OR (operation="SetACI" AND ref_step="Resolve" AND (step="NeedNewCID" OR step="ForgotCID")) OR (operation="CreatePIN" AND ref_step="Resolve" AND match(step,"Register*")) OR (operation="ChangePIN" AND step="Change" AND ref_step="Resolve"))) AS Succeeded, count(eval(ref_step="InitNoAuth" AND step="Resolve")) AS Attempted | eval Failed=Attempted-Succeeded |eval SuccessRate=round(Succeeded/Attempted,2)</param>
<module name="SingleValue">
<param name="beforeLabel">Success Rate</param>
<param name="format">percent</param>
<param name="field">SuccessRate</param>
</module>
<module name="HiddenSearch" autoRun="True">
<param name="search">|fields Attempted Failed Succeeded|untable "status" "status" "count"</param>
<module name="HiddenChartFormatter">
<param name="chart">column</param>
<param name="primaryAxisTitle.text">Accumulated Totals</param>
<param name="secondaryAxisTitle.text">Transaction Count</param>
<param name="legend.placement">none</param>
<module name="JobProgressIndicator" />
<module name="FlashChart">
<param name="width">100%</param>
<param name="height">200px</param>
</module>
<module name="SimpleResultsTable" />
</module>
</module>
</module>
</module>
</module>
</view>
... View more