<?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: Status Field Showing Both the values in same field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687070#M234337</link>
    <description>&lt;P&gt;This is because the transaction ids have events with both sorts of status. If you just want the latest, you could try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|stats latest(Status) as Status by transactionId&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 09 May 2024 16:59:24 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-05-09T16:59:24Z</dc:date>
    <item>
      <title>Status Field Showing Both the values in same field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687067#M234335</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;This the query which i try to get status.But in the table its shows both error and success.PFA screenshot&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| eval Status=case(priority="ERROR" AND tracePoint="EXCEPTION" OR message="*Error while processing*","ERROR", priority="WARN","WARN",priority!="ERROR" AND tracePoint!="EXCEPTION" OR message!="*(ERROR):*","SUCCESS") |stats values(Status) as Status by transactionId&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 May 2024 17:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687067#M234335</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-05-09T17:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Status Field Showing Both the values in same field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687070#M234337</link>
      <description>&lt;P&gt;This is because the transaction ids have events with both sorts of status. If you just want the latest, you could try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|stats latest(Status) as Status by transactionId&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 May 2024 16:59:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687070#M234337</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-05-09T16:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Status Field Showing Both the values in same field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687071#M234338</link>
      <description>&lt;P&gt;If i use some of the transactionID is error but some of its showing as Success.If the priority=error and exception="error" but the status is SUCCESS.I dont know y.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 17:12:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687071#M234338</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-05-09T17:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Status Field Showing Both the values in same field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687074#M234339</link>
      <description>&lt;P&gt;Please provide some anonymised representative events which demonstrate the issue you are facing, what results you are getting, and your expected results.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 17:17:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687074#M234339</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-05-09T17:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Status Field Showing Both the values in same field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687078#M234340</link>
      <description>&lt;P&gt;Based on priority field and tracepoint field i am getting the status field.If priority is error and tracepoint as exception then i set status as per the keyword.But in some case its showing both ERROR and SUCCESS.&lt;/P&gt;&lt;TABLE border="1" width="99.83660130718954%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="82.6797385620915%"&gt;Message&lt;/TD&gt;&lt;TD width="5.065359477124183%"&gt;priority&lt;/TD&gt;&lt;TD width="12.091503267973856%"&gt;tracepoint&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;After Common SFTP Get File List Response&lt;/TD&gt;&lt;TD&gt;INFO&lt;/TD&gt;&lt;TD&gt;AFTER_REQUEST&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="82.6797385620915%"&gt;After Common SFTP Get File List Response&lt;/TD&gt;&lt;TD width="5.065359477124183%"&gt;INFO&lt;/TD&gt;&lt;TD width="12.091503267973856%"&gt;AFTER_REQUEST&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="82.6797385620915%"&gt;Before Common SFTP Get File Data Request&lt;/TD&gt;&lt;TD width="5.065359477124183%"&gt;INFO&lt;/TD&gt;&lt;TD width="12.091503267973856%"&gt;BEFORE_REQUEST&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="82.6797385620915%"&gt;Before Common SFTP Get File List Request&lt;/TD&gt;&lt;TD width="5.065359477124183%"&gt;INFO&lt;/TD&gt;&lt;TD width="12.091503267973856%"&gt;BEFORE_REQUEST&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="82.6797385620915%"&gt;Before Common SFTP Archive File Request&lt;/TD&gt;&lt;TD width="5.065359477124183%"&gt;INFO&lt;/TD&gt;&lt;TD width="12.091503267973856%"&gt;BEFORE_REQUEST&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="82.6797385620915%"&gt;File Upload Request for BEFORE_REQUEST&lt;/TD&gt;&lt;TD width="5.065359477124183%"&gt;INFO&lt;/TD&gt;&lt;TD width="12.091503267973856%"&gt;BEFORE_REQUEST&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="82.6797385620915%"&gt;File Upload to in SFTP mode. &amp;gt;&amp;gt;&amp;gt; END&lt;/TD&gt;&lt;TD width="5.065359477124183%"&gt;INFO&lt;/TD&gt;&lt;TD width="12.091503267973856%"&gt;END&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="82.6797385620915%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="5.065359477124183%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="12.091503267973856%"&gt;END&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="82.6797385620915%"&gt;File Upload Request for f&lt;/TD&gt;&lt;TD width="5.065359477124183%"&gt;ERROR&lt;/TD&gt;&lt;TD width="12.091503267973856%"&gt;EXCEPTION&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="82.6797385620915%"&gt;Error while trying to upload file to GCP from Common SFTP&lt;/TD&gt;&lt;TD width="5.065359477124183%"&gt;ERROR&lt;/TD&gt;&lt;TD width="12.091503267973856%"&gt;EXCEPTION&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="82.6797385620915%"&gt;DEV(ERROR): Error while processing System request&lt;/TD&gt;&lt;TD width="5.065359477124183%"&gt;INFO&lt;/TD&gt;&lt;TD width="12.091503267973856%"&gt;BEFORE_REQUEST&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 09 May 2024 17:28:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687078#M234340</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-05-09T17:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Status Field Showing Both the values in same field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687099#M234350</link>
      <description>&lt;P&gt;So if a transaction has both ERROR and not ERROR, what do you want it to show?&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 22:01:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687099#M234350</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-05-09T22:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Status Field Showing Both the values in same field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687110#M234354</link>
      <description>&lt;P&gt;If error and exception then it should be error rest of them are success.but using the below query to get status still.i got both suuccess and error for the some of the transactions ID&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;| eval Status=case(priority="ERROR" AND tracePoint="EXCEPTION" OR message="*Error while processing*","ERROR", priority="WARN","WARN",priority!="ERROR" AND tracePoint!="EXCEPTION" OR message!="*(ERROR):*","SUCCESS") |stats values(Status) as Status by transactionId&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 May 2024 02:00:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687110#M234354</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-05-10T02:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Status Field Showing Both the values in same field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687135#M234367</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval Status=case(priority="ERROR" AND tracePoint="EXCEPTION" OR message="*Error while processing*","ERROR", priority="WARN","WARN",priority!="ERROR" AND tracePoint!="EXCEPTION" OR message!="*(ERROR):*","SUCCESS") |stats values(Status) as Status by transactionId
| eval Status=mvindex(Status, 0)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 10 May 2024 08:06:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Status-Field-Showing-Both-the-values-in-same-field/m-p/687135#M234367</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-05-10T08:06:31Z</dc:date>
    </item>
  </channel>
</rss>

