<?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: How to edit my configuration files to index nginx data in Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-files-to-index-nginx-data-in-Splunk/m-p/470123#M80855</link>
    <description>&lt;P&gt;try btool with debug:&lt;/P&gt;

&lt;P&gt;example: &lt;/P&gt;

&lt;P&gt;inputs list monitor:///var/log/nginx/error.log --debug&lt;/P&gt;

&lt;P&gt;and also try&lt;/P&gt;

&lt;P&gt;inputs list monitor:///var/log/nginx/error.log --debug | grep&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/Troubleshooting/Usebtooltotroubleshootconfigurations"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/Troubleshooting/Usebtooltotroubleshootconfigurations&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Apr 2020 15:43:23 GMT</pubDate>
    <dc:creator>jsenavanh_splun</dc:creator>
    <dc:date>2020-04-10T15:43:23Z</dc:date>
    <item>
      <title>How to edit my configuration files to index nginx data in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-files-to-index-nginx-data-in-Splunk/m-p/470120#M80852</link>
      <description>&lt;P&gt;I have set up a new server, and I'm trying to get nginx access logs into splunk.  This is not working.&lt;BR /&gt;
These are my config files:&lt;/P&gt;

&lt;P&gt;cat inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/nginx/access.log]
disabled = false
sourcetype = access

[monitor:///var/log/nginx/error.log]
disabled = false
sourcetype = error

[default]
host =hostname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout-server://hostname:8089]

[deployment-client]
clientName = qpp-nginx

[target-broker:deployment-server]
targetUri = hostname:8089
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am not seeing any errors in the Splunk logs, although the Splunk agent is running&lt;/P&gt;

&lt;P&gt;Splunk btool check reports, but detects no errors&lt;/P&gt;

&lt;P&gt;If I do a search for &lt;CODE&gt;sourcetype=access.log&lt;/CODE&gt; nothing comes up, neither &lt;CODE&gt;host="ip address"&lt;/CODE&gt; or &lt;CODE&gt;host="hostname"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 15:19:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-files-to-index-nginx-data-in-Splunk/m-p/470120#M80852</guid>
      <dc:creator>marcrsplunk</dc:creator>
      <dc:date>2020-04-08T15:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my configuration files to index nginx data in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-files-to-index-nginx-data-in-Splunk/m-p/470121#M80853</link>
      <description>&lt;P&gt;Hello @marcrsplunk,&lt;/P&gt;

&lt;P&gt;change the receiver (tcpout-server) port. 8089 is the splunkd port that is used for inter-splunk communication, not for receiving.&lt;/P&gt;

&lt;P&gt;check on the splunk indexer which port is used for listener:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk display listen
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if you see "receiving is disable" then you need to enable it with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk enable listen 9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or using UI.&lt;/P&gt;

&lt;P&gt;Let me know if it works for you.&lt;/P&gt;

&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 22:25:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-files-to-index-nginx-data-in-Splunk/m-p/470121#M80853</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-04-08T22:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my configuration files to index nginx data in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-files-to-index-nginx-data-in-Splunk/m-p/470122#M80854</link>
      <description>&lt;P&gt;Examples of outputs.conf&lt;BR /&gt;
The following outputs.conf example contains three stanzas for sending data to Splunk receivers.&lt;/P&gt;

&lt;P&gt;Global settings. In this example, there is one setting, to specify a defaultGroup.&lt;BR /&gt;
Settings for a single target group consisting of two receivers. Here, we specify a load-balanced target group consisting of two receivers.&lt;BR /&gt;
Settings for one receiver within the target group. In this stanza, you can specify any settings specific to the mysplunk_indexer1 receiver.&lt;BR /&gt;
[tcpout]&lt;BR /&gt;
defaultGroup=my_indexers&lt;/P&gt;

&lt;P&gt;[tcpout:my_indexers]&lt;BR /&gt;
server=mysplunk_indexer1:9997, mysplunk_indexer2:9996&lt;/P&gt;

&lt;P&gt;[tcpout-server://mysplunk_indexer1:9997]&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:59:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-files-to-index-nginx-data-in-Splunk/m-p/470122#M80854</guid>
      <dc:creator>jsenavanh_splun</dc:creator>
      <dc:date>2020-09-30T04:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my configuration files to index nginx data in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-files-to-index-nginx-data-in-Splunk/m-p/470123#M80855</link>
      <description>&lt;P&gt;try btool with debug:&lt;/P&gt;

&lt;P&gt;example: &lt;/P&gt;

&lt;P&gt;inputs list monitor:///var/log/nginx/error.log --debug&lt;/P&gt;

&lt;P&gt;and also try&lt;/P&gt;

&lt;P&gt;inputs list monitor:///var/log/nginx/error.log --debug | grep&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/Troubleshooting/Usebtooltotroubleshootconfigurations"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/Troubleshooting/Usebtooltotroubleshootconfigurations&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 15:43:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-configuration-files-to-index-nginx-data-in-Splunk/m-p/470123#M80855</guid>
      <dc:creator>jsenavanh_splun</dc:creator>
      <dc:date>2020-04-10T15:43:23Z</dc:date>
    </item>
  </channel>
</rss>

