<?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: Output syslog to external system in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Output-syslog-to-external-system/m-p/33657#M6034</link>
    <description>&lt;P&gt;I suspect your problem lies in &lt;CODE&gt;transforms.conf&lt;/CODE&gt;. You appear to be missing &lt;CODE&gt;REGEX =&lt;/CODE&gt; in your send_to_webreports stanza. You can confirm this by looking for the message &lt;CODE&gt;REGEX field must be specified tranform_name=&lt;/CODE&gt; in splunkd.log. &lt;/P&gt;</description>
    <pubDate>Fri, 20 Aug 2010 00:02:12 GMT</pubDate>
    <dc:creator>Stephen_Sorkin</dc:creator>
    <dc:date>2010-08-20T00:02:12Z</dc:date>
    <item>
      <title>Output syslog to external system</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Output-syslog-to-external-system/m-p/33656#M6033</link>
      <description>&lt;P&gt;So I setup syslog output forwarding per the Splunk docs, but am not seeing anything being sent out nor receiving it on the endpoint.&lt;/P&gt;

&lt;P&gt;Here is what I have applied (and have tried w/o a props or transforms just like the example w/o success).  This was done on the indexer itself, only light forwarders and tcp syslog servers send data into the indexer.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;outputs.conf:

[syslog:webreports_syslog_group]
server = myhostname:514
type = tcp


transforms.conf:

[send_to_webreports]
DEST_KEY = _SYSLOG_ROUTING
FORMAT = webreports_syslog_group


props.conf:

[source::/data/logs/httpd/somesite/access*]
TRANSFORMS-weblog-matrix = send_to_webreports
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the metrics.log I see these entries:&lt;/P&gt;

&lt;P&gt;08-19-2010 10:34:04.782 INFO  Metrics - group=syslog_connections, webreports_syslog_group:myhostname:514:myhostname:514, sourcePort=8089, destIp=myhostname, destPort=514, _tcp_Bps=0.00, _tcp_KBps=0.00, _tcp_avg_thruput=0.00, _tcp_Kprocessed=0, _tcp_eps=0.00&lt;/P&gt;

&lt;P&gt;So curious what the double hostname is in the group area?  Not sure if this matters much as the destIP is probably what is used for the connection.  I see the doubling up in that line regardless if i have hostname, fqdn or IP.&lt;/P&gt;

&lt;P&gt;Also not sure why I see no data being sent out.  External system is accessible on tcp/514 from this splunk server.&lt;/P&gt;

&lt;P&gt;Thanks for insight.&lt;/P&gt;

&lt;P&gt;scott&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 23:38:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Output-syslog-to-external-system/m-p/33656#M6033</guid>
      <dc:creator>skippylou</dc:creator>
      <dc:date>2010-08-19T23:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Output syslog to external system</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Output-syslog-to-external-system/m-p/33657#M6034</link>
      <description>&lt;P&gt;I suspect your problem lies in &lt;CODE&gt;transforms.conf&lt;/CODE&gt;. You appear to be missing &lt;CODE&gt;REGEX =&lt;/CODE&gt; in your send_to_webreports stanza. You can confirm this by looking for the message &lt;CODE&gt;REGEX field must be specified tranform_name=&lt;/CODE&gt; in splunkd.log. &lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2010 00:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Output-syslog-to-external-system/m-p/33657#M6034</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-08-20T00:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Output syslog to external system</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Output-syslog-to-external-system/m-p/33658#M6035</link>
      <description>&lt;P&gt;Thanks!  I didn't see any mention of this in the docs, but putting 'REGEX = .*' as part of it worked just perfectly.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2010 00:11:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Output-syslog-to-external-system/m-p/33658#M6035</guid>
      <dc:creator>skippylou</dc:creator>
      <dc:date>2010-08-20T00:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Output syslog to external system</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Output-syslog-to-external-system/m-p/33659#M6036</link>
      <description>&lt;P&gt;If you want to match everything, then I recommend just using &lt;CODE&gt;REGEX = .&lt;/CODE&gt;  There is no need to include the star "&lt;CODE&gt;*&lt;/CODE&gt;". (This should be just slightly more efficient)&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2010 00:22:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Output-syslog-to-external-system/m-p/33659#M6036</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-08-20T00:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Output syslog to external system</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Output-syslog-to-external-system/m-p/33660#M6037</link>
      <description>&lt;H1&gt;transforms.conf:&lt;/H1&gt;

&lt;P&gt;[send_to_webreports]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = _SYSLOG_ROUTING&lt;BR /&gt;
FORMAT = webreports_syslog_group&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:58:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Output-syslog-to-external-system/m-p/33660#M6037</guid>
      <dc:creator>mcronkrite</dc:creator>
      <dc:date>2020-09-28T16:58:50Z</dc:date>
    </item>
  </channel>
</rss>

