<?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: ES : Time range picker not working for incident_review macro in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607356#M10937</link>
    <description>&lt;P&gt;If you press CTRL SHIFT E on that search you will see the macro fully expanded.&lt;/P&gt;&lt;P&gt;It's just a bunch of lookups, and the timerange picker only works on _time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notice at the end of the search there is an eval for time?&lt;/P&gt;&lt;P&gt;| eval _time=time&lt;/P&gt;&lt;P&gt;You can use that with some tokens on a dashboard or manually add filters to the search for _time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that help?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 11:58:09 GMT</pubDate>
    <dc:creator>chaker</dc:creator>
    <dc:date>2022-07-28T11:58:09Z</dc:date>
    <item>
      <title>ES : Why is time range picker not working for incident_review macro?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607353#M10936</link>
      <description>&lt;P&gt;Hello,&amp;nbsp; In ES when we run the following macro for Last 30 mins or Last 24 H time range,&amp;nbsp; splunk ends up displaying results from all the way back in time as in last 6 months data as well.&amp;nbsp; Why is that so ?&amp;nbsp; Its as if its completely ignores the date/time range whatever we specify.&amp;nbsp; &amp;nbsp;BTW,&amp;nbsp;&amp;nbsp;This is Out of the box macro.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;|`incident_review`
| table _time owner rule_id rule_name status_label&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;My requirement is to show&amp;nbsp; the Notables triggered based on the date range we select.&lt;BR /&gt;Secondly, does anyone know how to show&amp;nbsp; Number of Incidents (Notable alerts) worked on by each SOC analyst ?&amp;nbsp; &amp;nbsp;Basically i m trying to generate performance metrics of each analyst, how many alerts they worked on, time to close each alert etc, details of each status change etc.&amp;nbsp; &amp;nbsp; The default provided SOC operations dashboard sucks.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 15:17:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607353#M10936</guid>
      <dc:creator>neerajs_81</dc:creator>
      <dc:date>2022-07-28T15:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: ES : Time range picker not working for incident_review macro</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607356#M10937</link>
      <description>&lt;P&gt;If you press CTRL SHIFT E on that search you will see the macro fully expanded.&lt;/P&gt;&lt;P&gt;It's just a bunch of lookups, and the timerange picker only works on _time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notice at the end of the search there is an eval for time?&lt;/P&gt;&lt;P&gt;| eval _time=time&lt;/P&gt;&lt;P&gt;You can use that with some tokens on a dashboard or manually add filters to the search for _time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that help?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 11:58:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607356#M10937</guid>
      <dc:creator>chaker</dc:creator>
      <dc:date>2022-07-28T11:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: ES : Time range picker not working for incident_review macro</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607361#M10938</link>
      <description>&lt;P&gt;I added some fields at the end of the table to show the day, hour and year. You can make more&amp;nbsp; using the time variables here:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.0/SearchReference/Commontimeformatvariables" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.0/SearchReference/Commontimeformatvariables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;| inputlookup append=T incident_review_lookup
| rename user as reviewer
| lookup update=true user_realnames_lookup user as "owner" OUTPUTNEW realname as "owner_realname"
| eval "owner_realname"=if(isnull('owner_realname'),'owner','owner_realname')
| lookup update=true user_realnames_lookup user as "reviewer" OUTPUTNEW realname as "reviewer_realname"
| eval "reviewer_realname"=if(isnull('reviewer_realname'),'reviewer','reviewer_realname')
| eval nullstatus=if(isnull(status),"true","false")
| eval temp_status=if(isnull(status),-1,status)
| lookup update=true reviewstatuses_lookup _key as temp_status OUTPUT status,label as status_label,description as status_description,default as status_default,end as status_end
| eval status=if(isnull(status_label),0,status),status_label=if(isnull(status_label),"Unassigned",status_label),status_description=if(isnull(status_description),"unknown",status_description),"status_default"=case(match('status_default', "1|[Tt]|[Tt][Rr][Uu][Ee]"),"true",match('status_default', "0|[Ff]|[Ff][Aa][Ll][Ss][Ee]"),"false",1=1,'status_default'),"status_end"=case(match('status_end', "1|[Tt]|[Tt][Rr][Uu][Ee]"),"true",match('status_end', "0|[Ff]|[Ff][Aa][Ll][Ss][Ee]"),"false",1=1,'status_end'),status_group=case(status_default=="true","New",status_end=="true","Closed",status=0,"New",1=1,"Open")
| fields - temp_status
| eval status=if((isnull(status) OR isnull(status_label)) AND nullstatus=="false",0,status)
| eval status_label=if(isnull(status_label) AND nullstatus=="false","Unassigned",status_label)
| eval status_description=if(isnull(status_description) AND nullstatus=="false","unknown",status_description)
| eval _time=time
| fields - nullstatus
| eval eventHour=strftime(_time,"%H")
| eval eventMin=strftime(_time,"%M")
| eval eventDay=strftime(_time,"%A")
| eval eventYear=strftime(_time,"%Y")
| table _time owner rule_id rule_name status_label eventHour eventDay eventMin eventYear&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 12:15:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607361#M10938</guid>
      <dc:creator>chaker</dc:creator>
      <dc:date>2022-07-28T12:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: ES : Time range picker not working for incident_review macro</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607363#M10939</link>
      <description>&lt;P&gt;To your second question, have you tried the Incident Review Audit report on the Audit menu?&lt;/P&gt;&lt;P&gt;en-US/app/SplunkEnterpriseSecuritySuite/incident_review_audit&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 12:19:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607363#M10939</guid>
      <dc:creator>chaker</dc:creator>
      <dc:date>2022-07-28T12:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: ES : Why is time range picker not working for incident_review macro?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607405#M10940</link>
      <description>&lt;P&gt;Thanks a lot. Appreciate it&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 17:35:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607405#M10940</guid>
      <dc:creator>neerajs_81</dc:creator>
      <dc:date>2022-07-28T17:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: ES : Time range picker not working for incident_review macro</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607454#M10943</link>
      <description>&lt;P&gt;Hi, i have marked your search as Solution but i am noticing that even if i run it with a Time range of last 24h,&amp;nbsp; it still ends up dumping out everything.&amp;nbsp; It does not show me the data specific to whatever date filter i have selected.&amp;nbsp; &amp;nbsp;I misunderstood then.&amp;nbsp; How am i supposed to pass on the time filter to this macro if there is |eval _time=time at the bottom ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="neerajs_81_0-1659070961152.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20745iDB03736F5F2D78EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="neerajs_81_0-1659070961152.png" alt="neerajs_81_0-1659070961152.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 05:03:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607454#M10943</guid>
      <dc:creator>neerajs_81</dc:creator>
      <dc:date>2022-07-29T05:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: ES : Time range picker not working for incident_review macro</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607478#M10944</link>
      <description>&lt;P&gt;What are you trying to do with this macro?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Incident Review dashboard in ES will let you use the time range picker to filter notable events. Plus you could setup a time range and other conditoin like status=resolved and save it as a filter.&lt;/P&gt;&lt;P&gt;/en-US/app/SplunkEnterpriseSecuritySuite/incident_review&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 07:39:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/ES-Why-is-time-range-picker-not-working-for-incident-review/m-p/607478#M10944</guid>
      <dc:creator>chaker</dc:creator>
      <dc:date>2022-07-29T07:39:43Z</dc:date>
    </item>
  </channel>
</rss>

