<?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: Forwarding to a specific Index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101900#M21364</link>
    <description>&lt;P&gt;Could you confirm that the file I need to modify in order to make this change is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C:\Program Files\Splunk\etc\apps\SplunkLightForwarder\default\inputs.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2011 17:57:43 GMT</pubDate>
    <dc:creator>dbutch1976</dc:creator>
    <dc:date>2011-05-16T17:57:43Z</dc:date>
    <item>
      <title>Forwarding to a specific Index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101898#M21362</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Here is my current syntax for installing my Splunk forwarders:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;msiexec.exe /i \\fileshare.domain.local Splunkdsplunk-4.2.1-98164-x86-release.msi SPLUNK_APP="SplunkLightForwarder" FORWARD_SERVER="splunk.domain.local:9997" RBG_LOGON_INFO_USER_CONTEXT=2 IS_NET_API_LOGON_USERNAME="Domainsplunk-svc" IS_NET_API_LOGON_PASSWORD="Password1" WINEVENTLOG_APP_ENABLE=1 WINEVENTLOG_SEC_ENABLE=1 WINEVENTLOG_SYS_ENABLE=1 /quiet
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The result of installing the splunkforwarder using this method is that my windows hosts are forwarding events to the default splunk index.  The Unix team has created a specific index just for our windows machine and I need to update the syntax to forward invents directly to an index called 'windows.'  Can someone tell me what I need to change in order to accomplish this from the command line?&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2011 14:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101898#M21362</guid>
      <dc:creator>dbutch1976</dc:creator>
      <dc:date>2011-05-13T14:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding to a specific Index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101899#M21363</link>
      <description>&lt;P&gt;dbutch,&lt;/P&gt;

&lt;P&gt;Since you are using a light forwarder you can route data to an alternate index using the following configurations on your indexer(s).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;## props.conf
[host::&amp;lt;your_host&amp;gt;]
TRANSFORMS-force_index_for_your_host = force_index_windows

## transforms.conf
[force_index_windows]
REGEX = .
DEST_KEY = _MetaData:Index
FORMAT = windows
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or this could be achieved on the forwarder by using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;## inputs.conf
[default]
index = windows
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 May 2011 05:05:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101899#M21363</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-05-16T05:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding to a specific Index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101900#M21364</link>
      <description>&lt;P&gt;Could you confirm that the file I need to modify in order to make this change is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C:\Program Files\Splunk\etc\apps\SplunkLightForwarder\default\inputs.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2011 17:57:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101900#M21364</guid>
      <dc:creator>dbutch1976</dc:creator>
      <dc:date>2011-05-16T17:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding to a specific Index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101901#M21365</link>
      <description>&lt;P&gt;you shouldn't make edits to things that exist inside of the default folder. &lt;/P&gt;

&lt;P&gt;Changes should be made in the local folder&lt;/P&gt;

&lt;P&gt;For details, see &lt;A href="http://www.splunk.com/base/Documentation/latest/admin/Aboutconfigurationfiles"&gt;http://www.splunk.com/base/Documentation/latest/admin/Aboutconfigurationfiles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The configuration directory structure&lt;/P&gt;

&lt;P&gt;The following is the configuration directory structure that exists under $SPLUNK_HOME/etc:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/etc/system/default
    This contains the pre-configured configuration files. Do not modify the files in this directory.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 May 2011 18:03:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101901#M21365</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2011-05-16T18:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding to a specific Index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101902#M21366</link>
      <description>&lt;P&gt;After thinking about it further I don't think that this method is ideal.  Correct me if I'm wrong, but any changes to the inputs.conf file will not take effect until the splunkd service is restarted.&lt;/P&gt;

&lt;P&gt;I'm concerned that events will go to the default index until the service restarts and the changes take affect.  Are you sure that I can't modify my command line installation to make the appropriate change to the inputs.conf file?  It's the same method I use to deterine which logs I'm monitoring using the switches below:&lt;/P&gt;

&lt;P&gt;msiexec.exe /i \fileshare.domain.local Splunkdsplunk-4.2.1-98164-x86-release.msi SPLUNK_APP="SplunkLightForwarder" FORWARD_SERVER="splunk.domain.local:9997" RBG_LOGON_INFO_USER_CONTEXT=2 IS_NET_API_LOGON_USERNAME="Domainsplunk-svc" IS_NET_API_LOGON_PASSWORD="Password1" &lt;STRONG&gt;&lt;EM&gt;WINEVENTLOG_APP_ENABLE=1 WINEVENTLOG_SEC_ENABLE=1 WINEVENTLOG_SYS_ENABLE=1&lt;/EM&gt;&lt;/STRONG&gt; /quiet&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:34:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101902#M21366</guid>
      <dc:creator>dbutch1976</dc:creator>
      <dc:date>2020-09-28T09:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding to a specific Index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101903#M21367</link>
      <description>&lt;P&gt;To reload inputs without having to restart splunkd you can run the command 'splunk _internal call /services/data/inputs/monitor/_reload -auth admin:changeme' from your $SPLUNK_HOME/bin/ folder.&lt;/P&gt;

&lt;P&gt;Just for the sake of avoiding confusion, it might be better to edit your initial answers vs adding new ones.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:34:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101903#M21367</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2020-09-28T09:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding to a specific Index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101904#M21368</link>
      <description>&lt;P&gt;I would actually recommend making these routing decisions on the indexer w/ the configs specified above, especially if you are not using deployment server.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2011 19:02:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarding-to-a-specific-Index/m-p/101904#M21368</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-05-16T19:02:54Z</dc:date>
    </item>
  </channel>
</rss>

