<?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 do new User-Setup Windows Event Logs from Universal Forwarder to Different Index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-do-new-User-Setup-Windows-Event-Logs-from-Universal/m-p/326202#M60631</link>
    <description>&lt;P&gt;What you will want is a combination of outputs.conf and inputs.conf. The outputs.conf tells the forwarder what server to send the data to and the inputs.conf tells it what data to send and what properties to go with that data. You should have something that looks like this on your universal forwarder:&lt;/P&gt;

&lt;P&gt;outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
 defaultGroup = default-autolb-group

 [tcpout:default-autolb-group]
 disabled = false
 server = splunk1.patientfirst.com:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Security]
disabled = 0
start_from = oldest
current_only = 0
renderXML = false
index = &amp;lt;your index&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Unless changed in the configs the port for sending Splunk data from forwarder to indexer should be 9997. For forwarding Windows events this is a good resource to check and you may adjust the settings as desired (maybe you only want specific event codes from WinEventLog:Security?): &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.1/Admin/Inputsconf#Windows_Event_Log_Monitor"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.1/Admin/Inputsconf#Windows_Event_Log_Monitor&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2018 21:15:32 GMT</pubDate>
    <dc:creator>mdsnmss</dc:creator>
    <dc:date>2018-01-24T21:15:32Z</dc:date>
    <item>
      <title>How to do new User-Setup Windows Event Logs from Universal Forwarder to Different Index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-do-new-User-Setup-Windows-Event-Logs-from-Universal/m-p/326201#M60630</link>
      <description>&lt;P&gt;Sorry for this question as I know it is probably simple, but I can't figure it out.  I have a single windows server running the splunk universal forwarder.  I have tried to setup a data input (may not be necessary) to receive the information, TCP 5143, and then put it to a sourcetype of WinEventLog:Security and a new indexer, security_file_audit.&lt;/P&gt;

&lt;P&gt;On my windows server where the universal forwarder is installed, I have setup the outputs.conf file to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = default-autolb-group

[tcpout-server://splunk1.patientfirst.com:5143]

[tcpout:default-autolb-group]
disabled = false
server = splunk1.patientfirst.com:5143
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I cycle the service I get errors&lt;BR /&gt;
&lt;CODE&gt;01-24-2018 14:11:04.109 -0500 WARN  TcpOutputProc - Cooked connection to ip=10.0.103.210:5143 timed out&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;When I change from &lt;CODE&gt;5143&lt;/CODE&gt; to &lt;CODE&gt;9997&lt;/CODE&gt; though everything comes across though not to my new index, but rather to main.&lt;/P&gt;

&lt;P&gt;Hopefully I am just doing something stupid.  Can someone clarify where I am going wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:47:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-do-new-User-Setup-Windows-Event-Logs-from-Universal/m-p/326201#M60630</guid>
      <dc:creator>ghostdog920</dc:creator>
      <dc:date>2020-09-29T17:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to do new User-Setup Windows Event Logs from Universal Forwarder to Different Index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-do-new-User-Setup-Windows-Event-Logs-from-Universal/m-p/326202#M60631</link>
      <description>&lt;P&gt;What you will want is a combination of outputs.conf and inputs.conf. The outputs.conf tells the forwarder what server to send the data to and the inputs.conf tells it what data to send and what properties to go with that data. You should have something that looks like this on your universal forwarder:&lt;/P&gt;

&lt;P&gt;outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
 defaultGroup = default-autolb-group

 [tcpout:default-autolb-group]
 disabled = false
 server = splunk1.patientfirst.com:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Security]
disabled = 0
start_from = oldest
current_only = 0
renderXML = false
index = &amp;lt;your index&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Unless changed in the configs the port for sending Splunk data from forwarder to indexer should be 9997. For forwarding Windows events this is a good resource to check and you may adjust the settings as desired (maybe you only want specific event codes from WinEventLog:Security?): &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.1/Admin/Inputsconf#Windows_Event_Log_Monitor"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.1/Admin/Inputsconf#Windows_Event_Log_Monitor&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 21:15:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-do-new-User-Setup-Windows-Event-Logs-from-Universal/m-p/326202#M60631</guid>
      <dc:creator>mdsnmss</dc:creator>
      <dc:date>2018-01-24T21:15:32Z</dc:date>
    </item>
  </channel>
</rss>

