<?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: Files not indexed on new installation. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185782#M37195</link>
    <description>&lt;P&gt;Thanks for the pointer, im looking into it now&lt;/P&gt;

&lt;P&gt;i used the command line from powershell&lt;BR /&gt;
    cmd /c "msiexec.exe /i splunkforwarder-6.2.1-245427-x64-release.msi AGREETOLICENSE=Yes RECEIVING_INDEXER='simdc01:9997' MONITOR_PATH='c:\logs' PERFMON=cpu,memory,network,diskspace /quiet"&lt;BR /&gt;
to install the forwarder&lt;/P&gt;

&lt;P&gt;Is there a CLI command for telling the forwarder where to send the data?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 18:38:56 GMT</pubDate>
    <dc:creator>damian_ingenie_</dc:creator>
    <dc:date>2020-09-28T18:38:56Z</dc:date>
    <item>
      <title>Files not indexed on new installation.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185780#M37193</link>
      <description>&lt;P&gt;I've followed the documentation best i can to create an instance of splunk enterprise on one windows server&lt;BR /&gt;
Then added port 9997 as a receiving datat port on this admin page "&lt;A href="http://localhost:8000/en-US/manager/search/data/inputs/tcp/cooked"&gt;http://localhost:8000/en-US/manager/search/data/inputs/tcp/cooked&lt;/A&gt;"&lt;/P&gt;

&lt;P&gt;Then on a different server I've installed a universal forwarder. then added c:\logs as a monitor folder using the CLI command .\splunk.exe add monitor c:\logs&lt;BR /&gt;
The confirmation "Added monitor of 'c:\logs'." was displayed.&lt;/P&gt;

&lt;P&gt;After doing all this the logs still don't appear in the splunk web interface! Is there a log i can look in to see if the files in the logs folder are getting sent or if there is an error? i'm not sure what i'm missing now.&lt;/P&gt;

&lt;P&gt;all running on windows 2012 R2 64bit&lt;/P&gt;

&lt;P&gt;cheers&lt;BR /&gt;
Damo&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2015 17:11:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185780#M37193</guid>
      <dc:creator>damian_ingenie_</dc:creator>
      <dc:date>2015-01-16T17:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Files not indexed on new installation.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185781#M37194</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Check step 5 in the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Setupforwardingandreceiving#Set_up_forwarding_and_receiving:_universal_forwarders"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Setupforwardingandreceiving#Set_up_forwarding_and_receiving:_universal_forwarders&lt;/A&gt; you have to tell the forwarder where to send the monitored data.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2015 17:19:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185781#M37194</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-01-16T17:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Files not indexed on new installation.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185782#M37195</link>
      <description>&lt;P&gt;Thanks for the pointer, im looking into it now&lt;/P&gt;

&lt;P&gt;i used the command line from powershell&lt;BR /&gt;
    cmd /c "msiexec.exe /i splunkforwarder-6.2.1-245427-x64-release.msi AGREETOLICENSE=Yes RECEIVING_INDEXER='simdc01:9997' MONITOR_PATH='c:\logs' PERFMON=cpu,memory,network,diskspace /quiet"&lt;BR /&gt;
to install the forwarder&lt;/P&gt;

&lt;P&gt;Is there a CLI command for telling the forwarder where to send the data?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:38:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185782#M37195</guid>
      <dc:creator>damian_ingenie_</dc:creator>
      <dc:date>2020-09-28T18:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Files not indexed on new installation.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185783#M37196</link>
      <description>&lt;P&gt;Looks good to me. Can you connect from the forwarder to the indexer port 9997 any firewall between or routing problems? What does splunkd.log on the indexer and the forwarder report?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2015 18:41:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185783#M37196</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-01-16T18:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Files not indexed on new installation.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185784#M37197</link>
      <description>&lt;P&gt;Thanks for replying so quick. I've got the splunkd logs for both, what am i looking for exactly?&lt;/P&gt;

&lt;P&gt;in the forwarder i can see:&lt;/P&gt;

&lt;P&gt;TailingProcessor - Parsing configuration stanza: monitor://c:\logs.&lt;BR /&gt;
...&lt;BR /&gt;
TailingProcessor - Adding watch on path: c:\logs.&lt;/P&gt;

&lt;P&gt;but i also see this&lt;BR /&gt;
ERROR TcpOutputProc - LightWeightForwarder/UniversalForwarder not configured. Please configure outputs.conf.&lt;BR /&gt;
which i guess is what you are refering to in step 5.&lt;BR /&gt;
Is there a CLI command for setting this up?&lt;BR /&gt;
cheers&lt;BR /&gt;
Damian&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2015 09:36:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185784#M37197</guid>
      <dc:creator>damian_ingenie_</dc:creator>
      <dc:date>2015-01-19T09:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Files not indexed on new installation.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185785#M37198</link>
      <description>&lt;P&gt;using the flag &lt;CODE&gt;RECEIVING_INDEXER='simdc01:9997'&lt;/CODE&gt; should have taken care of the &lt;CODE&gt;outputs.conf&lt;/CODE&gt;...&lt;BR /&gt;
did you check any of the outputs.conf on your forwarder if the config is correct?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2015 09:55:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185785#M37198</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-01-19T09:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Files not indexed on new installation.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185786#M37199</link>
      <description>&lt;P&gt;none of the forwarders outputs.conf files contain that&lt;BR /&gt;
Ive added a file at C:\Program Files\SplunkUniversalForwarder\etc\system\local\outputs.conf with the following :&lt;BR /&gt;
[tcpout]&lt;BR /&gt;
RECEIVING_INDEXER='simdc01:9997'&lt;/P&gt;

&lt;P&gt;ive restarted the service but still getting the error&lt;BR /&gt;
TcpOutputProc - LightWeightForwarder/UniversalForwarder not configured. Please configure outputs.conf.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2015 10:38:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185786#M37199</guid>
      <dc:creator>damian_ingenie_</dc:creator>
      <dc:date>2015-01-19T10:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Files not indexed on new installation.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185787#M37200</link>
      <description>&lt;P&gt;oh .. no, that's not correct. The option &lt;CODE&gt;RECEIVING_INDEXER&lt;/CODE&gt; is only used on the CLI. Use this instead in your &lt;CODE&gt;outputs.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = indexers

[tcpout:indexers]
server = simdc01:9997
autoLB = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;use it this way, because you can add another indexer very easy and have load balancing between them.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2015 11:14:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185787#M37200</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-01-19T11:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Files not indexed on new installation.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185788#M37201</link>
      <description>&lt;P&gt;Brilliant, now getting the message&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TcpOutputProc - Connected to idx=10.181.230.238:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And seeing a test log file in the splunk UI&lt;BR /&gt;
Thanks&lt;BR /&gt;
Only question left is how do i automate what i just did?&lt;BR /&gt;
I think the only CLI command i need is the one to configure tcpout is this what you were refering to with the &lt;CODE&gt;RECEIVING_INDEXER='simdc01:9997'&lt;/CODE&gt; comment earlier&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2015 11:40:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185788#M37201</guid>
      <dc:creator>damian_ingenie_</dc:creator>
      <dc:date>2015-01-19T11:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Files not indexed on new installation.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185789#M37202</link>
      <description>&lt;P&gt;Take a look at the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/DeployaWindowsdfviathecommandline"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/DeployaWindowsdfviathecommandline&lt;/A&gt; you can find some examples in there. Feel free to accept this as answered - you will get some karma too &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2015 11:45:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Files-not-indexed-on-new-installation/m-p/185789#M37202</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-01-19T11:45:07Z</dc:date>
    </item>
  </channel>
</rss>

