<?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 display column chart based on events count and display events size in bytes, KB, MB, and GB? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291494#M88057</link>
    <description>&lt;P&gt;hi,&lt;BR /&gt;
thank you.&lt;BR /&gt;
when i was trying to display events for timerange 2 hours&lt;BR /&gt;
if i have a events count like 100000 and if i count the sum of these events in bytes,size is coming as a big number,when i display events count and size in column chart,i always see size chart because event size is big.&lt;/P&gt;

&lt;P&gt;so i was thinking based on events count,may be we can display size of total events&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2017 20:53:08 GMT</pubDate>
    <dc:creator>rajgowd1</dc:creator>
    <dc:date>2017-02-08T20:53:08Z</dc:date>
    <item>
      <title>How to display column chart based on events count and display events size in bytes, KB, MB, and GB?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291492#M88055</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
i would like to display column chart based on events count and display events size in bytes,KB,MB and GB&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;if events&amp;lt;1000 ---&amp;gt; display count and size in bytes
if events between 1000 to 10000 ---&amp;gt; display count and size in KB
if events between 10000 to 100000 ----&amp;gt; display count and size in MB
if events between &amp;gt;100000 ----&amp;gt; display count and size in GB
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;currently i am using below search to get count and size in KB's&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=myindex |eval esize=len(_raw) |timechart span=1m count as Count, sum(esize) as "EventsSize" | eval kb=EventsSize/1024 | fields - EventsSize
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Feb 2017 18:46:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291492#M88055</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2017-02-08T18:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to display column chart based on events count and display events size in bytes, KB, MB, and GB?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291493#M88056</link>
      <description>&lt;P&gt;If you change the scale (by converting bytes to kb/mb/gb), the size of columns would not look realistic. (e.g. 900 bytes would be much higher than 55 kb, but in reality 55kb is bigger).&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 20:39:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291493#M88056</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-08T20:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to display column chart based on events count and display events size in bytes, KB, MB, and GB?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291494#M88057</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;
thank you.&lt;BR /&gt;
when i was trying to display events for timerange 2 hours&lt;BR /&gt;
if i have a events count like 100000 and if i count the sum of these events in bytes,size is coming as a big number,when i display events count and size in column chart,i always see size chart because event size is big.&lt;/P&gt;

&lt;P&gt;so i was thinking based on events count,may be we can display size of total events&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 20:53:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291494#M88057</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2017-02-08T20:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to display column chart based on events count and display events size in bytes, KB, MB, and GB?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291495#M88058</link>
      <description>&lt;P&gt;In that case, you should use chart overlay feature so that you can show two series (event count and event size) in single graph but both can use separate y-axis. See this for more information on the same.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/Viz/Chartcontrols#Chart_overlay_example_.28dual_axis.29"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.2/Viz/Chartcontrols#Chart_overlay_example_.28dual_axis.29&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 20:57:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291495#M88058</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-08T20:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to display column chart based on events count and display events size in bytes, KB, MB, and GB?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291496#M88059</link>
      <description>&lt;P&gt;The best way to handle this is to edit your visualization, click on the &lt;CODE&gt;Format&lt;/CODE&gt; (the pen/paintbrush icon), click on the &lt;CODE&gt;Y-Axis&lt;/CODE&gt; tab, then the &lt;CODE&gt;Log&lt;/CODE&gt; button in the &lt;CODE&gt;Scale&lt;/CODE&gt; control.  This will ensure that the smaller amounts on the view are not dwarfed to a flat line by the bigger values.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 19:56:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291496#M88059</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-02-21T19:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to display column chart based on events count and display events size in bytes, KB, MB, and GB?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291497#M88060</link>
      <description>&lt;P&gt;You can also put each value on a separate axis or use a horizon chart&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 20:02:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-column-chart-based-on-events-count-and-display/m-p/291497#M88060</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2017-02-21T20:02:17Z</dc:date>
    </item>
  </channel>
</rss>

