<?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: Monitor remote host logs? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469398#M8246</link>
    <description>&lt;P&gt;@chaga You should write your inputs.conf and outputs.conf &lt;/P&gt;

&lt;P&gt;sample inputs.conf&lt;/P&gt;

&lt;P&gt;[monitor:///filepath to monitor]&lt;BR /&gt;
index = &lt;BR /&gt;
sourcetype = &lt;BR /&gt;
host = yourhostname&lt;/P&gt;

&lt;P&gt;sample outputs.conf &lt;/P&gt;

&lt;P&gt;Run this command to create outputs.conf /opt/splunkforwarder/bin/splunk add forward-server :port &lt;BR /&gt;
then restart - /opt/splunkforwarder/bin/splunk restart&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2019 10:44:43 GMT</pubDate>
    <dc:creator>sandyIscream</dc:creator>
    <dc:date>2019-08-30T10:44:43Z</dc:date>
    <item>
      <title>Monitor remote host logs?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469397#M8245</link>
      <description>&lt;P&gt;I can't understand that.&lt;BR /&gt;
How to Splunk monitor log from remote linux log?&lt;BR /&gt;
Universal Forwarder have been installed in the remote linux.&lt;BR /&gt;
What I should do then?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 09:40:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469397#M8245</guid>
      <dc:creator>chaga</dc:creator>
      <dc:date>2019-08-30T09:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor remote host logs?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469398#M8246</link>
      <description>&lt;P&gt;@chaga You should write your inputs.conf and outputs.conf &lt;/P&gt;

&lt;P&gt;sample inputs.conf&lt;/P&gt;

&lt;P&gt;[monitor:///filepath to monitor]&lt;BR /&gt;
index = &lt;BR /&gt;
sourcetype = &lt;BR /&gt;
host = yourhostname&lt;/P&gt;

&lt;P&gt;sample outputs.conf &lt;/P&gt;

&lt;P&gt;Run this command to create outputs.conf /opt/splunkforwarder/bin/splunk add forward-server :port &lt;BR /&gt;
then restart - /opt/splunkforwarder/bin/splunk restart&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 10:44:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469398#M8246</guid>
      <dc:creator>sandyIscream</dc:creator>
      <dc:date>2019-08-30T10:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor remote host logs?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469399#M8247</link>
      <description>&lt;P&gt;@sandyIscream i have added input and output.conf as below &lt;BR /&gt;
[tcpout]&lt;BR /&gt;
server = splunkserver:9997&lt;/P&gt;

&lt;P&gt;[tcpout:default-autolb-group]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
server = splunkserver:9997&lt;/P&gt;

&lt;P&gt;[tcpout-server://splunkforwardserver:9997]&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
[monitor:///var/log/messages]&lt;BR /&gt;
index = main&lt;BR /&gt;
sourcetype = access_common&lt;BR /&gt;
host = splunkforwaderserver&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 11:11:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469399#M8247</guid>
      <dc:creator>chaga</dc:creator>
      <dc:date>2019-08-30T11:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor remote host logs?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469400#M8248</link>
      <description>&lt;P&gt;Make sure the splunk user, or whatever account is running splunk, has access to read /var/log/messages. &lt;/P&gt;

&lt;P&gt;Also, just a note, the /var/log/messages file sourcetype is normally linux_messages_syslog:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.3/Data/Listofpretrainedsourcetypes" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.3/Data/Listofpretrainedsourcetypes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:57:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469400#M8248</guid>
      <dc:creator>solarboyz1</dc:creator>
      <dc:date>2020-09-30T01:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor remote host logs?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469401#M8249</link>
      <description>&lt;P&gt;Did your data started coming to your splunk instance ? @chaga &lt;/P&gt;

&lt;P&gt;If not then let me know where exactly your are facing the issue. &lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 02:13:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469401#M8249</guid>
      <dc:creator>sandyIscream</dc:creator>
      <dc:date>2019-09-03T02:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor remote host logs?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469402#M8250</link>
      <description>&lt;P&gt;Unfortunately, the data didnot came up.  i have the following in my configuration. &lt;/P&gt;

&lt;P&gt;i have added input and output.conf as below&lt;BR /&gt;
[tcpout]&lt;BR /&gt;
server = splunkserver:9997&lt;/P&gt;

&lt;P&gt;[tcpout:default-autolb-group]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
server = splunkserver:9997&lt;/P&gt;

&lt;P&gt;[tcpout-server://splunkforwardserver:9997]&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
[monitor:///var/log/messages]&lt;BR /&gt;
index = main&lt;BR /&gt;
sourcetype = access_common&lt;BR /&gt;
host = splunkforwaderserver&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 07:04:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469402#M8250</guid>
      <dc:creator>chaga</dc:creator>
      <dc:date>2019-09-03T07:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor remote host logs?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469403#M8251</link>
      <description>&lt;P&gt;Should we configure indexer also?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 13:03:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-remote-host-logs/m-p/469403#M8251</guid>
      <dc:creator>chaga</dc:creator>
      <dc:date>2019-09-03T13:03:08Z</dc:date>
    </item>
  </channel>
</rss>

