<?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: Display ticket status and count in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Display-ticket-status-and-count/m-p/552466#M156814</link>
    <description>&lt;P&gt;If more than one group can work on a ticket then the group name cannot be in the base query.&amp;nbsp; Filter by group name after filtering on status.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo source=bar
| stats latest(STATUS) as STATUS, latest(GROUP) as GROUP by TICKET
| search STATUS IN ("Assigned", "Work in Progress") AND GROUP="ABC"&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 21 May 2021 00:24:51 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-05-21T00:24:51Z</dc:date>
    <item>
      <title>Display ticket status and count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-ticket-status-and-count/m-p/552460#M156813</link>
      <description>&lt;P&gt;Need help with a query please:&lt;BR /&gt;I have ticket data where the life cycle is Assigned, Work in Progress, Fixed, Closed and the ticket is assigned to our group ABC. I want to display only the tickets which are assigned and in progress to our group ABC.&lt;/P&gt;&lt;P&gt;My end goal is to show ABC group's ticket count which are not fixed and closed. I have the below query so far:&lt;/P&gt;&lt;P class="lia-align-justify"&gt;TICKET&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;STATUS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GROUP&lt;BR /&gt;TIC12345&amp;nbsp; &amp;nbsp;Assigned&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ABC&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Work in Progress&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ABC&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fixed&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DEF&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Closed&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DEF&lt;/P&gt;&lt;P&gt;index=* source=* group=ABC&lt;BR /&gt;| stats latest(status) as l_status latest(group) as l_group by TICKET&lt;BR /&gt;| search NOT l_status in("Fixed", "Closed")&lt;/P&gt;&lt;P&gt;Result:&lt;BR /&gt;TICKET&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STATUS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GROUP&lt;BR /&gt;TIC12345&amp;nbsp; Work in Progress&amp;nbsp; &amp;nbsp;ABC&lt;/P&gt;&lt;P&gt;I was able to get the data however, I'm also getting ticket which are closed(because it is initially assigned to ABC and later it was closed by DEF). Appreciate your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 22:05:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-ticket-status-and-count/m-p/552460#M156813</guid>
      <dc:creator>nischal45</dc:creator>
      <dc:date>2021-05-20T22:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Display ticket status and count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-ticket-status-and-count/m-p/552466#M156814</link>
      <description>&lt;P&gt;If more than one group can work on a ticket then the group name cannot be in the base query.&amp;nbsp; Filter by group name after filtering on status.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo source=bar
| stats latest(STATUS) as STATUS, latest(GROUP) as GROUP by TICKET
| search STATUS IN ("Assigned", "Work in Progress") AND GROUP="ABC"&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 21 May 2021 00:24:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-ticket-status-and-count/m-p/552466#M156814</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-05-21T00:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Display ticket status and count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-ticket-status-and-count/m-p/552470#M156817</link>
      <description>&lt;P&gt;I agree but the amount of data i’m dealing with is in millions and was trying to save some computing power.&lt;/P&gt;&lt;P&gt;Do you think this query would take lot of processing power if &amp;nbsp;i’m searching for ~11 months of &amp;nbsp;data.&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 01:41:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-ticket-status-and-count/m-p/552470#M156817</guid>
      <dc:creator>nischal45</dc:creator>
      <dc:date>2021-05-21T01:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Display ticket status and count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-ticket-status-and-count/m-p/552555#M156850</link>
      <description>&lt;P&gt;I understand wanting (or needing) to reduce the number of events looked at, but we shouldn't throw away data we need for the query to work.&amp;nbsp; How long it will take to process millions of events depends on how many indexers are doing the processing and how well distributed the data is.&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 12:19:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-ticket-status-and-count/m-p/552555#M156850</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-05-21T12:19:36Z</dc:date>
    </item>
  </channel>
</rss>

