<?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: How to configure a dashboard Panel  to search events only for Monday and Tueeday of the week in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482014#M59264</link>
    <description>&lt;P&gt;Hi @in22915110,&lt;BR /&gt;
It's very strange, because if I run&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog (date_wday="monday" OR date_wday="tuesday") date_hour&amp;lt;="14"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have results! (in Fast, Smart and Verbose Mode)&lt;BR /&gt;
Only for my curiosity, have the search with date_hour results in Verbose Mode?&lt;/P&gt;

&lt;P&gt;Anyway, coming back to your question: if your search gives results, what's the problem to save it in a dashboard panel?&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2020 15:19:47 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-04-22T15:19:47Z</dc:date>
    <item>
      <title>How to configure a dashboard Panel  to search events only for Monday and Tueeday of the week</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482006#M59256</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;Is it feasible to configure a dashboard panel search to look for events only on Monday and Tuesday? Please let me know if it is possible.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Anilkumar&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 13:29:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482006#M59256</guid>
      <dc:creator>in22915110</dc:creator>
      <dc:date>2020-04-22T13:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a dashboard Panel  to search events only for Monday and Tueeday of the week</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482007#M59257</link>
      <description>&lt;P&gt;Hi @in22915110,&lt;BR /&gt;
you can use the field &lt;CODE&gt;date_wday&lt;/CODE&gt;, to choose the days of the week you want, something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog (date_wday="monday" OR date_wday="tuesday")
| table _time ComputerName, user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and save this search as a dashboard panel.&lt;/P&gt;

&lt;P&gt;Then you can use &lt;BR /&gt;
Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 13:44:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482007#M59257</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-04-22T13:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a dashboard Panel  to search events only for Monday and Tueeday of the week</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482008#M59258</link>
      <description>&lt;P&gt;Hi Ciao, &lt;/P&gt;

&lt;P&gt;below is the query I want to modify to look for the events which indexed only on Monday and TuesDay.&lt;/P&gt;

&lt;P&gt;index=finance_preprod (date_wday="monday" OR date_wday="tuesday") sourcetype=finance_salesRecon_app_PPE source=frs_integration_engine_PPE  message="&lt;EM&gt;WEEKLY Feed :*Route file encryption transfer has completed&lt;/EM&gt;"&lt;BR /&gt;
| eval event_week_day = strftime(_time,"%w"), event_hour = strftime(_time,"%H"), current_week_day = strftime(now(),"%w"), current_hour = strftime(now(),"%H") &lt;BR /&gt;
| where event_week_day&amp;lt;=2 AND event_hour&amp;lt;=14 &lt;BR /&gt;
| stats count as weekly_feeds&lt;/P&gt;

&lt;P&gt;I tried with your answer, but its not working. Could you please help me to modify the query?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:07:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482008#M59258</guid>
      <dc:creator>in22915110</dc:creator>
      <dc:date>2020-09-30T05:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a dashboard Panel  to search events only for Monday and Tueeday of the week</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482009#M59259</link>
      <description>&lt;P&gt;Hi @in22915110,&lt;BR /&gt;
your search can be easier:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=finance_preprod (date_wday="monday" OR date_wday="tuesday") sourcetype=finance_salesRecon_app_PPE source=frs_integration_engine_PPE message="*WEEKLY Feed :Route file encryption transfer has completed" date_hour&amp;lt;=14
| stats count as weekly_feeds
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 14:09:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482009#M59259</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-04-22T14:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a dashboard Panel  to search events only for Monday and Tueeday of the week</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482010#M59260</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;,&lt;BR /&gt;
Your query is not helping me to search the required events, could you please share me the document reference for (date_wday="monday" OR date_wday="tuesday") or date_hour - all implicit fields??&lt;/P&gt;

&lt;P&gt;are these implicit fields derived from event indexed datetime?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:07:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482010#M59260</guid>
      <dc:creator>in22915110</dc:creator>
      <dc:date>2020-09-30T05:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a dashboard Panel  to search events only for Monday and Tueeday of the week</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482011#M59261</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/59514"&gt;@in22915110&lt;/a&gt;,&lt;BR /&gt;
