<?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: Unable to change bar chart to ONLY show the number of events for just the previous business quarter in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/640965#M222083</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You query is giving the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="POR160893_0-1682075314789.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25026i9C0BB1339CC49C65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="POR160893_0-1682075314789.png" alt="POR160893_0-1682075314789.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;It should be given FY23Q4 as that was the previous quarter for out financial year. We are CURRENTLY in FY24Q1 but we are interested in just the previous quarter.&lt;BR /&gt;&lt;BR /&gt;Can you please help?&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2023 11:09:08 GMT</pubDate>
    <dc:creator>POR160893</dc:creator>
    <dc:date>2023-04-21T11:09:08Z</dc:date>
    <item>
      <title>Unable to change bar chart to ONLY show the number of events for just the previous business quarter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/640962#M222081</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I currently has a barchart like this which shows the number of requests per business quarter:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="POR160893_0-1682073811895.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25025iB59565486E3A1971/image-size/medium?v=v2&amp;amp;px=400" role="button" title="POR160893_0-1682073811895.png" alt="POR160893_0-1682073811895.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the respective query:&lt;BR /&gt;index=servicenow sourcetype="snow:sc_task" dv_assignment_group="SECURITY-NETWORK-L3" description="Request for Dell firewall changes."&lt;BR /&gt;| stats latest(*) as * by dv_parent&lt;BR /&gt;| eval _time = strptime(dv_sys_updated_on, "%Y-%m-%d")&lt;BR /&gt;| eval Quarter=strftime(_time,"%Y" . "Q" . ceil((tonumber(strftime(_time,"%m"))+1)/4))&lt;BR /&gt;| stats count by Quarter&lt;BR /&gt;&lt;BR /&gt;I need to alter this query to ONLY show the previous quarter, i.e. FY23Q4, After 1 week from today, the next quarter will start, so the bar chart will change to ONLY FY24Q1. Can you please me with this updated query?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 10:46:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/640962#M222081</guid>
      <dc:creator>POR160893</dc:creator>
      <dc:date>2023-04-21T10:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to change bar chart to ONLY show the number of events for just the previous business quarter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/640963#M222082</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240743"&gt;@POR160893&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;add to your main search&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=servicenow sourcetype="snow:sc_task" dv_assignment_group="SECURITY-NETWORK-L3" description="Request for Dell firewall changes." earliest=-3mon@mon latest=@mon
| stats latest(*) as * by dv_parent
| eval _time = strptime(dv_sys_updated_on, "%Y-%m-%d")
| eval Quarter=strftime(_time,"%Y" . "Q" . ceil((tonumber(strftime(_time,"%m"))+1)/4))
| stats count by Quarter&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;even if you don't nell more the division by quarter but you can only use stats count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 10:59:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/640963#M222082</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-04-21T10:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to change bar chart to ONLY show the number of events for just the previous business quarter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/640965#M222083</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You query is giving the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="POR160893_0-1682075314789.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25026i9C0BB1339CC49C65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="POR160893_0-1682075314789.png" alt="POR160893_0-1682075314789.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;It should be given FY23Q4 as that was the previous quarter for out financial year. We are CURRENTLY in FY24Q1 but we are interested in just the previous quarter.&lt;BR /&gt;&lt;BR /&gt;Can you please help?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 11:09:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/640965#M222083</guid>
      <dc:creator>POR160893</dc:creator>
      <dc:date>2023-04-21T11:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to change bar chart to ONLY show the number of events for just the previous business quarter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/640985#M222087</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240743"&gt;@POR160893&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;sorry but i don't understand: we ae in april, so the 2023Q2, so the previous quarter is 2023Q1, what's the problem?&lt;/P&gt;&lt;P&gt;There could be a problme e.g. in May because using my time frame it takes the three previous months that I suppose isn't your need, so&amp;nbsp;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=servicenow sourcetype="snow:sc_task" dv_assignment_group="SECURITY-NETWORK-L3" description="Request for Dell firewall changes." earliest=-6mon@mon latest=@mon
| stats latest(*) as * by dv_parent
| eval _time = strptime(dv_sys_updated_on, "%Y-%m-%d")
| eval Quarter=strftime(_time,"%Y" . "Q" . ceil((tonumber(strftime(_time,"%m"))+1)/4))
| stats count by Quarter&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 14:24:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/640985#M222087</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-04-21T14:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to change bar chart to ONLY show the number of events for just the previous business quarter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/640986#M222088</link>
      <description>&lt;P&gt;Like this:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;index=servicenow sourcetype="snow:sc_task" dv_assignment_group="SECURITY-NETWORK-L3" description="Request for Dell firewall changes."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| eval _time = strptime(dv_sys_updated_on, "%Y-%m-%d")&lt;BR /&gt;&lt;/SPAN&gt;| bin _time span=1q&lt;BR /&gt;| where _time = relative_time(now(), "@q-1q")&lt;BR /&gt;&lt;SPAN&gt;| eval Quarter=strftime(_time,"%Y" . "Q" . ceil((tonumber(strftime(_time,"%m"))+1)/4))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| stats count by Quarter&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 14:24:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/640986#M222088</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2023-04-21T14:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to change bar chart to ONLY show the number of events for just the previous business quarter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/641041#M222101</link>
      <description>&lt;P&gt;So, the financial year my employer is in is FY24, i,e, 2024. This began at the start of March as that was end of the previous financial year. So, right now, we are in FY24Q1. That will become FY24Q2 at the start of June and FY24Q3 at the start of September and FY23Q4 at the start of December.&lt;BR /&gt;&lt;BR /&gt;The bar chart in question needs to show the number of FCR's for the PREVIOUS quarter ONLY.&lt;BR /&gt;&lt;BR /&gt;Does that answer your question?&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2023 19:09:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/641041#M222101</guid>
      <dc:creator>POR160893</dc:creator>
      <dc:date>2023-04-22T19:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to change bar chart to ONLY show the number of events for just the previous business quarter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/641064#M222104</link>
      <description>&lt;P&gt;&lt;SPAN&gt;So, the financial year my employer is in is FY24, i,e, 2024. This began at the start of March as that was end of the previous financial year. So, right now, we are in FY24Q1. That will become FY24Q2 at the start of June and FY24Q3 at the start of September and FY23Q4 at the start of December.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The bar chart in question needs to show the number of FCR's for the PREVIOUS quarter ONLY.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how to incorporate these conditions into a drilldown?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 12:40:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/641064#M222104</guid>
      <dc:creator>POR160893</dc:creator>
      <dc:date>2023-04-23T12:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to change bar chart to ONLY show the number of events for just the previous business quarter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/641075#M222109</link>
      <description>&lt;P&gt;Not clear why you cannot simply exclude stats from current quarter. &amp;nbsp;This way, you only have previous quarter in stats. &amp;nbsp;Like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=servicenow sourcetype="snow:sc_task" dv_assignment_group="SECURITY-NETWORK-L3" description="Request for Dell firewall changes."
| stats latest(*) as * by dv_parent
| eval _time = strptime(dv_sys_updated_on, "%Y-%m-%d")
| eval Quarter=strftime(_time,"%Y" . "Q" . ceil((tonumber(strftime(_time,"%m"))+1)/4))
| where Quarter != strftime(now(),"%Y" . "Q" . ceil((tonumber(strftime(now(),"%m"))+1)/4))
| stats count by Quarter&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 20:58:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-change-bar-chart-to-ONLY-show-the-number-of-events-for/m-p/641075#M222109</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-04-23T20:58:33Z</dc:date>
    </item>
  </channel>
</rss>

