<?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: Getting the occurrence count when there is no event for the same in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567589#M197820</link>
    <description>&lt;P&gt;I don't understand. timechart count by Status should show you number of events per span period or 0 if no events with given Status were present. And it works so in my case.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Sep 2021 06:28:16 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2021-09-20T06:28:16Z</dc:date>
    <item>
      <title>Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567587#M197819</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="av__0-1632118050182.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16047i1C865F9836481BEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="av__0-1632118050182.png" alt="av__0-1632118050182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the dummy dataset which has been created to address the issue I am facing.&lt;BR /&gt;I want to count the number of occurrences of the task with respect to its state per day three times.&lt;BR /&gt;I have tried using &lt;STRONG&gt;timechart span=3h count by state&lt;/STRONG&gt; in my query but I am unable to count the state when there is no event present for the same.&lt;/P&gt;&lt;P&gt;The output expected is :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="av__1-1632118088823.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16048i3F0A521DC2F09D9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="av__1-1632118088823.png" alt="av__1-1632118088823.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kindly help!!!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 06:10:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567587#M197819</guid>
      <dc:creator>av_</dc:creator>
      <dc:date>2021-09-20T06:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567589#M197820</link>
      <description>&lt;P&gt;I don't understand. timechart count by Status should show you number of events per span period or 0 if no events with given Status were present. And it works so in my case.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 06:28:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567589#M197820</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-09-20T06:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567591#M197821</link>
      <description>&lt;P&gt;Exactly!!! Timechart would show&amp;nbsp;&lt;SPAN&gt;0 if no events with given Status were present but I want the count of the state till the time the task is in a particular state. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;e.g. Num123 is in&amp;nbsp; Draft state from 3rd Sep to 10 Sep&lt;/STRONG&gt;. So the requirement if to count the task as 1 from&amp;nbsp;3rd Sep to 10 Sep in Draft. The logic behind this is that even though we have got the events only thrice (for Draft state) in Splunk but the task is continuously present in Draft state throughout beginning from 3rd Sep till 10the Sep.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 06:35:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567591#M197821</guid>
      <dc:creator>av_</dc:creator>
      <dc:date>2021-09-20T06:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567594#M197823</link>
      <description>&lt;P&gt;Ahhhh... so you want to "stretch" the occurences - to the dates between those that you have in readings?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 06:51:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567594#M197823</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-09-20T06:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567595#M197824</link>
      <description>&lt;P&gt;Yes, you got me now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Please help me with this.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 06:54:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567595#M197824</guid>
      <dc:creator>av_</dc:creator>
      <dc:date>2021-09-20T06:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567602#M197825</link>
      <description>&lt;P&gt;It ain't easy. And it will probably need some tweaking to account for the time near the transition between states but in general you need to find the start and end time for each state, then generate all needed times "in between" and fill the gaps. Something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| streamstats earliest(_time) as mintime by State reset_on_change=true
| stats max(_time) as maxtime values(State) by mintime 
| eval maxtime=if(mintime=maxtime,mintime+3*3600,maxtime) 
| eval times=mvrange(mintime,maxtime,3600)
| mvexpand times 
| fields - maxtime mintime
| rename times as _time&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 20 Sep 2021 08:03:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567602#M197825</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-09-20T08:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567621#M197830</link>
      <description>&lt;LI-CODE lang="markup"&gt;| gentimes start=-14
| streamstats count as row
| eval number="num123"
| eval state=case(row&amp;lt;8,"draft",row&amp;lt;14,"wip",true(),"complete")
| eval _time=if(row=8,starttime-(24*60*60)+60,if(row=14,starttime-(24*60*60)+60,starttime))
| where row%3!=0 AND row%5!=0
| table number state _time



| stats earliest(_time) as _time by number state
| sort _time
| eval _time=relative_time(_time,"@d") 
| makecontinuous _time span=1d
| filldown number state
| eval count=1
| xyseries _time state count
| fillnull value=0
| table _time draft wip complete&lt;/LI-CODE&gt;&lt;P&gt;The part before the blank lines sets up some dummy data&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 09:27:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567621#M197830</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-20T09:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567776#M197884</link>
      <description>&lt;P&gt;Hi!!!&lt;BR /&gt;Your solution works fine for one task but in the real dataset I have more than a hundred tasks. How to evaluate the count in such case?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 05:33:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567776#M197884</guid>
      <dc:creator>av_</dc:creator>
      <dc:date>2021-09-21T05:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567794#M197888</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| gentimes start=-14
