<?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: Is this the correct stanza and location to monitor specific files on a *nix server with a universal forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-this-the-correct-stanza-and-location-to-monitor-specific/m-p/256676#M49350</link>
    <description>&lt;P&gt;Monitoring configurations should be in your inputs conf. ie :  /opt/spplunkforwarder/etc/system/local/inputs.conf&lt;/P&gt;

&lt;P&gt;See here : &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Editinputs.conf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Editinputs.conf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For wildcard : &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Data/Specifyinputpathswithwildcards"&gt;http://docs.splunk.com/Documentation/Splunk/6.1/Data/Specifyinputpathswithwildcards&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2016 12:28:39 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2016-01-28T12:28:39Z</dc:date>
    <item>
      <title>Is this the correct stanza and location to monitor specific files on a *nix server with a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-this-the-correct-stanza-and-location-to-monitor-specific/m-p/256675#M49349</link>
      <description>&lt;P&gt;I am trying to have my universal forwarder monitor a specific file or sets of files on a *nix server:&lt;BR /&gt;
Would this be the correct stanza to place into my outputs.conf file location?: /opt/spplunkforwarder/etc/system/local&lt;/P&gt;

&lt;P&gt;stanza:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/xxxxx/*]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Source: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Forwarding/Configureforwarderswithoutputs.confd"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Forwarding/Configureforwarderswithoutputs.confd&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 12:22:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-this-the-correct-stanza-and-location-to-monitor-specific/m-p/256675#M49349</guid>
      <dc:creator>w0lverineNOP</dc:creator>
      <dc:date>2016-01-28T12:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is this the correct stanza and location to monitor specific files on a *nix server with a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-this-the-correct-stanza-and-location-to-monitor-specific/m-p/256676#M49350</link>
      <description>&lt;P&gt;Monitoring configurations should be in your inputs conf. ie :  /opt/spplunkforwarder/etc/system/local/inputs.conf&lt;/P&gt;

&lt;P&gt;See here : &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Editinputs.conf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Editinputs.conf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For wildcard : &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Data/Specifyinputpathswithwildcards"&gt;http://docs.splunk.com/Documentation/Splunk/6.1/Data/Specifyinputpathswithwildcards&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 12:28:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-this-the-correct-stanza-and-location-to-monitor-specific/m-p/256676#M49350</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-01-28T12:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is this the correct stanza and location to monitor specific files on a *nix server with a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-this-the-correct-stanza-and-location-to-monitor-specific/m-p/256677#M49351</link>
      <description>&lt;P&gt;Hi w0lverineNOP &lt;/P&gt;

&lt;P&gt;You configure the monitoring of files in inputs.conf . Outputs.conf defines where the forwarder should send the data it is capturing in inputs.conf.&lt;/P&gt;

&lt;P&gt;Does that make sense?&lt;/P&gt;

&lt;P&gt;The correct entry in inputs.conf would be something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/access.log]
disabled = false
sourcetype = access_combined
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can also use wildcards with the &lt;CODE&gt;*&lt;/CODE&gt; symbol. &lt;/P&gt;

&lt;P&gt;Full docs here:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/admin/inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.2/admin/inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know how you get along.&lt;/P&gt;

&lt;P&gt;j&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 12:31:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-this-the-correct-stanza-and-location-to-monitor-specific/m-p/256677#M49351</guid>
      <dc:creator>jbjerke_splunk</dc:creator>
      <dc:date>2016-01-28T12:31:13Z</dc:date>
    </item>
  </channel>
</rss>

