<?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 write _time function to take the data for all 7 days ( i mean in between days too ) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281185#M176293</link>
    <description>&lt;P&gt;Please share your query.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2016 11:30:07 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-10-26T11:30:07Z</dc:date>
    <item>
      <title>how to write _time function to take the data for all 7 days ( i mean in between days too )</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281184#M176292</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have scenario like having timechart to show spikes for different dates(ex for 7 days).But now it shows same value for all 7 days.&lt;/P&gt;

&lt;P&gt;I have intro_max_time and intro_min_time in the format (1477480327.000  which pertains todays date).The condition which i gave is eval _time=info_max_time which takes only today data (ie intro_max_time) .&lt;/P&gt;

&lt;P&gt;I want to write this eval function for comparing the data for all the days between this  intro_max_time and intro_min_time for getting the spikes.&lt;/P&gt;

&lt;P&gt;Please suggest  me .&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:36:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281184#M176292</guid>
      <dc:creator>umsundar2015</dc:creator>
      <dc:date>2020-09-29T11:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to write _time function to take the data for all 7 days ( i mean in between days too )</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281185#M176293</link>
      <description>&lt;P&gt;Please share your query.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 11:30:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281185#M176293</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-10-26T11:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to write _time function to take the data for all 7 days ( i mean in between days too )</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281186#M176294</link>
      <description>&lt;P&gt;| addinfo | eval _time=intro_max_time |timechart span=1d count by remark_status . &lt;/P&gt;

&lt;P&gt;iam selecting time range as last 7 days..&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:36:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281186#M176294</guid>
      <dc:creator>umsundar2015</dc:creator>
      <dc:date>2020-09-29T11:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to write _time function to take the data for all 7 days ( i mean in between days too )</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281187#M176295</link>
      <description>&lt;P&gt;As long as your events have correct values for &lt;CODE&gt;_time&lt;/CODE&gt; field, you don't need &lt;CODE&gt;| addinfo | eval _time=intro_max_time&lt;/CODE&gt;. Try this instead. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=foo sourcetype=bar | timechart span=1d cont=t count by remark_status
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Oct 2016 12:17:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281187#M176295</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-10-26T12:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to write _time function to take the data for all 7 days ( i mean in between days too )</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281188#M176296</link>
      <description>&lt;P&gt;i am getting no results .&lt;/P&gt;

&lt;P&gt;what is the use of cont=t ???&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 12:35:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281188#M176296</guid>
      <dc:creator>umsundar2015</dc:creator>
      <dc:date>2016-10-26T12:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to write _time function to take the data for all 7 days ( i mean in between days too )</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281189#M176297</link>
      <description>&lt;P&gt;&lt;CODE&gt;cont: Specifies whether the chart is continuous or not. If set to true, the Search application fills in the time gaps&lt;/CODE&gt;. What do you get when you run this query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=foo sourcetype=bar earliest=-7d@d | dedup _time | table _time remark_status _raw
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/SearchReference/Timechart"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/SearchReference/Timechart&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 12:47:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-write-time-function-to-take-the-data-for-all-7-days-i/m-p/281189#M176297</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-10-26T12:47:57Z</dc:date>
    </item>
  </channel>
</rss>

