<?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: Light forwarder can't find index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Light-forwarder-can-t-find-index/m-p/103358#M21732</link>
    <description>&lt;P&gt;So are you saying that I need to add the monitor first without specifying the index, and then manually edit the inputs.conf file?&lt;/P&gt;

&lt;P&gt;Also, which file is it?&lt;/P&gt;

&lt;P&gt;find . -type f -name inputs.conf &lt;BR /&gt;
./etc/system/default/inputs.conf&lt;BR /&gt;
./etc/apps/SplunkUniversalForwarder/default/inputs.conf&lt;BR /&gt;
./etc/apps/SplunkLightForwarder/default/inputs.conf&lt;BR /&gt;
./etc/apps/SplunkDeploymentMonitor/local/inputs.conf&lt;BR /&gt;
./etc/apps/sample_app/default/inputs.conf&lt;BR /&gt;
./etc/apps/search/local/inputs.conf&lt;BR /&gt;
./etc/modules/distributedDeployment/classes/deployable/inputs.conf&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2011 16:37:08 GMT</pubDate>
    <dc:creator>dlindsay</dc:creator>
    <dc:date>2011-05-17T16:37:08Z</dc:date>
    <item>
      <title>Light forwarder can't find index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Light-forwarder-can-t-find-index/m-p/103356#M21730</link>
      <description>&lt;P&gt;I have a server side index named dev4.&lt;BR /&gt;
However, when configuring my forwarder using this command:&lt;/P&gt;

&lt;P&gt;splunk add monitor /home/ilpcore/ILPcore/logs/tcat-agent-sys.2011-05-16.log -index dev4 -sourcetype ILPcore -auth admin:changeme&lt;/P&gt;

&lt;P&gt;I get the following error:&lt;/P&gt;

&lt;P&gt;In handler 'monitor': Parameter index: Index 'dev4' does not exist. Please provide a valid index.&lt;/P&gt;

&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2011 16:19:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Light-forwarder-can-t-find-index/m-p/103356#M21730</guid>
      <dc:creator>dlindsay</dc:creator>
      <dc:date>2011-05-17T16:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Light forwarder can't find index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Light-forwarder-can-t-find-index/m-p/103357#M21731</link>
      <description>&lt;P&gt;The CLI on the light forwarder doesn't understand that you are providing a remote index, as code for the CLI is the same from a UF/LWF/Indexer. When you specify an index, it will presume an index specified in the CLI exists locally. You'll need to specify the index in inputs.conf under the monitor stanza you've created via the CLI for remote indexes on the LF/UF. &lt;/P&gt;

&lt;P&gt;There is a feature request in to ask for an argument to specify a remote index and/or provide a warning page if the index does not exist to warn you that the index must exist remotely. &lt;/P&gt;

&lt;P&gt;This issue was also addressed in the following splunk answers post:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/12960/how-to-use-custom-index-for-universal-forwarder"&gt;http://splunk-base.splunk.com/answers/12960/how-to-use-custom-index-for-universal-forwarder&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2011 16:27:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Light-forwarder-can-t-find-index/m-p/103357#M21731</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2011-05-17T16:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Light forwarder can't find index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Light-forwarder-can-t-find-index/m-p/103358#M21732</link>
      <description>&lt;P&gt;So are you saying that I need to add the monitor first without specifying the index, and then manually edit the inputs.conf file?&lt;/P&gt;

&lt;P&gt;Also, which file is it?&lt;/P&gt;

&lt;P&gt;find . -type f -name inputs.conf &lt;BR /&gt;
./etc/system/default/inputs.conf&lt;BR /&gt;
./etc/apps/SplunkUniversalForwarder/default/inputs.conf&lt;BR /&gt;
./etc/apps/SplunkLightForwarder/default/inputs.conf&lt;BR /&gt;
./etc/apps/SplunkDeploymentMonitor/local/inputs.conf&lt;BR /&gt;
./etc/apps/sample_app/default/inputs.conf&lt;BR /&gt;
./etc/apps/search/local/inputs.conf&lt;BR /&gt;
./etc/modules/distributedDeployment/classes/deployable/inputs.conf&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2011 16:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Light-forwarder-can-t-find-index/m-p/103358#M21732</guid>
      <dc:creator>dlindsay</dc:creator>
      <dc:date>2011-05-17T16:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Light forwarder can't find index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Light-forwarder-can-t-find-index/m-p/103359#M21733</link>
      <description>&lt;P&gt;That is correct. If you take a look at the other post I referenced, there are steps provided for finding the specific input:&lt;/P&gt;

&lt;P&gt;The file is probably in $SPLUNK_HOME/etc/apps/search/local/, but you might have to look for it:&lt;/P&gt;

&lt;P&gt;./splunk cmd btool --debug inputs list monitor:///path/specified&lt;/P&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;P&gt;find $SPLUNK_HOME/etc -name inputs.conf | xargs grep -l '^[monitor:///path/specified'&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2011 16:39:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Light-forwarder-can-t-find-index/m-p/103359#M21733</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2011-05-17T16:39:50Z</dc:date>
    </item>
  </channel>
</rss>

