<?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 How to define a time range for specific time range logs to be collected every month? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429546#M28283</link>
    <description>&lt;P&gt;i want to collect logs that from 10 p.m to next day 4 a.m everyday in per month , how can i define the time range ? it seems "date_hour" field doesn't work. &lt;/P&gt;</description>
    <pubDate>Mon, 09 Jul 2018 09:28:11 GMT</pubDate>
    <dc:creator>lllidan</dc:creator>
    <dc:date>2018-07-09T09:28:11Z</dc:date>
    <item>
      <title>How to define a time range for specific time range logs to be collected every month?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429546#M28283</link>
      <description>&lt;P&gt;i want to collect logs that from 10 p.m to next day 4 a.m everyday in per month , how can i define the time range ? it seems "date_hour" field doesn't work. &lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 09:28:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429546#M28283</guid>
      <dc:creator>lllidan</dc:creator>
      <dc:date>2018-07-09T09:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a time range for specific time range logs to be collected every month?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429547#M28284</link>
      <description>&lt;P&gt;Pls refer the below mentioned links and let me know in case of any queires.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.1/Search/Specifytimemodifiersinyoursearch"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.1/Search/Specifytimemodifiersinyoursearch&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.1/SearchTutorial/Aboutthetimerangepicker"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.1/SearchTutorial/Aboutthetimerangepicker&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 11:35:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429547#M28284</guid>
      <dc:creator>manish_singh_77</dc:creator>
      <dc:date>2018-07-09T11:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a time range for specific time range logs to be collected every month?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429548#M28285</link>
      <description>&lt;P&gt;earliest=@d-2h  latest=@d+4h&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 13:40:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429548#M28285</guid>
      <dc:creator>manish_singh_77</dc:creator>
      <dc:date>2018-07-09T13:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a time range for specific time range logs to be collected every month?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429549#M28286</link>
      <description>&lt;P&gt;Try this as well and let me know in case of any queries..&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 13:40:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429549#M28286</guid>
      <dc:creator>manish_singh_77</dc:creator>
      <dc:date>2018-07-09T13:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a time range for specific time range logs to be collected every month?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429550#M28287</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your Base Search Here
| eval date_hourmin = strftime(_time, "%H%M")
| where (date_hourmin &amp;gt;= 2200 AND date_hourmin &amp;lt;= 400)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Jul 2018 16:34:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429550#M28287</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-09T16:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a time range for specific time range logs to be collected every month?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429551#M28288</link>
      <description>&lt;P&gt;this search can only display one day's logs, if I select the time range option with "month to date", it just display today's logs, not everyday's specific time range.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 02:00:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429551#M28288</guid>
      <dc:creator>lllidan</dc:creator>
      <dc:date>2018-07-10T02:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a time range for specific time range logs to be collected every month?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429552#M28289</link>
      <description>&lt;P&gt;remove the &lt;CODE&gt;earliest=&lt;/CODE&gt; and &lt;CODE&gt;latest=&lt;/CODE&gt; parts of the search string.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 02:12:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429552#M28289</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-10T02:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a time range for specific time range logs to be collected every month?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429553#M28290</link>
      <description>&lt;P&gt;"@d-2h @d+4h" like this ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 09:41:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429553#M28290</guid>
      <dc:creator>lllidan</dc:creator>
      <dc:date>2018-07-10T09:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a time range for specific time range logs to be collected every month?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429554#M28291</link>
      <description>&lt;P&gt;your answer solved my problem , except one mistake , "| where date_hourmin&amp;gt;=2200 OR date_hourmin&amp;lt;=400"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:23:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-define-a-time-range-for-specific-time-range-logs-to-be/m-p/429554#M28291</guid>
      <dc:creator>lllidan</dc:creator>
      <dc:date>2020-09-29T20:23:46Z</dc:date>
    </item>
  </channel>
</rss>

