<?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 Forwarding events to different indexes in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-events-to-different-indexes/m-p/27028#M4491</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a universal forwarder that is monitoring a couple of text log files on a AD server. Now I would like to have the universal forwarder also monitor the windows event logs. So I currently have the following config in the input.conf;&lt;/P&gt;

&lt;PRE&gt;
[monitor://E:\App\serverlog.txt]
disabled = false 
index=appserver
&lt;/PRE&gt;

&lt;P&gt;I have read through the manual and I am going to add:&lt;/P&gt;

&lt;PRE&gt;
[WinEventLog:Application]
disabled = 0 
[WinEventLog:Security]
disabled = 0 
[WinEventLog:System]
disabled = 0 

[WinEventLog:DNS Server]
disabled = 0
[WinEventLog:Directory Service]
disabled = 0
[WinEventLog:File Replication Service]
disabled = 0
&lt;/PRE&gt;

&lt;P&gt;However I would like to have the logs from the AD in their own indexes and not all mixed up with the appserver index. I have installed the Splunk for AD addon.&lt;/P&gt;

&lt;P&gt;Should I just add a index=adlog or something like that to the input.conf at the universal forwarder? Does the Splunk for AD split the logs to their own index automatically?&lt;/P&gt;</description>
    <pubDate>Mon, 11 Feb 2013 11:15:01 GMT</pubDate>
    <dc:creator>krugger</dc:creator>
    <dc:date>2013-02-11T11:15:01Z</dc:date>
    <item>
      <title>Forwarding events to different indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-events-to-different-indexes/m-p/27028#M4491</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a universal forwarder that is monitoring a couple of text log files on a AD server. Now I would like to have the universal forwarder also monitor the windows event logs. So I currently have the following config in the input.conf;&lt;/P&gt;

&lt;PRE&gt;
[monitor://E:\App\serverlog.txt]
disabled = false 
index=appserver
&lt;/PRE&gt;

&lt;P&gt;I have read through the manual and I am going to add:&lt;/P&gt;

&lt;PRE&gt;
[WinEventLog:Application]
disabled = 0 
[WinEventLog:Security]
disabled = 0 
[WinEventLog:System]
disabled = 0 

[WinEventLog:DNS Server]
disabled = 0
[WinEventLog:Directory Service]
disabled = 0
[WinEventLog:File Replication Service]
disabled = 0
&lt;/PRE&gt;

&lt;P&gt;However I would like to have the logs from the AD in their own indexes and not all mixed up with the appserver index. I have installed the Splunk for AD addon.&lt;/P&gt;

&lt;P&gt;Should I just add a index=adlog or something like that to the input.conf at the universal forwarder? Does the Splunk for AD split the logs to their own index automatically?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2013 11:15:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarding-events-to-different-indexes/m-p/27028#M4491</guid>
      <dc:creator>krugger</dc:creator>
      <dc:date>2013-02-11T11:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding events to different indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-events-to-different-indexes/m-p/27029#M4492</link>
      <description>&lt;P&gt;Hi krugger,&lt;/P&gt;

&lt;P&gt;you just need to add to every stanza in your inputs.conf file the index you prefer.&lt;BR /&gt;
So, taking your example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Application]
disabled=0
index=adlog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This way, splunk will index that data undex adlog index. Also, I suggest to diversify your inputs assigning them different sourcetypes, specifying it in your inputs.conf under the "index" entry.&lt;BR /&gt;
Regards,&lt;/P&gt;

&lt;P&gt;Stefano&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2013 15:10:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarding-events-to-different-indexes/m-p/27029#M4492</guid>
      <dc:creator>stefano_guidoba</dc:creator>
      <dc:date>2013-02-11T15:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding events to different indexes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-events-to-different-indexes/m-p/27030#M4493</link>
      <description>&lt;P&gt;Do not forget to create the index on the indexer. Splunk will not create it for you automatically. Basic configuration of indexes can be done from the manager.&lt;/P&gt;

&lt;P&gt;Also, you do not need to assign sourcetypes for windows event logs, as they will automatically get the source and sourcetype set to &lt;CODE&gt;WinEventLog:XXXXX&lt;/CODE&gt; for each value of XXXXX, in the monitor stanzas.&lt;/P&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2013 16:42:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarding-events-to-different-indexes/m-p/27030#M4493</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-02-11T16:42:20Z</dc:date>
    </item>
  </channel>
</rss>

