<?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 _TCP _ROUTING - windows event – will this work? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/TCP-ROUTING-windows-event-will-this-work/m-p/436246#M76120</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;
I was wondering how you go about extracting and forwarding certain field values to a third party system and whether the below would work. &lt;/P&gt;

&lt;P&gt;The goal is to extract a few field values (timestamp, username and IP) from WindowsEventID4624 and forward them to ‘device1’. EventID462 must also be stored on the indexer. The app below would be installed on the indexer.  &lt;/P&gt;

&lt;P&gt;outputs.conf:&lt;BR /&gt;
[tcpout:Device1]&lt;BR /&gt;
server = 1.1.1.1.1:5514&lt;BR /&gt;
sendCookedData = false&lt;/P&gt;

&lt;P&gt;props.conf:&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-foo = WinEventID4624&lt;/P&gt;

&lt;P&gt;transforms.conf:&lt;BR /&gt;
[WinEventID4624]&lt;BR /&gt;
REGEX = &lt;CODE&gt;(?gmsi)(\d{2}\/\d{2}\/\d{4}\s\d{2}:\d{2}:\d{2}\s(?:PM|AM)?).*EventCode=\b4624\b.*Account Name:\s*([^\r\n\@]\S+).*?Source\sNetwork\sAddress:\s(?&amp;lt;IP&amp;gt;\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})&lt;/CODE&gt;&lt;BR /&gt;
DEST_KEY = _TCP_ROUTING &lt;BR /&gt;
FORMAT = Time::$1,AccountName::$2,IP::$3&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 20:25:32 GMT</pubDate>
    <dc:creator>pete222</dc:creator>
    <dc:date>2020-09-29T20:25:32Z</dc:date>
    <item>
      <title>_TCP _ROUTING - windows event – will this work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TCP-ROUTING-windows-event-will-this-work/m-p/436246#M76120</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
I was wondering how you go about extracting and forwarding certain field values to a third party system and whether the below would work. &lt;/P&gt;

&lt;P&gt;The goal is to extract a few field values (timestamp, username and IP) from WindowsEventID4624 and forward them to ‘device1’. EventID462 must also be stored on the indexer. The app below would be installed on the indexer.  &lt;/P&gt;

&lt;P&gt;outputs.conf:&lt;BR /&gt;
[tcpout:Device1]&lt;BR /&gt;
server = 1.1.1.1.1:5514&lt;BR /&gt;
sendCookedData = false&lt;/P&gt;

&lt;P&gt;props.conf:&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-foo = WinEventID4624&lt;/P&gt;

&lt;P&gt;transforms.conf:&lt;BR /&gt;
[WinEventID4624]&lt;BR /&gt;
REGEX = &lt;CODE&gt;(?gmsi)(\d{2}\/\d{2}\/\d{4}\s\d{2}:\d{2}:\d{2}\s(?:PM|AM)?).*EventCode=\b4624\b.*Account Name:\s*([^\r\n\@]\S+).*?Source\sNetwork\sAddress:\s(?&amp;lt;IP&amp;gt;\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})&lt;/CODE&gt;&lt;BR /&gt;
DEST_KEY = _TCP_ROUTING &lt;BR /&gt;
FORMAT = Time::$1,AccountName::$2,IP::$3&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:25:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TCP-ROUTING-windows-event-will-this-work/m-p/436246#M76120</guid>
      <dc:creator>pete222</dc:creator>
      <dc:date>2020-09-29T20:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: _TCP _ROUTING - windows event – will this work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TCP-ROUTING-windows-event-will-this-work/m-p/436247#M76121</link>
      <description>&lt;P&gt;I don't think something like that is possible (sending only specific portion/fields to third party system). The transforms.conf you've, the FORMAT should provide the value for the attribute defined by DEST_KEY, and probably won't do anything (may be few warning/errors in internal logs).  You would be able to send the whole raw log for a particular event code (based on regex specified in REGEX) to a third party system where you'd specify the _TCP_ROUTING group for that system in your FORMAT setting.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:25:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TCP-ROUTING-windows-event-will-this-work/m-p/436247#M76121</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-29T20:25:42Z</dc:date>
    </item>
  </channel>
</rss>

