<?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: How to forward splunkd.log to a foreign syslog server in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-splunkd-log-to-a-foreign-syslog-server/m-p/698717#M115814</link>
    <description>&lt;P&gt;Unless you call that transform from props.conf, it's completely ineffective. But that's just a side note.&lt;/P&gt;&lt;P&gt;There are two separate issues here. One is to make sure only selected events get forwarded to syslog server. The way to go is probably to define two syslog groups - one with a real syslog server and one - a deafult one - with a dummy syslog server. The default syslog output is just a sink to catch all events not redirected using transforms to a working syslog output.&lt;/P&gt;&lt;P&gt;Another thing is to make sure specific data is not getting forwarded using splunk-tcp connection to downstream indexers. You can either use index filtering for this (but this works globally on tcp outputs) or you can do the same thing as with syslog but in reverse - do a dummy output and redirect there all events you don't want sent to indexers.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 21:41:10 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2024-09-10T21:41:10Z</dc:date>
    <item>
      <title>How to forward splunkd.log to a foreign syslog server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-splunkd-log-to-a-foreign-syslog-server/m-p/698658#M115810</link>
      <description>&lt;P&gt;Dear community,&lt;BR /&gt;it might be an odd question but i need to forward the splunkd.log to a foreign syslog server,&lt;BR /&gt;therefore i was following the sample from here:&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/9.2.2406/Forwarding/Forwarddatatothird-partysystemsd" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/9.2.2406/Forwarding/Forwarddatatothird-partysystemsd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So far i have configured the forwarder to forward testing.log (should be splunkd.log later) to the foreign syslog target&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#inputs.conf 
[monitor:///opt/splunk/var/log/splunk/testing.log]
disabled=false
sourcetype=testing&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#outputs.conf

[tcpout]
defaultGroup=idx-cluster
indexAndForward=false

[tcpout:idx-cluster]
server=splunk-idx-cluster-indexer-service:9997

[syslog:my_syslog_group]
server = my-syslog-server.foo:514&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#transforms.conf

[send_to_syslog]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = my_syslog_group&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far so good, testing.log appears on the syslog server but not just that, all other messages are forwarded too.&lt;/P&gt;&lt;P&gt;Question: How can i configure the (heavy) forwarder to only send testing.log to the foreign syslog server and&lt;BR /&gt;how can i make sure that testing.log does not getting indexed? In other words - testing.log should only be send to syslog.&lt;/P&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 14:14:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-splunkd-log-to-a-foreign-syslog-server/m-p/698658#M115810</guid>
      <dc:creator>MattKr</dc:creator>
      <dc:date>2024-09-10T14:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to forward splunkd.log to a foreign syslog server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-splunkd-log-to-a-foreign-syslog-server/m-p/698717#M115814</link>
      <description>&lt;P&gt;Unless you call that transform from props.conf, it's completely ineffective. But that's just a side note.&lt;/P&gt;&lt;P&gt;There are two separate issues here. One is to make sure only selected events get forwarded to syslog server. The way to go is probably to define two syslog groups - one with a real syslog server and one - a deafult one - with a dummy syslog server. The default syslog output is just a sink to catch all events not redirected using transforms to a working syslog output.&lt;/P&gt;&lt;P&gt;Another thing is to make sure specific data is not getting forwarded using splunk-tcp connection to downstream indexers. You can either use index filtering for this (but this works globally on tcp outputs) or you can do the same thing as with syslog but in reverse - do a dummy output and redirect there all events you don't want sent to indexers.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 21:41:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-forward-splunkd-log-to-a-foreign-syslog-server/m-p/698717#M115814</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-09-10T21:41:10Z</dc:date>
    </item>
  </channel>
</rss>

