<?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: Using Splunk, how do I convert bytes to Kb, Mb, Gb in a table? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426360#M40828</link>
    <description>&lt;P&gt;Any sample data? &lt;/P&gt;</description>
    <pubDate>Mon, 15 Oct 2018 15:53:29 GMT</pubDate>
    <dc:creator>Vijeta</dc:creator>
    <dc:date>2018-10-15T15:53:29Z</dc:date>
    <item>
      <title>Using Splunk, how do I convert bytes to Kb, Mb, Gb in a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426357#M40825</link>
      <description>&lt;P&gt;hello, &lt;BR /&gt;
I'm new to Splunk, I would like to find how many KB/sec used in "_internal" source and convert that to GB/sec. &lt;/P&gt;

&lt;P&gt;Could you please help me writting a query for that. I'm using Splunk Enterprise serach and trying to show the results in a dashboard where it shows both KB/sec and GB/sec. maybe show the results in a graph or chart or table.&lt;/P&gt;

&lt;P&gt;what i have so far:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_internal" source="*mertrics.log" group= per_sourcetype_thruput 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thank you in advance! &lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 14:56:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426357#M40825</guid>
      <dc:creator>maryamchar</dc:creator>
      <dc:date>2018-10-15T14:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk, how do I convert bytes to Kb, Mb, Gb in a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426358#M40826</link>
      <description>&lt;P&gt;Are you looking for something like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_internal" group=per_sourcetype_thruput| eval mbps=kbps/1024, gbps=mbps/1024| table kbps, mbps, gbps
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You don't always need to look into index for these type of conversion. You can use something like below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|makeresults| eval kb=1024| eval mb=kb/1024| table kb, mb
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if this helps. &lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 15:30:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426358#M40826</guid>
      <dc:creator>pramit46</dc:creator>
      <dc:date>2018-10-15T15:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk, how do I convert bytes to Kb, Mb, Gb in a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426359#M40827</link>
      <description>&lt;P&gt;The above query didn't work i got an error message &lt;BR /&gt;
" Fields cannot be assigned a boolean results" &lt;BR /&gt;
Yes what you're tying to show me that's what i'm trying to have. Something where it shows conversion from Kb/sec, GB/sec, MB/sec in a table &lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 15:34:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426359#M40827</guid>
      <dc:creator>maryamchar</dc:creator>
      <dc:date>2018-10-15T15:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk, how do I convert bytes to Kb, Mb, Gb in a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426360#M40828</link>
      <description>&lt;P&gt;Any sample data? &lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 15:53:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426360#M40828</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2018-10-15T15:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk, how do I convert bytes to Kb, Mb, Gb in a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426361#M40829</link>
      <description>&lt;P&gt;i don't have sample data, i'm just using  index="_internal" source="*mertrics.log" group= per_sourcetype_thruput &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:37:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426361#M40829</guid>
      <dc:creator>maryamchar</dc:creator>
      <dc:date>2020-09-29T21:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk, how do I convert bytes to Kb, Mb, Gb in a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426362#M40830</link>
      <description>&lt;P&gt;I tried both the lines in my local environment and they worked just fine. Can you please just post the screenshot of the error and the query you are running? I guess something is missing somewhere. &lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 13:32:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426362#M40830</guid>
      <dc:creator>pramit46</dc:creator>
      <dc:date>2018-10-16T13:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk, how do I convert bytes to Kb, Mb, Gb in a table?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426363#M40831</link>
      <description>&lt;P&gt;No problem, i got it to work in a different way. Thank you for help! &lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 14:39:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Using-Splunk-how-do-I-convert-bytes-to-Kb-Mb-Gb-in-a-table/m-p/426363#M40831</guid>
      <dc:creator>maryamchar</dc:creator>
      <dc:date>2018-10-16T14:39:38Z</dc:date>
    </item>
  </channel>
</rss>