| streamstats count as row
| eval number="num123"
| eval state=case(row&amp;lt;8,"draft",row&amp;lt;14,"wip",true(),"complete")
| eval _time=if(row=8,starttime-(24*60*60)+60,if(row=14,starttime-(24*60*60)+60,starttime))
| where row%3!=0 AND row%5!=0
| table number state _time
| append 
    [| gentimes start=-20
    | where starttime &amp;lt; relative_time(now(),"-6d")
| streamstats count as row
| eval number="num456"
| eval state=case(row&amp;lt;8,"draft",row&amp;lt;14,"wip",true(),"complete")
| eval _time=if(row=8,starttime-(24*60*60)+60,if(row=14,starttime-(24*60*60)+60,starttime))
| where row%3!=0 AND row%5!=0
| table number state _time
]


| stats earliest(_time) as _time by number state
| eval _time=relative_time(_time,"@d")
| xyseries _time number state 
| makecontinuous _time span=1d
| filldown
| untable _time number state
| eval count=1
| eval _time=_time."!".number
| xyseries _time state count
| fillnull value=0
| eval number=mvindex(split(_time,"!"),1)
| eval _time=mvindex(split(_time,"!"),0)
| table _time number draft wip complete&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 21 Sep 2021 08:05:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567794#M197888</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-21T08:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567835#M197897</link>
      <description>&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This worked for me.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 12:56:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/567835#M197897</guid>
      <dc:creator>av_</dc:creator>
      <dc:date>2021-09-21T12:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/568972#M198310</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The solution given by you is working perfectly fine but I am facing one issue with one scenario.&lt;/P&gt;&lt;P&gt;Let' say I have selected the time range as "All Time" and there is a task which is in Draft from 19-Feb-21 to 20-Feb-21, WIP from 21-Feb-21 to 23-Feb-21 and the task gets completed on 24-Feb-21.&amp;nbsp; Since, we have used "Filldown" in the query, it is filling all the timestamps with "Complete" till today which is wrong as we want only one entry for "Complete".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;PS: the "Filldown" is working fine for Draft &amp;amp; WIP. Since "Complete" is the last stage, so only one entry should be visible.&amp;nbsp; Is there any way to do that?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="av__0-1632931090322.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16204i73DBCDA8199E931E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="av__0-1632931090322.png" alt="av__0-1632931090322.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 16:00:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/568972#M198310</guid>
      <dc:creator>av_</dc:creator>
      <dc:date>2021-09-29T16:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/568984#M198312</link>
      <description>&lt;LI-CODE lang="markup"&gt;| gentimes start=-14
| streamstats count as row
| eval number="num123"
| eval state=case(row&amp;lt;8,"draft",row&amp;lt;14,"wip",true(),"complete")
| eval _time=if(row=8,starttime-(24*60*60)+60,if(row=14,starttime-(24*60*60)+60,starttime))
| where row%3!=0 AND row%5!=0
| table number state _time
| append 
    [| gentimes start=-20
    | where starttime &amp;lt; relative_time(now(),"-6d")
| streamstats count as row
| eval number="num456"
| eval state=case(row&amp;lt;8,"draft",row&amp;lt;14,"wip",true(),"complete")
| eval _time=if(row=8,starttime-(24*60*60)+60,if(row=14,starttime-(24*60*60)+60,starttime))
| where row%3!=0 AND row%5!=0
| table number state _time
]


