<?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: props.conf source file/directory in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-source-file-directory/m-p/79553#M16315</link>
    <description>&lt;P&gt;props.conf: &lt;/P&gt;

&lt;P&gt;[source::/opt/glassfishv3/glassfish/domains/domain1/logs/] &lt;BR /&gt;
TRANSFORMS-routing = send_to_syslog &lt;/P&gt;

&lt;P&gt;transforms.conf: &lt;/P&gt;

&lt;P&gt;[send_to_syslog] &lt;BR /&gt;
REGEX = . &lt;BR /&gt;
DEST_KEY = _SYSLOG_ROUTING &lt;BR /&gt;
FORMAT = INM01 &lt;/P&gt;

&lt;P&gt;outputs.conf: &lt;/P&gt;

&lt;P&gt;[syslog:INM01] &lt;BR /&gt;
server = 10.10.40.10:10514 &lt;BR /&gt;
type = tcp &lt;/P&gt;

&lt;P&gt;The official documentation does not use the REGEX param in the transforms file, however, it didn't work without specifying it. &lt;/P&gt;

&lt;P&gt;I've also used the 3 dots (...) in front of the path, but still no luck. &lt;/P&gt;

&lt;P&gt;Replacing the source for hostname::&lt;MY-HOST&gt; works.&lt;/MY-HOST&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 09:20:03 GMT</pubDate>
    <dc:creator>acalvo</dc:creator>
    <dc:date>2020-09-28T09:20:03Z</dc:date>
    <item>
      <title>props.conf source file/directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-source-file-directory/m-p/79551#M16313</link>
      <description>&lt;P&gt;Following the documentation &lt;A href="http://www.splunk.com/base/Documentation/latest/admin/Forwarddatatothird-partysystems" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/admin/Forwarddatatothird-partysystems&lt;/A&gt; I've set up a system to forward data to a syslog server.
However, while using a host::hostname works, seems that using source::/path/file or source::/path/directory is not working.
Does it needs to have a monitor defined also?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2010 23:06:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-source-file-directory/m-p/79551#M16313</guid>
      <dc:creator>acalvo</dc:creator>
      <dc:date>2010-10-28T23:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf source file/directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-source-file-directory/m-p/79552#M16314</link>
      <description>&lt;P&gt;should work. Show your stanza for more details..&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2010 00:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-source-file-directory/m-p/79552#M16314</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2010-10-29T00:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf source file/directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-source-file-directory/m-p/79553#M16315</link>
      <description>&lt;P&gt;props.conf: &lt;/P&gt;

&lt;P&gt;[source::/opt/glassfishv3/glassfish/domains/domain1/logs/] &lt;BR /&gt;
TRANSFORMS-routing = send_to_syslog &lt;/P&gt;

&lt;P&gt;transforms.conf: &lt;/P&gt;

&lt;P&gt;[send_to_syslog] &lt;BR /&gt;
REGEX = . &lt;BR /&gt;
DEST_KEY = _SYSLOG_ROUTING &lt;BR /&gt;
FORMAT = INM01 &lt;/P&gt;

&lt;P&gt;outputs.conf: &lt;/P&gt;

&lt;P&gt;[syslog:INM01] &lt;BR /&gt;
server = 10.10.40.10:10514 &lt;BR /&gt;
type = tcp &lt;/P&gt;

&lt;P&gt;The official documentation does not use the REGEX param in the transforms file, however, it didn't work without specifying it. &lt;/P&gt;

&lt;P&gt;I've also used the 3 dots (...) in front of the path, but still no luck. &lt;/P&gt;

&lt;P&gt;Replacing the source for hostname::&lt;MY-HOST&gt; works.&lt;/MY-HOST&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:20:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-source-file-directory/m-p/79553#M16315</guid>
      <dc:creator>acalvo</dc:creator>
      <dc:date>2020-09-28T09:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf source file/directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-source-file-directory/m-p/79554#M16316</link>
      <description>&lt;P&gt;It will not work if you have overridden your &lt;CODE&gt;source&lt;/CODE&gt; (unless you use the original &lt;CODE&gt;source&lt;/CODE&gt; value).  This may be your problem.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 04:49:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-source-file-directory/m-p/79554#M16316</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-27T04:49:20Z</dc:date>
    </item>
  </channel>
</rss>

