<?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 extract dates where no-traffic? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-dates-where-no-traffic/m-p/640911#M222064</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I want to extract the dates for last 1 month where there is no-traffic in my application using splunk query.&lt;/P&gt;
&lt;P&gt;Please anyone help on this.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2023 18:18:30 GMT</pubDate>
    <dc:creator>jp_duraimurugan</dc:creator>
    <dc:date>2023-04-21T18:18:30Z</dc:date>
    <item>
      <title>How to extract dates where no-traffic?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-dates-where-no-traffic/m-p/640911#M222064</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I want to extract the dates for last 1 month where there is no-traffic in my application using splunk query.&lt;/P&gt;
&lt;P&gt;Please anyone help on this.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 18:18:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-dates-where-no-traffic/m-p/640911#M222064</guid>
      <dc:creator>jp_duraimurugan</dc:creator>
      <dc:date>2023-04-21T18:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Dates where No-Traffic</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-dates-where-no-traffic/m-p/640912#M222065</link>
      <description>&lt;P&gt;Splunk searches for data that is there and can't find something that isn't there.&amp;nbsp; You can, however, use the &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt; command to count events at intervals.&amp;nbsp; The command will automatically fill in a zero for each interval without an event.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;&amp;lt;your search for traffic&amp;gt;&amp;gt;
| timechart span=1d count
| where count=0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 20:44:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-dates-where-no-traffic/m-p/640912#M222065</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-04-20T20:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Dates where No-Traffic</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-dates-where-no-traffic/m-p/640913#M222066</link>
      <description>&lt;P&gt;Try something like this. Replace base search in line 1 with your search that fetches your application traffic.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count WHERE index=_internal sourcetype=splunkd by _time span=1d 
| append 
    [| makeresults 
    | addinfo 
    | eval days=mvrange(relative_time(info_min_time,"@d"),relative_time(info_max_time,"@d")+1,86400) 
    | mvexpand days 
    | eval _time=round(days) 
    | eval count=0 
    | table _time count ] 
| stats max(count) as count by _time&lt;/LI-CODE&gt;&lt;P&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 20:44:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-dates-where-no-traffic/m-p/640913#M222066</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2023-04-20T20:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Dates where No-Traffic</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-dates-where-no-traffic/m-p/640917#M222067</link>
      <description>&lt;P&gt;... | timechart count span=1mon ...,&amp;nbsp;| fillnull value=0 count | where count==0&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 22:30:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-dates-where-no-traffic/m-p/640917#M222067</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2023-04-20T22:30:58Z</dc:date>
    </item>
  </channel>
</rss>

