<?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: Windows Event Collection and Splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Collection-and-Splunk/m-p/433224#M75736</link>
    <description>&lt;P&gt;Yes, the forum formatting is the reason those lines look that way.&lt;BR /&gt;
Right now I am unconcerned as much with debugging output from splunkd that comes over.&lt;BR /&gt;
Yes, I have both Security and Forwarded events going from my WEC/Universal Forwarder server to the Indexer.&lt;/P&gt;

&lt;P&gt;I have tried a few different ways to get the host field to show what the computername field shows.  As I understand it this is possible to do with forwarded events.  So far I have not been able to get Splunk to do this...&lt;/P&gt;

&lt;P&gt;entry in splunk/etc/system/local/props.conf:&lt;BR /&gt;
[source::WinEventLog:*]&lt;BR /&gt;
TRANSFORMS-change_host = WinEventHostOverride&lt;/P&gt;

&lt;P&gt;entry in splunk/etc/system/local/transforms.conf&lt;BR /&gt;
[WinEventHostOverride]&lt;BR /&gt;
DEST_KEY = MetaData:Host&lt;BR /&gt;
REGEX = (?m)^ComputerName=([\S]*)&lt;BR /&gt;
FORMAT = host::$1&lt;/P&gt;

&lt;P&gt;What am I missing?&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2019 21:44:24 GMT</pubDate>
    <dc:creator>rweales</dc:creator>
    <dc:date>2019-06-19T21:44:24Z</dc:date>
    <item>
      <title>Windows Event Collection and Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Collection-and-Splunk/m-p/433221#M75733</link>
      <description>&lt;P&gt;So I have read many of the posts here regarding Window Event Collection and Splunk.  So far I have not been able to find what I'm looking for, which is probably pretty basic stuff, but I haven't been able to get Splunk to do what I need.&lt;/P&gt;

&lt;P&gt;Here are my questions:&lt;/P&gt;

&lt;P&gt;How do I get Splunk to override the host with the computername?  I have tried setting this up in props and transforms on my Indexer(not the WE Collector server running the Universal Forwarder).  I copied the props and transforms to &lt;EM&gt;/splunk/etc/system/local&lt;/EM&gt; and edited those, as per the warning in the files.  I assume that is the correct location for those files.  I have tried both of these(one at a time) and neither worked.&lt;BR /&gt;&lt;BR /&gt;
Am I supposed to be setting this up on the indexer or on the WEC server where the Forwarder is installed?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   [WinEventLog:*]
   TRANSFORMS-change_host =
   WinEventHostOverride

   [(?:::){0}WinEventLog:...]
   TRANSFORMS-FixWinEventLogHost =
   WinEventLog-SetForwarderName,WinEventLog-SetOriginatingHost
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When my WEC server receives security events from various Windows boxes, those events get forwarded to Splunk, however, they show up as coming from the WEC server, not from the individual computername.&lt;BR /&gt;
Is it possible to get the Universal Forwarder to NOT FORWARD all of its Metrics info, etc;  When I do a search in Splunk for things from my WEC server I see page after page of this.&lt;/P&gt;

&lt;P&gt;When I install the Forwarder, should I be selecting "Forwarded Events" and "Security Events" or just one or the other?  I only want Security Events, however, they are forwarded from other systems.&lt;/P&gt;

&lt;P&gt;Thanks for any assistance!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 15:43:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Collection-and-Splunk/m-p/433221#M75733</guid>
      <dc:creator>rweales</dc:creator>
      <dc:date>2019-06-18T15:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Event Collection and Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Collection-and-Splunk/m-p/433222#M75734</link>
      <description>&lt;P&gt;Perhaps it's how things are re-formatted by the forum, but attributes and values in props.conf should be on the same line, as in &lt;CODE&gt;TRANSFORMS-change_host = WinEventHostOverride&lt;/CODE&gt;.&lt;BR /&gt;
Also, please provide your related transforms.conf stanzas and some sample data.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 13:29:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Collection-and-Splunk/m-p/433222#M75734</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-06-19T13:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Event Collection and Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Collection-and-Splunk/m-p/433223#M75735</link>
      <description>&lt;P&gt;What @richgalloway says.&lt;/P&gt;

&lt;P&gt;As for your last 2 additional questions: yes, you can limit what the UF forwards in the sense of internal logs. You need to change the inputs.conf settings for the respective sources for that. But I would recommend keeping that, as it can become very useful when debugging and is also needed for proper functioning of your Monitoring Console for example.&lt;/P&gt;

&lt;P&gt;I would say you want to select both forwarded events and security events. As you want the events forwarded to you WEC host as well as the WEC host's own local security logs, right?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 13:55:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Collection-and-Splunk/m-p/433223#M75735</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2019-06-19T13:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Event Collection and Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Collection-and-Splunk/m-p/433224#M75736</link>
      <description>&lt;P&gt;Yes, the forum formatting is the reason those lines look that way.&lt;BR /&gt;
Right now I am unconcerned as much with debugging output from splunkd that comes over.&lt;BR /&gt;
Yes, I have both Security and Forwarded events going from my WEC/Universal Forwarder server to the Indexer.&lt;/P&gt;

&lt;P&gt;I have tried a few different ways to get the host field to show what the computername field shows.  As I understand it this is possible to do with forwarded events.  So far I have not been able to get Splunk to do this...&lt;/P&gt;

&lt;P&gt;entry in splunk/etc/system/local/props.conf:&lt;BR /&gt;
[source::WinEventLog:*]&lt;BR /&gt;
TRANSFORMS-change_host = WinEventHostOverride&lt;/P&gt;

&lt;P&gt;entry in splunk/etc/system/local/transforms.conf&lt;BR /&gt;
[WinEventHostOverride]&lt;BR /&gt;
DEST_KEY = MetaData:Host&lt;BR /&gt;
REGEX = (?m)^ComputerName=([\S]*)&lt;BR /&gt;
FORMAT = host::$1&lt;/P&gt;

&lt;P&gt;What am I missing?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 21:44:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Collection-and-Splunk/m-p/433224#M75736</guid>
      <dc:creator>rweales</dc:creator>
      <dc:date>2019-06-19T21:44:24Z</dc:date>
    </item>
  </channel>
</rss>