if you run your search in verbose mode, in the interesting fields you can find many fields as date_wday or date_hour that are automatically extracted from _time by default, so you don't need to use eval command to extract them.&lt;BR /&gt;
You can find more infos at &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/Knowledge/Usedefaultfields" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/Knowledge/Usedefaultfields&lt;/A&gt; .&lt;/P&gt;

&lt;P&gt;Why &lt;CODE&gt;(date_wday="monday" OR date_wday="tuesday") date_hour&amp;lt;=14&lt;/CODE&gt; cannot replace &lt;CODE&gt;| eval event_week_day = strftime(_time,"%w"), event_hour = strftime(_time,"%H") | where event_week_day&amp;lt;=2 AND event_hour&amp;lt;=14&lt;/CODE&gt; for you? &lt;BR /&gt;
what's the problem? can I help you?&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:04:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482011#M59261</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-30T05:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a dashboard Panel  to search events only for Monday and Tueeday of the week</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482012#M59262</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;Yes, the implicit variables are not working for me, &lt;/P&gt;

&lt;P&gt;I just tried to replace the event_hour with date_hour and the query fails to fetch the events.&lt;/P&gt;

&lt;P&gt;Please find the screenshots below for your reference&lt;BR /&gt;
&lt;A href="https://ibb.co/crf9Lrr" target="_blank"&gt;https://ibb.co/crf9Lrr&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://ibb.co/JCKf9fj" target="_blank"&gt;https://ibb.co/JCKf9fj&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please let me know if you find any issue in the query&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:07:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482012#M59262</guid>
      <dc:creator>in22915110</dc:creator>
      <dc:date>2020-09-30T05:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a dashboard Panel  to search events only for Monday and Tueeday of the week</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482013#M59263</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt; &lt;/P&gt;

&lt;P&gt;When I run the search in verbose mode I dont see date_hour or date_wday in the interesting fields, may that is the reason??&lt;/P&gt;

&lt;P&gt;If so, how these fields can be added to the list?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:07:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482013#M59263</guid>
      <dc:creator>in22915110</dc:creator>
      <dc:date>2020-09-30T05:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a dashboard Panel  to search events only for Monday and Tueeday of the week</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482014#M59264</link>
      <description>&lt;P&gt;Hi @in22915110,&lt;BR /&gt;
It's very strange, because if I run&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog (date_wday="monday" OR date_wday="tuesday") date_hour&amp;lt;="14"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have results! (in Fast, Smart and Verbose Mode)&lt;BR /&gt;
Only for my curiosity, have the search with date_hour results in Verbose Mode?&lt;/P&gt;

&lt;P&gt;Anyway, coming back to your question: if your search gives results, what's the problem to save it in a dashboard panel?&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 15:19:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482014#M59264</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-04-22T15:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a dashboard Panel  to search events only for Monday and Tueeday of the week</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482015#M59265</link>
      <description>&lt;P&gt;Hi @in22915110,&lt;BR /&gt;
I found in &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/Knowledge/Usedefaultfields"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/Knowledge/Usedefaultfields&lt;/A&gt; &lt;BR /&gt;
that "Only events that have timestamp information in them as generated by their respective systems will have date_* fields".&lt;BR /&gt;
probably this is the problem!&lt;BR /&gt;
how are the timestamps of your events generated?&lt;BR /&gt;
Anyway, coming back to your question: if your search gives results, what's the problem to save it in a dashboard panel?&lt;/P&gt;

&lt;P&gt;ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 15:24:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482015#M59265</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-04-22T15:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure a dashboard Panel  to search events only for Monday and Tueeday of the week</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482016#M59266</link>
      <description>&lt;P&gt;Hi @gcusello,&lt;/P&gt;

&lt;P&gt;Thanks for giving some clarity on the question. I am able to save the result as dashboard panel.&lt;/P&gt;

&lt;P&gt;I am already filtering the events for Monday and Tuesday. I was just checking if there is a better way to achieve this.&lt;/P&gt;

&lt;P&gt;Thanks for your help, I will try to add timestamp to the events and try.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 15:42:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-configure-a-dashboard-Panel-to-search-events-only-for/m-p/482016#M59266</guid>
      <dc:creator>in22915110</dc:creator>
      <dc:date>2020-04-22T15:42:41Z</dc:date>
    </item>
  </channel>
</rss>

