<?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: I am not recieving the logs of my linux machine in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294597#M55963</link>
    <description>&lt;P&gt;hey @anshuman19&lt;BR /&gt;
If you want to receive logs from &lt;CODE&gt;linux machine&lt;/CODE&gt; then you must &lt;CODE&gt;install universal forwarder&lt;/CODE&gt; on &lt;CODE&gt;linux machine&lt;/CODE&gt;&lt;BR /&gt;
As universal forwarder &lt;BR /&gt;
1) tells the forwarder what data to send i.e. your_file&lt;BR /&gt;
3) tells it where to send the data i.e. on windows machine&lt;/P&gt;

&lt;P&gt;To get the data from from your linux machine&lt;/P&gt;

&lt;P&gt;1)In &lt;CODE&gt;inputs.conf&lt;/CODE&gt; of splunk forwarder i.e on linux machine &lt;CODE&gt;/opt/etc/system/local/inputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;monitor:///path.../myfile] &lt;BR /&gt;
index =&lt;BR /&gt;&lt;BR /&gt;
host = 192.168.5.007&lt;BR /&gt;
sourcetype = linux:log&lt;/P&gt;

&lt;P&gt;2) For &lt;CODE&gt;outputs.conf&lt;/CODE&gt; run below command on linux universal forwarder&lt;BR /&gt;
./splunk add forward-server 192.168.2.047:9997&lt;BR /&gt;
./splunk set deploy-poll 192.168.2.047:8089&lt;/P&gt;

&lt;P&gt;3) On windows machine&lt;BR /&gt;
Configure the receiving port on Indexer (inputs.conf for receiving data on port say 9997)&lt;BR /&gt;
Read details at &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Forwarding/Enableareceiver"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Forwarding/Enableareceiver&lt;/A&gt; &lt;BR /&gt;
[splunktcp://9997]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;4) Restart universal forwarder on linux machine. go to &lt;CODE&gt;/opt/splunkforwarder/bin&lt;/CODE&gt; and run&lt;BR /&gt;
&lt;CODE&gt;./splunk restart&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;5) search for your data on windows machine&lt;/P&gt;

&lt;P&gt;This will work only if you have connectivity between windows(indexer) and linux(forwarder) machine with &lt;CODE&gt;9997&lt;/CODE&gt; and &lt;CODE&gt;8089&lt;/CODE&gt; ports&lt;/P&gt;

&lt;P&gt;Let me know if this helps!&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2018 11:49:57 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2018-01-11T11:49:57Z</dc:date>
    <item>
      <title>I am not recieving the logs of my linux machine</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294596#M55962</link>
      <description>&lt;P&gt;I want to receive the logs of Linux machine having UF installed in my windows machine which have splunk enterprise free with domain account I edited the inputs.conf and outputs.conf as follows&lt;BR /&gt;
ip of my Linux is suppose 192.168.5.007&lt;BR /&gt;
ip of windows with port no I want to recieve is suppose 192.168.2.047:9997&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;In inputs.conf of splunk forwarder&lt;/STRONG&gt;&lt;BR /&gt;
[monitor:///path.../myfile] &lt;BR /&gt;
index=INDEX_NAME&lt;/P&gt;

&lt;P&gt;host = 192.168.5.007&lt;/P&gt;

&lt;P&gt;sourcetype = linux:log&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;outputs.conf&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;[tcpout-server://192.168.2.047:9997] &lt;/P&gt;

&lt;P&gt;compressed=false &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;In inputs.conf of splunk enterprise in windows&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[splunktcp://9997]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;can some help me that if I have done every thing fine or I have to change any thing?&lt;BR /&gt;
 I edited the inputs.conf and outputs.conf of system\local.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 05:13:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294596#M55962</guid>
      <dc:creator>anshuman19</dc:creator>
      <dc:date>2018-01-11T05:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: I am not recieving the logs of my linux machine</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294597#M55963</link>
      <description>&lt;P&gt;hey @anshuman19&lt;BR /&gt;
If you want to receive logs from &lt;CODE&gt;linux machine&lt;/CODE&gt; then you must &lt;CODE&gt;install universal forwarder&lt;/CODE&gt; on &lt;CODE&gt;linux machine&lt;/CODE&gt;&lt;BR /&gt;
As universal forwarder &lt;BR /&gt;
1) tells the forwarder what data to send i.e. your_file&lt;BR /&gt;
3) tells it where to send the data i.e. on windows machine&lt;/P&gt;

&lt;P&gt;To get the data from from your linux machine&lt;/P&gt;

&lt;P&gt;1)In &lt;CODE&gt;inputs.conf&lt;/CODE&gt; of splunk forwarder i.e on linux machine &lt;CODE&gt;/opt/etc/system/local/inputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;monitor:///path.../myfile] &lt;BR /&gt;
index =&lt;BR /&gt;&lt;BR /&gt;
host = 192.168.5.007&lt;BR /&gt;
sourcetype = linux:log&lt;/P&gt;

&lt;P&gt;2) For &lt;CODE&gt;outputs.conf&lt;/CODE&gt; run below command on linux universal forwarder&lt;BR /&gt;
./splunk add forward-server 192.168.2.047:9997&lt;BR /&gt;
./splunk set deploy-poll 192.168.2.047:8089&lt;/P&gt;

