<?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 can I make a table for multiple Windows Events ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-make-a-table-for-multiple-Windows-Events/m-p/382516#M111769</link>
    <description>&lt;P&gt;How about splitting by EventCode:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=wineventlog source=WinEventLog:security 
  | fields _raw 
  | eval esize=len(_raw) 
  | stats count as count avg(esize) as avg by EventCode
  | eval bytes=count*avg 
  | eval kb=bytes/1024 
  | eval mb=round(kb/1024,2) 
  | stats values(kb) as KB, values(mb) AS MB by EventCode
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 09 Jul 2019 20:21:48 GMT</pubDate>
    <dc:creator>tiagofbmm</dc:creator>
    <dc:date>2019-07-09T20:21:48Z</dc:date>
    <item>
      <title>How can I make a table for multiple Windows Events ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-make-a-table-for-multiple-Windows-Events/m-p/382515#M111768</link>
      <description>&lt;P&gt;How can I make a table for multiple Windows Events ?  This search gives me good results for one Event Code, but I have multiple Event IDs.  Trying to do some tuning. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog source=WinEventLog:security EventCode=4624
 | fields _raw 
 | eval esize=len(_raw) 
 | stats count as count avg(esize) as avg 
 | eval bytes=count*avg 
 | eval kb=bytes/1024 
 | eval mb=round(kb/1024,2) 
 | stats values(kb) as KB, values(mb) AS MB
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Jul 2019 18:20:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-make-a-table-for-multiple-Windows-Events/m-p/382515#M111768</guid>
      <dc:creator>itrimble1</dc:creator>
      <dc:date>2019-07-09T18:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make a table for multiple Windows Events ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-make-a-table-for-multiple-Windows-Events/m-p/382516#M111769</link>
      <description>&lt;P&gt;How about splitting by EventCode:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=wineventlog source=WinEventLog:security 
  | fields _raw 
  | eval esize=len(_raw) 
  | stats count as count avg(esize) as avg by EventCode
  | eval bytes=count*avg 
  | eval kb=bytes/1024 
  | eval mb=round(kb/1024,2) 
  | stats values(kb) as KB, values(mb) AS MB by EventCode
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Jul 2019 20:21:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-make-a-table-for-multiple-Windows-Events/m-p/382516#M111769</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2019-07-09T20:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make a table for multiple Windows Events ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-make-a-table-for-multiple-Windows-Events/m-p/382517#M111770</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wineventlog source=WinEventLog:security
| fields _raw 
| eval esize=len(_raw) 
| stats count AS count avg(esize) AS avg 
| eval bytes=count*avg 
| eval kb=bytes/1024 
| eval mb=round(kb/1024,2) 
| stats values(kb) AS KB, values(mb) AS MB BY EventCode
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also be aware that &lt;CODE&gt;convert&lt;/CODE&gt; and has some things to do the bytes-&amp;gt;whatever things.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 22:40:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-make-a-table-for-multiple-Windows-Events/m-p/382517#M111770</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-09T22:40:14Z</dc:date>
    </item>
  </channel>
</rss>

