<?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 how to add data using forwarder in linux in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-add-data-using-forwarder-in-linux/m-p/147603#M30047</link>
    <description>&lt;P&gt;I have read this Q&amp;amp;A&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/50082/how-do-i-configure-a-splunk-forwarder-on-linux"&gt;http://answers.splunk.com/answers/50082/how-do-i-configure-a-splunk-forwarder-on-linux&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;however in step 7:&lt;BR /&gt;
/opt/splunkforwarder/bin/splunk add monitor /path/to/app/logs/ -index main -sourcetype %app% &lt;BR /&gt;
Where /path/to/app/logs/ is the path to application logs on the host that you want to bring into Splunk, and %app% is the name you want to associate with that type of data &lt;BR /&gt;
This will create a file: inputs.conf in /opt/splunk/etc/apps/search/local/ -- here is some documentation on inputs.conf:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.2/admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.2/admin/Inputsconf&lt;/A&gt;&lt;BR /&gt;
Note: System logs in /var/log/ are covered in the configuration part of Step 7. If you have application logs in /var/log/*/ &lt;/P&gt;

&lt;P&gt;I didn't find inputs.conf in /opt/splunk/etc/apps/search/local&lt;BR /&gt;
and the data can't be found in the indexer.&lt;BR /&gt;
What's wrong????&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2014 08:48:53 GMT</pubDate>
    <dc:creator>windyita</dc:creator>
    <dc:date>2014-02-12T08:48:53Z</dc:date>
    <item>
      <title>how to add data using forwarder in linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-add-data-using-forwarder-in-linux/m-p/147603#M30047</link>
      <description>&lt;P&gt;I have read this Q&amp;amp;A&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/50082/how-do-i-configure-a-splunk-forwarder-on-linux"&gt;http://answers.splunk.com/answers/50082/how-do-i-configure-a-splunk-forwarder-on-linux&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;however in step 7:&lt;BR /&gt;
/opt/splunkforwarder/bin/splunk add monitor /path/to/app/logs/ -index main -sourcetype %app% &lt;BR /&gt;
Where /path/to/app/logs/ is the path to application logs on the host that you want to bring into Splunk, and %app% is the name you want to associate with that type of data &lt;BR /&gt;
This will create a file: inputs.conf in /opt/splunk/etc/apps/search/local/ -- here is some documentation on inputs.conf:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.2/admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.2/admin/Inputsconf&lt;/A&gt;&lt;BR /&gt;
Note: System logs in /var/log/ are covered in the configuration part of Step 7. If you have application logs in /var/log/*/ &lt;/P&gt;

&lt;P&gt;I didn't find inputs.conf in /opt/splunk/etc/apps/search/local&lt;BR /&gt;
and the data can't be found in the indexer.&lt;BR /&gt;
What's wrong????&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2014 08:48:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-add-data-using-forwarder-in-linux/m-p/147603#M30047</guid>
      <dc:creator>windyita</dc:creator>
      <dc:date>2014-02-12T08:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to add data using forwarder in linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-add-data-using-forwarder-in-linux/m-p/147604#M30048</link>
      <description>&lt;P&gt;Hi windyita,&lt;/P&gt;

&lt;P&gt;here to help again &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;you have to create any files in &lt;CODE&gt;local&lt;/CODE&gt; directory yourself. This is were you store your conf files, so they will never be overwritten by any future Splunk software updates.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2014 08:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-add-data-using-forwarder-in-linux/m-p/147604#M30048</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-02-12T08:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to add data using forwarder in linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-add-data-using-forwarder-in-linux/m-p/147605#M30049</link>
      <description>&lt;P&gt;I'm suspicious about where step 7 should be executed. my indexer is in host A , data is in host B, shouldn't the command of ‘add monitor’be executed in A??&lt;BR /&gt;
Besides, I have create a empty config file in the destination folder but still no data is written in it.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2014 09:14:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-add-data-using-forwarder-in-linux/m-p/147605#M30049</guid>
      <dc:creator>windyita</dc:creator>
      <dc:date>2014-02-12T09:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to add data using forwarder in linux</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-add-data-using-forwarder-in-linux/m-p/147606#M30050</link>
      <description>&lt;P&gt;you run the command 'add monitor' on the server where your data is, so in your case on host B. regarding the inputs.conf, forget about it and use the 'add monitor' command at first try. This will handle it for you and you will get some data to start.....&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2014 09:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-add-data-using-forwarder-in-linux/m-p/147606#M30050</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-02-12T09:30:06Z</dc:date>
    </item>
  </channel>
</rss>

