<?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 index and forward all Windows Security events? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231486#M45089</link>
    <description>&lt;P&gt;I have tried Syslog routing and TCP routing and have not managed to get the windows security events to forward as a syslog event either way. any help would be appreciated.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2016 21:02:27 GMT</pubDate>
    <dc:creator>agarrison</dc:creator>
    <dc:date>2016-03-03T21:02:27Z</dc:date>
    <item>
      <title>How to index and forward all Windows Security events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231485#M45088</link>
      <description>&lt;P&gt;I can't find anything that quite matches what I am trying to do.&lt;BR /&gt;
We have a security device that can ingest Windows Security logs from Splunk, it would be much easier than installing a second forwarder for the security appliance itself.&lt;/P&gt;

&lt;P&gt;I cannot find what I would need to index &lt;CODE&gt;sourcetype="WinEventLog:Security"&lt;/CODE&gt; as well as forward it to an additional server.&lt;/P&gt;

&lt;P&gt;I have tried several implementations on here, but the whole props, transforms, outputs, inputs config file setup is not very intuitive.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 21:01:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231485#M45088</guid>
      <dc:creator>agarrison</dc:creator>
      <dc:date>2016-03-03T21:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to index and forward all Windows Security events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231486#M45089</link>
      <description>&lt;P&gt;I have tried Syslog routing and TCP routing and have not managed to get the windows security events to forward as a syslog event either way. any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 21:02:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231486#M45089</guid>
      <dc:creator>agarrison</dc:creator>
      <dc:date>2016-03-03T21:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to index and forward all Windows Security events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231487#M45090</link>
      <description>&lt;P&gt;The events need to be forwarded using TCP, I can get them out using UDP, but when I enter type=tcp in the outputs.conf it stops sending.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 21:59:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231487#M45090</guid>
      <dc:creator>agarrison</dc:creator>
      <dc:date>2016-03-03T21:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to index and forward all Windows Security events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231488#M45091</link>
      <description>&lt;P&gt;Hi agarrison,&lt;/P&gt;

&lt;P&gt;Maybe this link from the docs can help you: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.3/Forwarding/Forwarddatatothird-partysystemsd#Syslog_data"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.3/Forwarding/Forwarddatatothird-partysystemsd#Syslog_data&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 22:01:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231488#M45091</guid>
      <dc:creator>gfreitas</dc:creator>
      <dc:date>2016-03-03T22:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to index and forward all Windows Security events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231489#M45092</link>
      <description>&lt;P&gt;Hi agarrison, I've got some questions, but here is a provisional answer. If this is possible, it's outlined here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.3/Forwarding/Routeandfilterdatad"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.3/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 22:13:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231489#M45092</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2016-03-03T22:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to index and forward all Windows Security events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231490#M45093</link>
      <description>&lt;P&gt;Hi agarrison, do you have any heavy-forwarders, or do all of the universal forwarders send straight to the indexer(s)?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 22:14:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231490#M45093</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2016-03-03T22:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to index and forward all Windows Security events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231491#M45094</link>
      <description>&lt;P&gt;all of the servers have the Universal forwarder installed going to the splunk indexer. I want to just forward from the indexer so I am not collecting the information twice&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 23:30:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231491#M45094</guid>
      <dc:creator>agarrison</dc:creator>
      <dc:date>2016-03-03T23:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to index and forward all Windows Security events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231492#M45095</link>
      <description>&lt;P&gt;I have looked at all of those links before posting, Here is the config that I have&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;transforms.conf&lt;BR /&gt;
[sent_to_strm]&lt;BR /&gt;
 DEST_KEY = _SYSLOG_ROUTING&lt;BR /&gt;
 FORMAT= strm_server&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
 TRANSFORMS-strm = sent_to_strm&lt;/P&gt;

&lt;P&gt;outputs.conf&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;[syslog:strm_server]&lt;BR /&gt;
server=10.0.250.50:514&lt;BR /&gt;
indexAndForward=true&lt;BR /&gt;
sendCookedData=false&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      If I add type=tcp to the outputs it will not send, but the appliance is listening for a "TCP multiline event" from splunk and ignores the data if it is UDP
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:58:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231492#M45095</guid>
      <dc:creator>agarrison</dc:creator>
      <dc:date>2020-09-29T08:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to index and forward all Windows Security events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231493#M45096</link>
      <description>&lt;P&gt;Running a Wireshark capture I do not see anything forwarded after I add the type=tcp, but I get events without it. I'm not sure If I need to use _TCP_ROUTING? but When I tried to set that up I do not think I set it up right either since I got nothing.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231493#M45096</guid>
      <dc:creator>agarrison</dc:creator>
      <dc:date>2020-09-29T08:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to index and forward all Windows Security events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231494#M45097</link>
      <description>&lt;P&gt;I got it working using:&lt;BR /&gt;
