<?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 simplifying a (field extraction error) dashboard? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/simplifying-a-field-extraction-error-dashboard/m-p/482879#M135238</link>
    <description>&lt;P&gt;Possible to use the results of the same search in multiple panels on the same dashboard, and with different visualizations for them? (By the "same search" I mean: run it once, present results in several places via different means.)&lt;/P&gt;

&lt;P&gt;Reason: make it faster, use less resources.&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="data quality dashboard"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8762i84B5329D9B571BFC/image-size/large?v=v2&amp;amp;px=999" role="button" title="data quality dashboard" alt="data quality dashboard" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;All four panels of the above dashboard use basically the same search that checks if a field &lt;CODE&gt;message&lt;/CODE&gt; was extracted, and reports the stats highlighting the number of events where that field is not present.&lt;/P&gt;

&lt;P&gt;Notes:&lt;BR /&gt;
- Field &lt;CODE&gt;message&lt;/CODE&gt; &lt;EM&gt;should&lt;/EM&gt; be present in &lt;STRONG&gt;all&lt;/STRONG&gt; events; if it's not - it's a field extraction error.&lt;BR /&gt;
- The error is not necessarily the result of a bad field extraction regex - it could also be the result of a malformed event, event breaking too soon, etc.&lt;BR /&gt;
- The top right panel is all that is needed - yet the other panels do help - I'd like to keep them there - although not at the expense of running multiple redundant searches.&lt;/P&gt;

&lt;P&gt;The search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="some_sourcetype" 
| eval "Field Extraction Error(s)" = if(isnull(message),"present","not present")
| stats sparkline count by "Field Extraction Error(s)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Possible?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 24 Apr 2020 19:45:52 GMT</pubDate>
    <dc:creator>mitag</dc:creator>
    <dc:date>2020-04-24T19:45:52Z</dc:date>
    <item>
      <title>simplifying a (field extraction error) dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simplifying-a-field-extraction-error-dashboard/m-p/482879#M135238</link>
      <description>&lt;P&gt;Possible to use the results of the same search in multiple panels on the same dashboard, and with different visualizations for them? (By the "same search" I mean: run it once, present results in several places via different means.)&lt;/P&gt;

&lt;P&gt;Reason: make it faster, use less resources.&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="data quality dashboard"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8762i84B5329D9B571BFC/image-size/large?v=v2&amp;amp;px=999" role="button" title="data quality dashboard" alt="data quality dashboard" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;All four panels of the above dashboard use basically the same search that checks if a field &lt;CODE&gt;message&lt;/CODE&gt; was extracted, and reports the stats highlighting the number of events where that field is not present.&lt;/P&gt;

&lt;P&gt;Notes:&lt;BR /&gt;
- Field &lt;CODE&gt;message&lt;/CODE&gt; &lt;EM&gt;should&lt;/EM&gt; be present in &lt;STRONG&gt;all&lt;/STRONG&gt; events; if it's not - it's a field extraction error.&lt;BR /&gt;
- The error is not necessarily the result of a bad field extraction regex - it could also be the result of a malformed event, event breaking too soon, etc.&lt;BR /&gt;
- The top right panel is all that is needed - yet the other panels do help - I'd like to keep them there - although not at the expense of running multiple redundant searches.&lt;/P&gt;

&lt;P&gt;The search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="some_sourcetype" 
| eval "Field Extraction Error(s)" = if(isnull(message),"present","not present")
| stats sparkline count by "Field Extraction Error(s)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Possible?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 19:45:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simplifying-a-field-extraction-error-dashboard/m-p/482879#M135238</guid>
      <dc:creator>mitag</dc:creator>
      <dc:date>2020-04-24T19:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: simplifying a (field extraction error) dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/simplifying-a-field-extraction-error-dashboard/m-p/482880#M135239</link>
      <description>&lt;P&gt;Yes, it's possible.  It's also common and recommended.  Splunk calls it "post-processing" and you can read about it at &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/Viz/Savedsearches#Post-process_searches_2"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/Viz/Savedsearches#Post-process_searches_2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 19:55:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/simplifying-a-field-extraction-error-dashboard/m-p/482880#M135239</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-24T19:55:53Z</dc:date>
    </item>
  </channel>
</rss>

