<?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 get average event size... in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236947#M70427</link>
    <description>&lt;P&gt;Yes....... &lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2016 21:59:07 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-05-02T21:59:07Z</dc:date>
    <item>
      <title>How to get average event size...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236943#M70423</link>
      <description>&lt;P&gt;Is there a quick way (metadata? tstats?) to get the average event size for my events?  Querying every event would take forever...&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 20:47:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236943#M70423</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-05-02T20:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get average event size...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236944#M70424</link>
      <description>&lt;P&gt;AFAIK, Size of raw data is not stored in any metadata/tsidx, so only option would be to query raw data. May be run for a smaller period to avoid very long running query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | eval size=len(_raw) | stats avg(size)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 May 2016 20:51:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236944#M70424</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-05-02T20:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get average event size...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236945#M70425</link>
      <description>&lt;P&gt;Yep. Event size was important to my system at one point so I set-up an accelerated data model using the same eval you have shown above. With the ADM it's easy to grab stats based on sourcetype, source, index and/or host. Once the need passed, I disabled the acceleration.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 21:02:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236945#M70425</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2016-05-02T21:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get average event size...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236946#M70426</link>
      <description>&lt;P&gt;Thanks.  Is that bytes? &lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 21:48:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236946#M70426</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-05-02T21:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to get average event size...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236947#M70427</link>
      <description>&lt;P&gt;Yes....... &lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 21:59:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236947#M70427</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-05-02T21:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get average event size...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236948#M70428</link>
      <description>&lt;P&gt;If you wanted a quick and dirty method you could do some math on the metrics logs (# events / size) but the larger your environment the less I trust the metrics log /shrug.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 11:39:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236948#M70428</guid>
      <dc:creator>Runals</dc:creator>
      <dc:date>2016-05-03T11:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get average event size...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236949#M70429</link>
      <description>&lt;P&gt;license_usage.log shows the size of the events...I usually use that so long as none were skipped.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 20:23:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-average-event-size/m-p/236949#M70429</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2016-06-13T20:23:02Z</dc:date>
    </item>
  </channel>
</rss>

