<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating Dashboard/Tables in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189857#M11805</link>
    <description>&lt;P&gt;Yes, I did... I actually took out categoryOutcome and replaced with _time&lt;BR /&gt;
dproc=sshd categoryOutcome=/Fail (src= OR shost= OR dvc= OR dvchost= OR suser= OR duser= OR msg=*)| table _time src shost dvc dvchost suser duser msg&lt;BR /&gt;
| fillnull value=("NA" OR "")&lt;BR /&gt;
    |top 20 _time src shost dvc dvchost suser duser msg&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jun 2014 11:39:26 GMT</pubDate>
    <dc:creator>chungmp</dc:creator>
    <dc:date>2014-06-09T11:39:26Z</dc:date>
    <item>
      <title>Creating Dashboard/Tables</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189850#M11798</link>
      <description>&lt;P&gt;Thank you for coming by a few weeks ago.&lt;BR /&gt;&lt;BR /&gt;
I am trying to create Dashboard for failed login- however since we are getting data from multiple sources, i.e. syslog, CEF, etc.. we don’t have the same fields in the results.&lt;/P&gt;

&lt;P&gt;For example- I am trying to create a table that display failed login results for all sshd processes (and they come from different type of sources- ie. Some may have suser field, some may not, and what I have realized is that the result will only display those with “src shost dvc dvchost suser duser msg”, where the fields are empty it will omit them.  Hence I am missing events.&lt;/P&gt;

&lt;P&gt;dproc=sshd categoryOutcome=/Fail*|top 20 categoryOutcome src shost dvc dvchost suser duser msg&lt;/P&gt;

&lt;P&gt;I hope I make sense. Please let me know if you have any questions/what I need to change?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2014 17:23:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189850#M11798</guid>
      <dc:creator>chungmp</dc:creator>
      <dc:date>2014-06-05T17:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Dashboard/Tables</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189851#M11799</link>
      <description>&lt;P&gt;Try something like this:&lt;BR /&gt;
&lt;STRONG&gt;UPDATED&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;dproc=sshd categoryOutcome=/Fail* (categoryOutcome=* OR src=* OR shost=* OR dvc=* OR dvchost=* OR suser=* OR duser=* OR msg=*)| eval categoryOutcome=coalesce(categoryOutcome ,"NA") | eval  src=coalesce(src ,"NA")  | eval shost=coalesce(shost ,"NA")  | eval dvc=coalesce(dvc ,"NA")  | eval dvchost=coalesce(dvchost ,"NA")  | eval suser=coalesce(suser ,"NA")  | eval duser=coalesce(duser ,"NA")  | eval msg=coalesce(msg ,"NA") 
|top 20 categoryOutcome src shost dvc dvchost suser duser msg
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; dproc=sshd categoryOutcome=/Fail* (categoryOutcome=* OR src=* OR shost=* OR dvc=* OR dvchost=* OR suser=* OR duser=* OR msg=*)| table categoryOutcome src shost dvc dvchost suser duser msg
| fillnull value="NA"
    |top 20 categoryOutcome src shost dvc dvchost suser duser msg
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will replace unavailable fields with values "NA", so that all events will get listed.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Give this a try&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;dproc=sshd categoryOutcome=/Fail* | eval shouldInclude=if(isnull(categoryOutcome) AND isnull(src) AND isnull(shost) AND isnull(dvc) AND isnull(dvchost) AND isnull(suser) AND isnull(duser) AND isnull(msg),"No","Yes") | where shouldInclude="Yes" | fillnull value="N/A" |top 20 categoryOutcome src shost dvc dvchost suser duser msg
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Jun 2014 18:15:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189851#M11799</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-05T18:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Dashboard/Tables</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189852#M11800</link>
      <description>&lt;P&gt;Thank you!!&lt;/P&gt;

&lt;P&gt;There is a line w/ all N/A values, except for time- I added _time, which i believe is my own searches in splunk.  How can I get rid of that?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2014 18:51:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189852#M11800</guid>
      <dc:creator>chungmp</dc:creator>
      <dc:date>2014-06-05T18:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Dashboard/Tables</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189853#M11801</link>
      <description>&lt;P&gt;Try with updated answer.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2014 19:15:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189853#M11801</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-05T19:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Dashboard/Tables</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189854#M11802</link>
      <description>&lt;P&gt;Thank you!  I tried that and it works however, now I get a line with "&lt;EM&gt;" for all fields, except time column.  I also tried:| fillnull value=("NA" OR "&lt;/EM&gt;") but didn't help (please see below).  Thanks!&lt;/P&gt;

&lt;P&gt;dproc=sshd categoryOutcome=/Fail* (categoryOutcome=* OR src=* OR shost=* OR dvc=* OR dvchost=* OR suser=* OR duser=* OR msg=&lt;EM&gt;)| table categoryOutcome src shost dvc dvchost suser duser msg&lt;BR /&gt;
| fillnull value=("NA" OR "&lt;/EM&gt;")&lt;BR /&gt;
    |top 20 categoryOutcome src shost dvc dvchost suser duser msg&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2014 19:59:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189854#M11802</guid>
      <dc:creator>chungmp</dc:creator>
      <dc:date>2014-06-05T19:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Dashboard/Tables</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189855#M11803</link>
      <description>&lt;P&gt;Also, The results displays a row that says "NA" for all fields and one of them says "None", which I modified | fillnull value=("NA" OR "None"), but then I got missing results - i.e. some results disappeared that was there before if I just have | fillnull value="NA"&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2014 20:00:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189855#M11803</guid>
      <dc:creator>chungmp</dc:creator>
      <dc:date>2014-06-05T20:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Dashboard/Tables</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189856#M11804</link>
      <description>&lt;P&gt;How are you getting the _time column? I am not seeing that being used in your query.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2014 20:06:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189856#M11804</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-05T20:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Dashboard/Tables</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189857#M11805</link>
      <description>&lt;P&gt;Yes, I did... I actually took out categoryOutcome and replaced with _time&lt;BR /&gt;
dproc=sshd categoryOutcome=/Fail (src= OR shost= OR dvc= OR dvchost= OR suser= OR duser= OR msg=*)| table _time src shost dvc dvchost suser duser msg&lt;BR /&gt;
| fillnull value=("NA" OR "")&lt;BR /&gt;
    |top 20 _time src shost dvc dvchost suser duser msg&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2014 11:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Creating-Dashboard-Tables/m-p/189857#M11805</guid>
      <dc:creator>chungmp</dc:creator>
      <dc:date>2014-06-09T11:39:26Z</dc:date>
    </item>
  </channel>
</rss>