outputs.conf&lt;BR /&gt;
[syslog:ms_strm_dev]&lt;BR /&gt;
server = 10.164.4.200:12468&lt;BR /&gt;
type = tcp&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[syslog]&lt;BR /&gt;
TRANSFORMS-routing = win_strm, win_index, FilterSecurityEvents, trunkEventDesc1, trunkEventDesc2, UserFilter, LogonFilter&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[win_index]&lt;BR /&gt;
REGEX = ^(\d\d)\/(\d\d)\/(\d\d\d\d)\s(\d\d):(\d\d):(\d\d)\s\w\w&lt;BR /&gt;
FORMAT = TimeGenerated::$2/$1/$3 $4&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;BR /&gt;
[win_strm]&lt;BR /&gt;
REGEX = EventCode=&lt;BR /&gt;
DEST_KEY = _SYSLOG_ROUTING&lt;BR /&gt;
FORMAT = ms_strm_dev&lt;/P&gt;

&lt;P&gt;But the data comes across with extra information, the event starts with &amp;lt;13&amp;gt; or some other two digit variable that the appliance does not seem to be expecting as well as the host name, which I am going to need them to parse to know where the event originated.&lt;/P&gt;

&lt;P&gt;&amp;lt;13&amp;gt; EXCHANGE 03/04/2016 11:01:54 AM&lt;/P&gt;

&lt;P&gt;LogName=Security&lt;BR /&gt;
SourceName=Microsoft Windows security auditing.&lt;BR /&gt;
EventCode=4624&lt;BR /&gt;
EventType=0&lt;BR /&gt;
Type=Information&lt;/P&gt;

&lt;P&gt;ComputerName=EXCHANGE.domain&lt;BR /&gt;
TaskCategory=Logon&lt;BR /&gt;
OpCode=Info&lt;BR /&gt;
RecordNumber=251551525&lt;BR /&gt;
Keywords=Audit Success&lt;BR /&gt;
Message=An account was successfully logged on.&lt;/P&gt;

&lt;P&gt;Subject:&lt;BR /&gt;
    Security ID:        NULL SID&lt;BR /&gt;
    Account Name:       -&lt;BR /&gt;
    Account Domain:     -&lt;BR /&gt;
    Logon ID:       0x0&lt;BR /&gt;
Logon Type:         3&lt;BR /&gt;
Impersonation Level:        Impersonation&lt;/P&gt;

&lt;P&gt;New Logon:&lt;BR /&gt;
    Security ID:        domain\jdoe&lt;BR /&gt;
    Account Name:       jdoe&lt;BR /&gt;
    Account Domain:     domain&lt;BR /&gt;
    Logon ID:       0x91E86B45&lt;BR /&gt;
    Logon GUID:     {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}&lt;/P&gt;

&lt;P&gt;Process Information:&lt;BR /&gt;
    Process ID:     0x0&lt;BR /&gt;
    Process Name:       -&lt;/P&gt;

&lt;P&gt;Network Information:&lt;BR /&gt;
    Workstation Name:&lt;BR /&gt;&lt;BR /&gt;
    Source Network Address: 10.0.0.250&lt;BR /&gt;
    Source Port:        60790&lt;/P&gt;

&lt;P&gt;Detailed Authentication Information:&lt;BR /&gt;
    Logon Process:      Kerberos&lt;BR /&gt;
    Authentication Package: Kerberos&lt;BR /&gt;
    Transited Services: -&lt;BR /&gt;
    Package Name (NTLM only):   -&lt;/P&gt;

&lt;P&gt;The appliance is apparently looking for the information following this regex:&lt;BR /&gt;
(?:&amp;lt;(\d+)&amp;gt;\s?(\w{3} \d{2} \d{2}:\d{2}:\d{2}) (\S+) )?(\d{2}/\d{2}/\d{4} \d{2}:\d{2}:\d{2}[AP]M)&lt;/P&gt;

&lt;P&gt;I made the following regex that works&lt;BR /&gt;
(?:&amp;lt;(\d+)&amp;gt;\s(?P\w+) (?P\d{2}\/\d{2}\/\d{4}) (?P\d{2}:\d{2}:\d{2}\ \w+))&lt;BR /&gt;
But I don't think there is any way to change the regex the appliance uses.&lt;/P&gt;

&lt;P&gt;I am using a Juniper JSA appliance, here is the manual, there is a Splunk section but it is not helpful, their document states to see the Splunk documentation&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.juniper.net/techpubs/en_US/jsa2014.4/information-products/topic-collections/jsa-configuring-dsm.pdf" target="_blank"&gt;https://www.juniper.net/techpubs/en_US/jsa2014.4/information-products/topic-collections/jsa-configuring-dsm.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:58:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-index-and-forward-all-Windows-Security-events/m-p/231494#M45097</guid>
      <dc:creator>agarrison</dc:creator>
      <dc:date>2020-09-29T08:58:54Z</dc:date>
    </item>
  </channel>
</rss>

