<?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: Table for Linux Message Log Error and Warning Logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Table-for-Linux-Message-Log-Error-and-Warning-Logs/m-p/105026#M27232</link>
    <description>&lt;P&gt;So it seems like the default drilldown from your dashboard table is not passing the whole query/correct query to flashtimeline, so you are getting no data. you might have a Redirector module within your table module. you can configure it to pass the exact query that you want to pass in the arg.q parameter. You can customize it with the row/field user clicked.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;module name="Redirector"&amp;gt;
      &amp;lt;param name="popup"&amp;gt;True&amp;lt;/param&amp;gt;
      &amp;lt;param name="url"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;
      &amp;lt;param name="arg.earliest"&amp;gt;$search.timeRange.earliest$&amp;lt;/param&amp;gt;
      &amp;lt;param name="arg.latest"&amp;gt;$search.timeRange.latest$&amp;lt;/param&amp;gt;
      &amp;lt;param name="arg.q"&amp;gt;search index=$index$ sourcetype="$sourcetype$" source="$source$" $click.fields.Field Name$&amp;lt;/param&amp;gt;
&amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 15 Nov 2013 16:36:17 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2013-11-15T16:36:17Z</dc:date>
    <item>
      <title>Table for Linux Message Log Error and Warning Logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-for-Linux-Message-Log-Error-and-Warning-Logs/m-p/105025#M27231</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have quite number of Linux machine and I have sent their logs to my Splunk. The scenario is I would like to get the table similar like below:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Hostname       Errors      Warnings&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;HostA            4           4&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;HostB           44           1&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I twisted my brain to do this since I am new to Splunk. Not like Windows, Windows log has Type field, where Linux log messages never categorize the log criticality. So I need to do my self. This is the one that I do:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;sourcetype="messages" fail | stats count as fails by host | join host [search sourcetype="messages" error | stats count as errs by host] | stats values(fails), values(errs) by host | rename values(fails) as Failures | rename values(errs) as Errors | rename host as Hostname&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;It works and I can put in the table. But, When I click it, it will come out with no result. Is ther any better way? or is there a way to put html link below my table on my dashboard, for example, drilldown. So user can just click that one and I can turn of the drilldown in the table.&lt;/P&gt;

&lt;P&gt;Please help&lt;/P&gt;

&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2011 08:39:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-for-Linux-Message-Log-Error-and-Warning-Logs/m-p/105025#M27231</guid>
      <dc:creator>marendra</dc:creator>
      <dc:date>2011-05-19T08:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Table for Linux Message Log Error and Warning Logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-for-Linux-Message-Log-Error-and-Warning-Logs/m-p/105026#M27232</link>
      <description>&lt;P&gt;So it seems like the default drilldown from your dashboard table is not passing the whole query/correct query to flashtimeline, so you are getting no data. you might have a Redirector module within your table module. you can configure it to pass the exact query that you want to pass in the arg.q parameter. You can customize it with the row/field user clicked.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;module name="Redirector"&amp;gt;
      &amp;lt;param name="popup"&amp;gt;True&amp;lt;/param&amp;gt;
      &amp;lt;param name="url"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;
      &amp;lt;param name="arg.earliest"&amp;gt;$search.timeRange.earliest$&amp;lt;/param&amp;gt;
      &amp;lt;param name="arg.latest"&amp;gt;$search.timeRange.latest$&amp;lt;/param&amp;gt;
      &amp;lt;param name="arg.q"&amp;gt;search index=$index$ sourcetype="$sourcetype$" source="$source$" $click.fields.Field Name$&amp;lt;/param&amp;gt;
&amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Nov 2013 16:36:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-for-Linux-Message-Log-Error-and-Warning-Logs/m-p/105026#M27232</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-15T16:36:17Z</dc:date>
    </item>
  </channel>
</rss>

