<?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: Different values for each minute in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267359#M96391</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;i have tried the suggestion and i think i was not saying what i search for very good.&lt;/P&gt;

&lt;P&gt;let me give an example:&lt;/P&gt;

&lt;P&gt;let's say that i want to get the top 5 disks with the most transfer.&lt;BR /&gt;
i have 100 disks and i want to get the top 5 disks with the highest transfer rate for every minute.&lt;/P&gt;

&lt;P&gt;i wish to get the following - &lt;/P&gt;

&lt;P&gt;Date &amp;amp; Time            DISK_ID1      DISK_ID2      DISK_ID3      DISK_ID4      DISK_ID5&lt;/P&gt;

&lt;H6&gt;###            ######       ######      #######      #######&lt;/H6&gt;

&lt;P&gt;2016-09-12 10:58     DISK1           DISK64          DISK5             DISK9           DISK12&lt;BR /&gt;
2016-09-12 10:59     DISK50         DISK32          DISK19          DISK20         DISK5&lt;BR /&gt;
2016-09-12 11:00     DISK4           DISK27          DISK13          DISK89         DISK65&lt;/P&gt;

&lt;P&gt;you can see that for every minute a different disk had the highest level of transfer.&lt;/P&gt;

&lt;P&gt;i hope that now i wrote it better &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:56:50 GMT</pubDate>
    <dc:creator>naty</dc:creator>
    <dc:date>2020-09-29T10:56:50Z</dc:date>
    <item>
      <title>Different values for each minute</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267356#M96388</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;i'm new to splunk and in need for a little help.&lt;/P&gt;

&lt;P&gt;we can only access an index that was made for our department.&lt;/P&gt;

&lt;P&gt;background:&lt;BR /&gt;
we are extracting data by REST from our products to Splunk.&lt;BR /&gt;
one of our data inputs is extracting the following details:&lt;BR /&gt;
date &amp;amp; time, disk ID, disk Transfer&lt;BR /&gt;
the data input is getting data every minute.&lt;/P&gt;

&lt;P&gt;my problem is this:&lt;BR /&gt;
for every minute i would like to get the top 10 disks with the highest transfer.&lt;/P&gt;

&lt;P&gt;we tried to do something like this:&lt;BR /&gt;
index=our_index source=... | timechart max(TRANSFER) by DISK_ID limit=10 | sort TRANSFER&lt;/P&gt;

&lt;P&gt;what we ended up having is getting the current top 10 disks with the highest transfer rate and the history of them.&lt;BR /&gt;
the problem is that at some points there must have been different disks that were making more transfer but Splunk isn't showing them because it is searching on the current disks and not on every minute.&lt;/P&gt;

&lt;P&gt;i would like to get the data in a panel with the Statistics table visualization or the Column chart visualization.&lt;/P&gt;

&lt;P&gt;can anyone assist?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:53:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267356#M96388</guid>
      <dc:creator>naty</dc:creator>
      <dc:date>2020-09-29T10:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Different values for each minute</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267357#M96389</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=our_index source=... | bin span=1m _time | stats max(TRANSFER) as transfer by _time DISK_ID | sort _time - transfer | streamstats count by _time | where count &amp;lt;=10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;*&lt;STRONG&gt;&lt;EM&gt;UPDATED&lt;/EM&gt;&lt;/STRONG&gt;*&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=our_index source=... | bin span=1m _time | stats max(TRANSFER) as transfer by _time DISK_ID | sort _time - transfer | streamstats count by _time | where count &amp;lt;=5 | eval count="DISK_".count | chart values(DISK_ID) as disk over _time by count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Sep 2016 16:49:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267357#M96389</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-07T16:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Different values for each minute</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267358#M96390</link>
      <description>&lt;P&gt;I think you forgot to put a hyphen before transfer (to sort in descending order of transfer rate).&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 16:55:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267358#M96390</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-07T16:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Different values for each minute</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267359#M96391</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;i have tried the suggestion and i think i was not saying what i search for very good.&lt;/P&gt;

&lt;P&gt;let me give an example:&lt;/P&gt;

&lt;P&gt;let's say that i want to get the top 5 disks with the most transfer.&lt;BR /&gt;
i have 100 disks and i want to get the top 5 disks with the highest transfer rate for every minute.&lt;/P&gt;

&lt;P&gt;i wish to get the following - &lt;/P&gt;

&lt;P&gt;Date &amp;amp; Time            DISK_ID1      DISK_ID2      DISK_ID3      DISK_ID4      DISK_ID5&lt;/P&gt;

&lt;H6&gt;###            ######       ######      #######      #######&lt;/H6&gt;

&lt;P&gt;2016-09-12 10:58     DISK1           DISK64          DISK5             DISK9           DISK12&lt;BR /&gt;
2016-09-12 10:59     DISK50         DISK32          DISK19          DISK20         DISK5&lt;BR /&gt;
2016-09-12 11:00     DISK4           DISK27          DISK13          DISK89         DISK65&lt;/P&gt;

&lt;P&gt;you can see that for every minute a different disk had the highest level of transfer.&lt;/P&gt;

&lt;P&gt;i hope that now i wrote it better &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:56:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267359#M96391</guid>
      <dc:creator>naty</dc:creator>
      <dc:date>2020-09-29T10:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Different values for each minute</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267360#M96392</link>
      <description>&lt;P&gt;Try the udpated answer&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 14:49:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267360#M96392</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-12T14:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Different values for each minute</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267361#M96393</link>
      <description>&lt;P&gt;it worked!!&lt;BR /&gt;
thank you &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 13:08:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Different-values-for-each-minute/m-p/267361#M96393</guid>
      <dc:creator>naty</dc:creator>
      <dc:date>2016-09-15T13:08:37Z</dc:date>
    </item>
  </channel>
</rss>