&lt;P&gt;3) On windows machine&lt;BR /&gt;
Configure the receiving port on Indexer (inputs.conf for receiving data on port say 9997)&lt;BR /&gt;
Read details at &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Forwarding/Enableareceiver"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Forwarding/Enableareceiver&lt;/A&gt; &lt;BR /&gt;
[splunktcp://9997]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;4) Restart universal forwarder on linux machine. go to &lt;CODE&gt;/opt/splunkforwarder/bin&lt;/CODE&gt; and run&lt;BR /&gt;
&lt;CODE&gt;./splunk restart&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;5) search for your data on windows machine&lt;/P&gt;

&lt;P&gt;This will work only if you have connectivity between windows(indexer) and linux(forwarder) machine with &lt;CODE&gt;9997&lt;/CODE&gt; and &lt;CODE&gt;8089&lt;/CODE&gt; ports&lt;/P&gt;

&lt;P&gt;Let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 11:49:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294597#M55963</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-11T11:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: I am not recieving the logs of my linux machine</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294598#M55964</link>
      <description>&lt;P&gt;Hi nshuman19,&lt;BR /&gt;
you can install Splunk Enterprise on a Windows server and monitor a Linux server, but Universal Forwarder must be installed on Linux server not on Windows server!&lt;BR /&gt;
see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Getstartedwithgettingdatain" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Getstartedwithgettingdatain&lt;/A&gt; for more information.&lt;/P&gt;

&lt;P&gt;In few words:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;install UF on Linux server,&lt;/LI&gt;
&lt;LI&gt;configure outputs.conf on UF,&lt;/LI&gt;
&lt;LI&gt;configure inputs.conf on UF,&lt;/LI&gt;
&lt;LI&gt;enable receiving on Splunk Enterprise.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;To configure inputs, the easiest way id to use Splunk_TA_Linux that you can find in apps.splunk.com.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:32:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294598#M55964</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T17:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: I am not recieving the logs of my linux machine</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294599#M55965</link>
      <description>&lt;P&gt;Thanks mayurr98&lt;/P&gt;

&lt;P&gt;its works but I shut down my both system and again started next morning its not receiving any thing from that Linux machine what to do now? &lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 05:57:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294599#M55965</guid>
      <dc:creator>anshuman19</dc:creator>
      <dc:date>2018-01-12T05:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: I am not recieving the logs of my linux machine</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294600#M55966</link>
      <description>&lt;P&gt;Thanks cusello&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 05:58:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294600#M55966</guid>
      <dc:creator>anshuman19</dc:creator>
      <dc:date>2018-01-12T05:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: I am not recieving the logs of my linux machine</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294601#M55967</link>
      <description>&lt;P&gt;have you enabled it as boot-start?&lt;BR /&gt;
To enable automatic start on boot:&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/bin/splunk enable boot-start&lt;BR /&gt;
do this on both the systems!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 06:10:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294601#M55967</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-12T06:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: I am not recieving the logs of my linux machine</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294602#M55968</link>
      <description>&lt;P&gt;I have done it in windows but in Linux it says that command not found&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 07:03:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294602#M55968</guid>
      <dc:creator>anshuman19</dc:creator>
      <dc:date>2018-01-12T07:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: I am not recieving the logs of my linux machine</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294603#M55969</link>
      <description>&lt;P&gt;hey on linux you have to go to &lt;CODE&gt;/opt/splunkforwarder/bin&lt;/CODE&gt; and then run &lt;CODE&gt;./splunk enable boot-start&lt;/CODE&gt;&lt;BR /&gt;
you can refer this link if you have any query&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.1/Admin/ConfigureSplunktostartatboottime#Enable_boot-start_on_.2Anix_platforms"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.1/Admin/ConfigureSplunktostartatboottime#Enable_boot-start_on_.2Anix_platforms&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 07:20:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294603#M55969</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-12T07:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: I am not recieving the logs of my linux machine</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294604#M55970</link>
      <description>&lt;P&gt;ohk done, now it will directly fetch the data or we have to restart the forwarder?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 07:24:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294604#M55970</guid>
      <dc:creator>anshuman19</dc:creator>
      <dc:date>2018-01-12T07:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: I am not recieving the logs of my linux machine</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294605#M55971</link>
      <description>&lt;P&gt;yes it should..try and let me know !&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 07:28:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294605#M55971</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-12T07:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: I am not recieving the logs of my linux machine</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294606#M55972</link>
      <description>&lt;P&gt;Thanks mayurr98 it's working!!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 12:37:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294606#M55972</guid>
      <dc:creator>anshuman19</dc:creator>
      <dc:date>2018-01-15T12:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: I am not recieving the logs of my linux machine</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294607#M55973</link>
      <description>&lt;P&gt;Hey, I am glad my answer helped you! pls, upvote my answer/comments whichever helped you.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 12:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-am-not-recieving-the-logs-of-my-linux-machine/m-p/294607#M55973</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-15T12:40:08Z</dc:date>
    </item>
  </channel>
</rss>

