<?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: Syntax error on splunk outputs.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320534#M59817</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;outputs.conf

[tcpout]
defaultGroup = indexers

[tcpout:indexers]
autoLB = true
server = 192.168.1.144:9997
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 05 Apr 2018 08:40:17 GMT</pubDate>
    <dc:creator>splunker12er</dc:creator>
    <dc:date>2018-04-05T08:40:17Z</dc:date>
    <item>
      <title>Syntax error on splunk outputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320531#M59814</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;
   I am a newbie to distributed deployment. I was trying to specify the outputs.conf on the deployment server and the files get pushed on to the client.  But there seems to be a syntax error on my outputs.conf file. My forwarders are listed on the UF as configured but not active. Following is my outputs.conf file.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [tcpout]
 defaultGroup = indexers

 [tcpout:indexers]
 server = 192.168.1.144:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My status on the UF&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your session is invalid.  Please login.
Splunk username: admin
Password:
Active forwards:
        None
Configured but inactive forwards:
        192.168.1.144:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is what happens when i restart splunk UF on the machine&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Checking prerequisites...
        Checking mgmt port [8089]: open
        Checking conf files for problems...
                Invalid key in stanza [tek:tekgroup] in /opt/splunkforwarder/etc/apps/baseconfig/local/outputs.conf, line 2: server (value: 192.168.1.144:9997).
                Your indexes and inputs configurations are not internally consistent. For more information, run 'splunk btool check --debug'
        Done
        Checking default conf files for edits...
        Validating installed files against hashes from '/opt/splunkforwarder/splunkforwarder-7.0.3-fa31da744b51-linux-2.6-x86_64-manifest'
        All installed files intact.
        Done
All preliminary checks passed.

Starting splunk server daemon (splunkd)...
Done
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Apr 2018 06:11:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320531#M59814</guid>
      <dc:creator>ranjitbrhm1</dc:creator>
      <dc:date>2018-04-05T06:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error on splunk outputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320532#M59815</link>
      <description>&lt;P&gt;Have you enabled receiving on the indexer(s)? [at least, on the indexer running on 192.168.1.144]&lt;BR /&gt;
to enable it on the indexer go to  &lt;CODE&gt;Settings » Forwarding and receiving » Receive data&lt;/CODE&gt;&lt;BR /&gt;
Also, your stanza name is [tek:tekgroup] go to specified path i.e. &lt;CODE&gt;/opt/splunkforwarder/etc/apps/baseconfig/local/outputs.conf&lt;/CODE&gt; and then troubleshoot.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 06:36:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320532#M59815</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-04-05T06:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error on splunk outputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320533#M59816</link>
      <description>&lt;P&gt;How do i set the stanza? I actually managed using default settings like below. But i would really like to how how the correct stanza should be for the outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = indexers

[tcpout:indexers]
server = 192.168.1.144:9997

tcpout-server://192.168.1.144:9997
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Apr 2018 07:50:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320533#M59816</guid>
      <dc:creator>ranjitbrhm1</dc:creator>
      <dc:date>2018-04-05T07:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error on splunk outputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320534#M59817</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;outputs.conf

[tcpout]
defaultGroup = indexers

[tcpout:indexers]
autoLB = true
server = 192.168.1.144:9997
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Apr 2018 08:40:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320534#M59817</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2018-04-05T08:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error on splunk outputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320535#M59818</link>
      <description>&lt;P&gt;setup the above outputs.conf file in your forwarding server and restart the splunk service - then check command in your CLI:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;splunk list forward-server&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;it should show the active forwards&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 08:42:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320535#M59818</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2018-04-05T08:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error on splunk outputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320536#M59819</link>
      <description>&lt;P&gt;you did not answer my question yet&lt;BR /&gt;
Have you enabled receiving on the indexer(s)? [at least, on the indexer running on 192.168.1.144]&lt;BR /&gt;
to enable it on the indexer go to Settings » Forwarding and receiving » Receive data&lt;BR /&gt;
Also, your stanza name is [tek:tekgroup] go to specified path i.e. /opt/splunkforwarder/etc/apps/baseconfig/local/outputs.conf and then troubleshoot.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 08:54:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320536#M59819</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-04-05T08:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error on splunk outputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320537#M59820</link>
      <description>&lt;P&gt;I think the error message you receive is from another outputs.conf.&lt;BR /&gt;
Since you get an error about [tek:tekgroup] stanza.&lt;BR /&gt;
Do you have two outputs.conf in default and local?&lt;/P&gt;

&lt;P&gt;Run the btool command: splunk btool check --debug to check&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 10:38:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syntax-error-on-splunk-outputs-conf/m-p/320537#M59820</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2018-04-05T10:38:35Z</dc:date>
    </item>
  </channel>
</rss>

