<?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: Time slicing issue in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488987#M1710</link>
    <description>&lt;P&gt;I need the time slicing here like&lt;/P&gt;

&lt;P&gt;I want to see four event for span=1h in the last four hours filter .&lt;/P&gt;

&lt;P&gt;Something like below&lt;/P&gt;

&lt;P&gt;| bin _time span=1h | fields _time&lt;/P&gt;

&lt;P&gt;result should be&lt;/P&gt;

&lt;P&gt;_time&lt;/P&gt;

&lt;P&gt;2020-04-29 10:00&lt;BR /&gt;
2020-04-29 9:00&lt;BR /&gt;
2020-04-29 8:00&lt;BR /&gt;
2020-04-29 7:00&lt;/P&gt;

&lt;P&gt;I want to get all the time span irrespective of count have null also,so I am trying to apply cross join using below "join max =0" once I got proper Time slicing&lt;/P&gt;

&lt;P&gt;| makeresults | bin _time span=1h | fields _time | join max=0 [search index="us_west_prod_power_platform" sourcetype="spark:metric" metricName="HRTBT_LHIST_METRIC_DD" host="emr-prod-distributor" | spath output=osm_zone_id path=dimensions{2}.value | dedup osm_zone_id | fields osm_zone_id] | table _time, osm_zone_id&lt;/P&gt;

&lt;P&gt;Kindly help us.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 05:15:22 GMT</pubDate>
    <dc:creator>manibattula</dc:creator>
    <dc:date>2020-09-30T05:15:22Z</dc:date>
    <item>
      <title>Time slicing issue</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488982#M1705</link>
      <description>&lt;P&gt;I have below query and it should gives result of time filter of last four hours (or) last 24 hours.&lt;/P&gt;
&lt;P&gt;|makeresults |bucket _time span=1h|stats count by _time&lt;/P&gt;
&lt;P&gt;But it giving only latest hour instead of 4 records for last four hours filter (or) 24 records for last 24 hours filter.&lt;/P&gt;
&lt;P&gt;Kindly help us.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 00:58:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488982#M1705</guid>
      <dc:creator>manibattula</dc:creator>
      <dc:date>2020-06-07T00:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Time slicing issue</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488983#M1706</link>
      <description>&lt;P&gt;&lt;CODE&gt;makeresults&lt;/CODE&gt; by itself generates a single event with the current timestamp.  Therefore, that event will fit into a single hour bucket.  If you tell &lt;CODE&gt;makeresults&lt;/CODE&gt; to generate multiple events, those events will have the same timestamp and you'll still have everything in a single bucket.&lt;/P&gt;

&lt;P&gt;Please describe the problem you are trying to solve and we may be able to suggest a solution.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 14:59:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488983#M1706</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-29T14:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Time slicing issue</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488984#M1707</link>
      <description>&lt;P&gt;Can you please let us know how to handle the above query getting each event with respect to span limit&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 15:39:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488984#M1707</guid>
      <dc:creator>manibattula</dc:creator>
      <dc:date>2020-04-29T15:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Time slicing issue</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488985#M1708</link>
      <description>&lt;P&gt;The current query does nothing.  Please describe the real problem you are trying to solve.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 15:57:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488985#M1708</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-29T15:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Time slicing issue</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488986#M1709</link>
      <description>&lt;P&gt;I need the time slicing  here like &lt;/P&gt;

&lt;P&gt;I want to see four event for span=1h in the last four hours filter .&lt;/P&gt;

&lt;P&gt;Something like below&lt;/P&gt;

&lt;P&gt;| bin _time span=1h | fields _time &lt;/P&gt;

&lt;P&gt;result should be &lt;/P&gt;

&lt;H2&gt;_time&lt;/H2&gt;

&lt;P&gt;2020-04-29 10:00&lt;BR /&gt;
2020-04-29 9:00&lt;BR /&gt;
2020-04-29 8:00&lt;BR /&gt;
2020-04-29 7:00&lt;/P&gt;

&lt;P&gt;I want to get all the time span irrespective of count have null also,so I am trying to apply cross join using below "join max =0" once I got proper Time slicing&lt;/P&gt;

&lt;P&gt;| makeresults | bin _time span=1h | fields _time | join max=0 [search index="us_west_prod_power_platform" sourcetype="spark:metric" metricName="HRTBT_LHIST_METRIC_DD" host="emr-prod-distributor" | spath output=osm_zone_id path=dimensions{2}.value | dedup osm_zone_id | fields osm_zone_id] | table _time, osm_zone_id &lt;/P&gt;

&lt;P&gt;Kindly help us.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:15:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488986#M1709</guid>
      <dc:creator>manibattula</dc:creator>
      <dc:date>2020-09-30T05:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Time slicing issue</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488987#M1710</link>
      <description>&lt;P&gt;I need the time slicing here like&lt;/P&gt;

&lt;P&gt;I want to see four event for span=1h in the last four hours filter .&lt;/P&gt;

&lt;P&gt;Something like below&lt;/P&gt;

&lt;P&gt;| bin _time span=1h | fields _time&lt;/P&gt;

&lt;P&gt;result should be&lt;/P&gt;

&lt;P&gt;_time&lt;/P&gt;

&lt;P&gt;2020-04-29 10:00&lt;BR /&gt;
2020-04-29 9:00&lt;BR /&gt;
2020-04-29 8:00&lt;BR /&gt;
2020-04-29 7:00&lt;/P&gt;

&lt;P&gt;I want to get all the time span irrespective of count have null also,so I am trying to apply cross join using below "join max =0" once I got proper Time slicing&lt;/P&gt;

&lt;P&gt;| makeresults | bin _time span=1h | fields _time | join max=0 [search index="us_west_prod_power_platform" sourcetype="spark:metric" metricName="HRTBT_LHIST_METRIC_DD" host="emr-prod-distributor" | spath output=osm_zone_id path=dimensions{2}.value | dedup osm_zone_id | fields osm_zone_id] | table _time, osm_zone_id&lt;/P&gt;

&lt;P&gt;Kindly help us.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:15:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488987#M1710</guid>
      <dc:creator>manibattula</dc:creator>
      <dc:date>2020-09-30T05:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Time slicing issue</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488988#M1711</link>
      <description>&lt;P&gt;The &lt;CODE&gt;timechart&lt;/CODE&gt; command will fill in missing time frames.  Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="us_west_prod_power_platform" sourcetype="spark:metric" metricName="HRTBT_LHIST_METRIC_DD" host="emr-prod-distributor" 
| spath output=osm_zone_id path=dimensions{2}.value 
| dedup osm_zone_id | fields _time osm_zone_id
| timechart span=1h values(osm_zone_id) as osm_zone_id
| table _time, osm_zone_id
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Apr 2020 17:26:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Time-slicing-issue/m-p/488988#M1711</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-29T17:26:37Z</dc:date>
    </item>
  </channel>
</rss>

