<?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 run Splunk search from every 2nd Tuesday of every month to 2nd Tuesday of the following month in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-run-Splunk-search-from-every-2nd-Tuesday-of-every-month/m-p/452514#M29681</link>
    <description>&lt;P&gt;Hey Woodcock,  glad to see the response from you man. We've met at July Dallas Splunk user group meetup.  Anyway your answer works great for my search and I can see the results between that time range. but also could you please tell me what is this &lt;EM&gt;| format "" "" "" "" "" ""&lt;/EM&gt; Command doing here.&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2019 19:06:49 GMT</pubDate>
    <dc:creator>vinaykataaig</dc:creator>
    <dc:date>2019-08-16T19:06:49Z</dc:date>
    <item>
      <title>How to run Splunk search from every 2nd Tuesday of every month to 2nd Tuesday of the following month</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-run-Splunk-search-from-every-2nd-Tuesday-of-every-month/m-p/452512#M29679</link>
      <description>&lt;P&gt;Guys, does any one know or have an example on how to pull the Splunk results from every 2nd Tuesday of month to 2nd Tuesday of the following month. Is it possible to write with earliest and latest, if not what are the other options we have. Below is my base query. Thank you all!!&lt;/P&gt;

&lt;P&gt;index="abc " sourcetype="ABCD" install_status!=Retired os="&lt;EM&gt;windows&lt;/EM&gt;" patching_group IN ("AAA*" "&lt;EM&gt;BBB&lt;/EM&gt;") &lt;BR /&gt;
| search number="*"&lt;BR /&gt;
| eval servers=lower(name) &lt;BR /&gt;
| eval start=strptime(start_date, "%Y-%m-%d %H:%M:%S.%N") &lt;BR /&gt;
| eval day = strftime(start, "%a") &lt;BR /&gt;
| eval month = strftime(start, "%B") |  dedup servers | stats count(servers) as servers&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:47:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-run-Splunk-search-from-every-2nd-Tuesday-of-every-month/m-p/452512#M29679</guid>
      <dc:creator>vinaykataaig</dc:creator>
      <dc:date>2020-09-30T01:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Splunk search from every 2nd Tuesday of every month to 2nd Tuesday of the following month</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-run-Splunk-search-from-every-2nd-Tuesday-of-every-month/m-p/452513#M29680</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="abc " sourcetype="ABCD" install_status!=Retired os="windows" patching_group IN ("AAA*" "BBB") 
[| makeresults 
| eval earliest = relative_time(now(), "@mon-1mon@w2+14d")
| eval latest = relative_time(now(), "@mon@w2+14d")
| format "" "" "" "" "" ""
| rex field=search mode=sed "s/\"//g"]
| search number="*"
| eval servers=lower(name) 
| stats dc(servers) AS servers
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Aug 2019 18:27:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-run-Splunk-search-from-every-2nd-Tuesday-of-every-month/m-p/452513#M29680</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-16T18:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Splunk search from every 2nd Tuesday of every month to 2nd Tuesday of the following month</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-run-Splunk-search-from-every-2nd-Tuesday-of-every-month/m-p/452514#M29681</link>
      <description>&lt;P&gt;Hey Woodcock,  glad to see the response from you man. We've met at July Dallas Splunk user group meetup.  Anyway your answer works great for my search and I can see the results between that time range. but also could you please tell me what is this &lt;EM&gt;| format "" "" "" "" "" ""&lt;/EM&gt; Command doing here.&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 19:06:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-run-Splunk-search-from-every-2nd-Tuesday-of-every-month/m-p/452514#M29681</guid>
      <dc:creator>vinaykataaig</dc:creator>
      <dc:date>2019-08-16T19:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Splunk search from every 2nd Tuesday of every month to 2nd Tuesday of the following month</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-run-Splunk-search-from-every-2nd-Tuesday-of-every-month/m-p/452515#M29682</link>
      <description>&lt;P&gt;The &lt;CODE&gt;format&lt;/CODE&gt; command reveals (and allows you to control the boolean logic and punctuation of) what the &lt;CODE&gt;subsearch&lt;/CODE&gt; will return to the outer search.  Usually a &lt;CODE&gt;subsearch&lt;/CODE&gt; is returning boolean logic but in this case, it is not so we are stripping the boolean logic and punctuation and after that, the double-quotes.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 19:44:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-run-Splunk-search-from-every-2nd-Tuesday-of-every-month/m-p/452515#M29682</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-16T19:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Splunk search from every 2nd Tuesday of every month to 2nd Tuesday of the following month</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-run-Splunk-search-from-every-2nd-Tuesday-of-every-month/m-p/585358#M47976</link>
      <description>&lt;P&gt;This solution is incorrect or outdated for recent versions of Splunk, as earliest and latest values are not calculating 2nd Tuesday of specified months correctly.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 14:15:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-run-Splunk-search-from-every-2nd-Tuesday-of-every-month/m-p/585358#M47976</guid>
      <dc:creator>joao_amorim</dc:creator>
      <dc:date>2022-02-16T14:15:33Z</dc:date>
    </item>
  </channel>
</rss>

