<?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 How to create a dashboard search with the condition &amp;quot;If status is not success, show error code, type, and message on the same row&amp;quot;? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-search-with-the-condition-quot-If/m-p/257917#M77251</link>
    <description>&lt;P&gt;I want to create a dashboard with a table listing integration name and execution status with the following condition:&lt;/P&gt;

&lt;P&gt;If execution status is different than success -&amp;gt; on same row, show error code, error type, and error message&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2016 19:51:28 GMT</pubDate>
    <dc:creator>splgeek</dc:creator>
    <dc:date>2016-10-17T19:51:28Z</dc:date>
    <item>
      <title>How to create a dashboard search with the condition "If status is not success, show error code, type, and message on the same row"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-search-with-the-condition-quot-If/m-p/257917#M77251</link>
      <description>&lt;P&gt;I want to create a dashboard with a table listing integration name and execution status with the following condition:&lt;/P&gt;

&lt;P&gt;If execution status is different than success -&amp;gt; on same row, show error code, error type, and error message&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 19:51:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-search-with-the-condition-quot-If/m-p/257917#M77251</guid>
      <dc:creator>splgeek</dc:creator>
      <dc:date>2016-10-17T19:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard search with the condition "If status is not success, show error code, type, and message on the same row"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-search-with-the-condition-quot-If/m-p/257918#M77252</link>
      <description>&lt;P&gt;Assuming the fields integrationName, executionStatus (success/failure), errorCode, errorType and errorMessage are already extracted use below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yourQuery to return all the fields
| table  integrationName, executionStatus, errorCode, errorType and errorMessage | where executionStatus!="success"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Oct 2016 19:55:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-search-with-the-condition-quot-If/m-p/257918#M77252</guid>
      <dc:creator>gokadroid</dc:creator>
      <dc:date>2016-10-17T19:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard search with the condition "If status is not success, show error code, type, and message on the same row"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-search-with-the-condition-quot-If/m-p/257919#M77253</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=ko_mulesoft source="*" source="*" "LOG.Execution.Status"="*" | table source, LOG.Execution.Status
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Above search got me 278 3 results.&lt;/P&gt;

&lt;P&gt;Next part to achieve is&lt;BR /&gt;
&lt;EM&gt;if execution status is different than success -&amp;gt; on same row, show error code, error type and error message&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;How do I achieve that?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 20:10:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-search-with-the-condition-quot-If/m-p/257919#M77253</guid>
      <dc:creator>splgeek</dc:creator>
      <dc:date>2016-10-17T20:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard search with the condition "If status is not success, show error code, type, and message on the same row"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-search-with-the-condition-quot-If/m-p/257920#M77254</link>
      <description>&lt;P&gt;Looks like the "LOG.Execution.Status" is part of your data as a string and not as a field. You need to first extract the fields from your data strings&lt;/P&gt;

&lt;P&gt;How to extract fields, see here:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Knowledge/Managesearch-timefieldextractions"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Knowledge/Managesearch-timefieldextractions&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Once the fields are extracted then you should run the query I put in where each of these is a Field in which your event data is saved as a result.&lt;/P&gt;

&lt;P&gt;integrationName, executionStatus, errorCode, errorType and errorMessage &lt;/P&gt;

&lt;P&gt;Else if you can paste your mulesoft log line here which has all the required data which you want to extract info from so I can assist you with the fields extraction.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 20:45:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-search-with-the-condition-quot-If/m-p/257920#M77254</guid>
      <dc:creator>gokadroid</dc:creator>
      <dc:date>2016-10-17T20:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard search with the condition "If status is not success, show error code, type, and message on the same row"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-search-with-the-condition-quot-If/m-p/257921#M77255</link>
      <description>&lt;P&gt;I extracted Log.Execution.Status as a field , and now its pulls up all the status&lt;/P&gt;

&lt;P&gt;How do i add another row in the table for this logic&lt;/P&gt;

&lt;P&gt;If execution status is different than success -&amp;gt; on same row, show error code, error type, and error message&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 13:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-dashboard-search-with-the-condition-quot-If/m-p/257921#M77255</guid>
      <dc:creator>splgeek</dc:creator>
      <dc:date>2016-10-18T13:52:20Z</dc:date>
    </item>
  </channel>
</rss>

