<?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 span with stats in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/span-with-stats/m-p/305918#M91840</link>
    <description>&lt;P&gt;Hi ALL&lt;BR /&gt;
i have a search &lt;BR /&gt;
sourcetype="pan:traffic"  | eval Byte_IN=bytes_in/1024/1024/1024 | eval Byte_OUT=bytes_out/1024/1024/1024 |eval  SumByte=bytes/1024/1024/1024   | stats sum(Byte_IN) AS GB_IN ,sum(Byte_OUT) AS GB_OUT ,sum(SumByte) AS Sum_GB&lt;/P&gt;

&lt;P&gt;i want span=1s &lt;BR /&gt;
how can do that&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 17:39:09 GMT</pubDate>
    <dc:creator>vumanhtai</dc:creator>
    <dc:date>2020-09-29T17:39:09Z</dc:date>
    <item>
      <title>span with stats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/span-with-stats/m-p/305918#M91840</link>
      <description>&lt;P&gt;Hi ALL&lt;BR /&gt;
i have a search &lt;BR /&gt;
sourcetype="pan:traffic"  | eval Byte_IN=bytes_in/1024/1024/1024 | eval Byte_OUT=bytes_out/1024/1024/1024 |eval  SumByte=bytes/1024/1024/1024   | stats sum(Byte_IN) AS GB_IN ,sum(Byte_OUT) AS GB_OUT ,sum(SumByte) AS Sum_GB&lt;/P&gt;

&lt;P&gt;i want span=1s &lt;BR /&gt;
how can do that&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:39:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/span-with-stats/m-p/305918#M91840</guid>
      <dc:creator>vumanhtai</dc:creator>
      <dc:date>2020-09-29T17:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: span with stats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/span-with-stats/m-p/305919#M91841</link>
      <description>&lt;P&gt;Hey you can use timechart command&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="pan:traffic" | eval Byte_IN=bytes_in/1024/1024/1024 | eval Byte_OUT=bytes_out/1024/1024/1024 |eval SumByte=bytes/1024/1024/1024 | timechart span=1s sum(Byte_IN) AS GB_IN ,sum(Byte_OUT) AS GB_OUT ,sum(SumByte) AS Sum_GB
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if this helps you!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 04:47:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/span-with-stats/m-p/305919#M91841</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-15T04:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: span with stats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/span-with-stats/m-p/305920#M91842</link>
      <description>&lt;P&gt;There are multiple options.  The first of which is &lt;CODE&gt;timechart&lt;/CODE&gt;, as @mayurr98 posted above.  The other, which you seem to have specifically asked about, is to do &lt;CODE&gt;stats BY _time&lt;/CODE&gt;, where you have previously performed &lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/SearchReference/Bin"&gt;bin&lt;/A&gt; against _time:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="pan:traffic" | eval Byte_IN=bytes_in/1024/1024/1024 | eval Byte_OUT=bytes_out/1024/1024/1024 |eval SumByte=bytes/1024/1024/1024 | bin span=1min _time | stats sum(Byte_IN) AS GB_IN ,sum(Byte_OUT) AS GB_OUT ,sum(SumByte) AS Sum_GB BY _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which of these is most appropriate depends on your specific use case, pick the style that gives you the type of results that work best for you.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 04:55:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/span-with-stats/m-p/305920#M91842</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-01-15T04:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: span with stats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/span-with-stats/m-p/305921#M91843</link>
      <description>&lt;P&gt;oh! yeah &lt;BR /&gt;
thank you so much &lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 05:54:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/span-with-stats/m-p/305921#M91843</guid>
      <dc:creator>vumanhtai</dc:creator>
      <dc:date>2018-01-15T05:54:45Z</dc:date>
    </item>
  </channel>
</rss>

