Getting Data In

Splunk dashboard not showing up the results

gowthammahes
Path Finder

Hello All,

 

I have created a dashboard and it is always showing no results found. But when i click on open in search or directly running the search query it is showing the results. can anyone help please.

<form version="1.1" theme="light">
<label>Successful connections by an IP range dashboard</label>
<search id="base_srch">
<query>index=prod sourcetype=auth_logs</query>
<earliest>$time.earliest$</earliest>
<latest>$time.latest$</latest>
</search>
<fieldset submitButton="false">
<input type="time" token="time" searchWhenChanged="true">
<label>test</label>
<default>
<earliest>-4h@m</earliest>
<latest>now</latest>
</default>
</input>
</fieldset>
<row>
<panel>
<chart>
<search base="base_srch">
<query>|stats count by ip</query>
</search>
<option name="charting.chart">pie</option>
<option name="charting.drilldown">none</option>
</chart>
</panel>
</row>
</form>
Labels (1)
Tags (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Try adding a table command to your base search

<search id="base_srch">
<query>index=prod sourcetype=auth_logs | table ip</query>

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

Try adding a table command to your base search

<search id="base_srch">
<query>index=prod sourcetype=auth_logs | table ip</query>
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...