<?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 Accounting for weekends and holidays in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Accounting-for-weekends-and-holidays/m-p/371765#M109389</link>
    <description>&lt;P&gt;I'm trying to come up with a method of accounting for weekends and holidays. Tell me, how should I implement this algorithm?&lt;BR /&gt;
Real case: we need to catch response on the application after 2 working days subject to weekends and holidays.&lt;/P&gt;

&lt;P&gt;There is the idea to implement it with a lookup, however, will have to manually affix the holidays every year. I would like to automate this process completely.&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2017 13:45:37 GMT</pubDate>
    <dc:creator>AlexeyPy</dc:creator>
    <dc:date>2017-05-10T13:45:37Z</dc:date>
    <item>
      <title>Accounting for weekends and holidays</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Accounting-for-weekends-and-holidays/m-p/371765#M109389</link>
      <description>&lt;P&gt;I'm trying to come up with a method of accounting for weekends and holidays. Tell me, how should I implement this algorithm?&lt;BR /&gt;
Real case: we need to catch response on the application after 2 working days subject to weekends and holidays.&lt;/P&gt;

&lt;P&gt;There is the idea to implement it with a lookup, however, will have to manually affix the holidays every year. I would like to automate this process completely.&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 13:45:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Accounting-for-weekends-and-holidays/m-p/371765#M109389</guid>
      <dc:creator>AlexeyPy</dc:creator>
      <dc:date>2017-05-10T13:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accounting for weekends and holidays</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Accounting-for-weekends-and-holidays/m-p/371766#M109390</link>
      <description>&lt;P&gt;Hi AlexeyPy,&lt;BR /&gt;
for week-ends you can add to your searches&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;date_wday="sunday" OR date_wday="saturday"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;instead to manage holydays the only way is to create a lookup containing holyday dates and use it to filter your searches.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_search (date_wday="sunday" OR date_wday="saturday" OR [ | inputlookup holydays.csv | fields date ] )
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;putting attention on the date format that must be the same for _time and your lookup.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 14:14:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Accounting-for-weekends-and-holidays/m-p/371766#M109390</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-05-10T14:14:07Z</dc:date>
    </item>
  </channel>
</rss>