| stats earliest(_time) as _time by number state
| eval _time=relative_time(_time,"@d")
| xyseries _time number state 
| makecontinuous _time span=1d
| filldown
| streamstats values(*) as * window=2 current=t
| untable _time number state
| eval state=if(state="complete",null(),mvindex(split(state," "),0))
| eval count=1
| eval _time=_time."!".number
| xyseries _time state count
| fillnull value=0
| eval number=mvindex(split(_time,"!"),1)
| eval _time=mvindex(split(_time,"!"),0)
| table _time number draft wip complete&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 29 Sep 2021 17:43:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/568984#M198312</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-29T17:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/569044#M198333</link>
      <description>&lt;P&gt;This one's not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 05:39:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/569044#M198333</guid>
      <dc:creator>av_</dc:creator>
      <dc:date>2021-09-30T05:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/569048#M198334</link>
      <description>&lt;P&gt;"Task123" is completed on 15-Mar-21 but the entry is getting extended till 04-Jun-21, that's because the other task "Task456" is getting completed on 04-Jun-21. So the requirement is that the Completed entry for "task123" shall only be restricted till 15-Mar-21.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="av__0-1632982360696.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16210i35E7637AD2DFF987/image-size/medium?v=v2&amp;amp;px=400" role="button" title="av__0-1632982360696.png" alt="av__0-1632982360696.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="av__1-1632982386744.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16211i2C9CFBBE5095A083/image-size/medium?v=v2&amp;amp;px=400" role="button" title="av__1-1632982386744.png" alt="av__1-1632982386744.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The entries marked in Yellow are not required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 06:13:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/569048#M198334</guid>
      <dc:creator>av_</dc:creator>
      <dc:date>2021-09-30T06:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/569059#M198339</link>
      <description>&lt;P&gt;Which version of splunk are you using?&lt;/P&gt;&lt;P&gt;Can you post your complete search?&lt;/P&gt;&lt;P&gt;My guess is that the untable isn't joining the multi-value field in the same way as the version I am using - you might need to add an mvjoin in there&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 07:33:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/569059#M198339</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-30T07:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/569086#M198340</link>
      <description>&lt;P&gt;I'm working on Splunk version 8.2&lt;/P&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-message-body"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-body-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;DIV&gt;sourcetype="pqr:task" dv_number="task*"&lt;BR /&gt;| table dv_number dv_state _time&lt;/DIV&gt;&lt;DIV&gt;| stats earliest(_time) as _time by dv_number dv_state&lt;/DIV&gt;&lt;DIV&gt;| eval _time=relative_time(_time,"@d")&lt;/DIV&gt;&lt;DIV&gt;| xyseries _time dv_number dv_state&lt;/DIV&gt;&lt;DIV&gt;| makecontinuous _time span=1d&lt;/DIV&gt;&lt;DIV&gt;| filldown&lt;/DIV&gt;&lt;DIV&gt;| streamstats values(*) as * window=2 current=t&lt;/DIV&gt;&lt;DIV&gt;| untable _time dv_number dv_state&lt;/DIV&gt;&lt;DIV&gt;| eval dv_state=if(dv_state="complete",null(),mvindex(split(dv_state," "),0))&lt;/DIV&gt;&lt;DIV&gt;| eval count=1&lt;/DIV&gt;&lt;DIV&gt;| eval _time=_time."!".dv_number&lt;/DIV&gt;&lt;DIV&gt;| xyseries _time dv_state count&lt;/DIV&gt;&lt;DIV&gt;| fillnull value=0&lt;/DIV&gt;&lt;DIV&gt;| eval number=mvindex(split(_time,"!"),1)&lt;/DIV&gt;&lt;DIV&gt;| eval _time=mvindex(split(_time,"!"),0)&lt;/DIV&gt;&lt;DIV&gt;| table _time number Draft "Work in progress" Complete&lt;/DIV&gt;&lt;DIV&gt;| stats sum(Draft) as Draft, sum(Work in progress) as "WIP", sum(Complete) as Complete by _time&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-message-controls"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-17 lia-quilt-column-right lia-quilt-column-message-controls-content-right"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;&lt;SPAN class="lia-button-wrapper lia-button-wrapper-secondary lia-component-message-view-widget-quick-reply-button lia-component-quick-reply-button"&gt;&lt;A href="https://community.splunk.com/t5/forums/replypage/board-id/splunk-search/message-id/198312" target="_blank" rel="nofollow noopener"&gt;Reply&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Sep 2021 09:13:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/569086#M198340</guid>
      <dc:creator>av_</dc:creator>
      <dc:date>2021-09-30T09:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/569087#M198341</link>
      <description>&lt;P&gt;I used lower case in my example - you should change this line&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval dv_state=if(dv_state="Complete",null(),mvindex(split(dv_state," "),0))&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 30 Sep 2021 09:16:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/569087#M198341</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-30T09:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/569106#M198347</link>
      <description>&lt;P&gt;oh my bad!!! It's working....Thanks a ton &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 10:44:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/569106#M198347</guid>
      <dc:creator>av_</dc:creator>
      <dc:date>2021-09-30T10:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the occurrence count when there is no event for the same</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/570552#M198847</link>
      <description>&lt;P class="lia-align-left"&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P class="lia-align-left"&gt;There has been an enhancement in my use case. Would need your help!!!&lt;/P&gt;&lt;P class="lia-align-left"&gt;Now, we need to take Assignment Group(&lt;STRONG&gt;AG&lt;/STRONG&gt;) into consideration as well. If a task is in Draft state and it belongs&amp;nbsp; to "&lt;STRONG&gt;AG1&lt;/STRONG&gt;" &amp;amp; after some days it gets assigned to "&lt;STRONG&gt;AG2&lt;/STRONG&gt;", so we need to count the transition in state with respect to the assignment group it belongs to.&lt;/P&gt;&lt;P class="lia-align-left"&gt;We want to calculate for how many days task123 was in a particular state &amp;amp; belonged to AG1, then it got assigned to AG2 so for how many days it was in a particular state with AG2 as assignment group.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 04:06:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-the-occurrence-count-when-there-is-no-event-for-the-same/m-p/570552#M198847</guid>
      <dc:creator>av_</dc:creator>
      <dc:date>2021-10-12T04:06:25Z</dc:date>
    </item>
  </channel>
</rss>

