<?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: Selective Filtered Indexing and Forwarding to 3rd party syslog in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Selective-Filtered-Indexing-and-Forwarding-to-3rd-party-syslog/m-p/476114#M81713</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I am thinking of putting the following on the HF&lt;/P&gt;

&lt;H4&gt;outputs.conf&lt;/H4&gt;

&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = primary_indexers

### this setting will send all the logs to third party syslog server. This setting seems to be working fine.

 [syslog]
 defaultGroup = EverythingtoSyslog
 [syslog:EverythingtoSyslog]
 #sendCookedData=false
 server=1.2.3.4:514
 type=udp
 maxEventSize=5096
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H4&gt;props.conf&lt;/H4&gt;

&lt;PRE&gt;&lt;CODE&gt;# For wineventlog sourcetype , i tried to put the following plus the transforms below..but it did not drop the event.

[wineventlog]
TRANSFORMS-set=wineventlog-setnull,wineventlog-setparsing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H3&gt;transforms.conf&lt;/H3&gt;

&lt;PRE&gt;&lt;CODE&gt;### this following setting should drop  events with the eventcode 4624 for example in wineventlog from being send to indexer. The rest of the logs should be sent to primary_indexers. This should not conflict with linux_secure or cisco filtering

# For wineventlog sourcetype , i tried to put the following plus the props above..but it did not drop the event.  

[wineventlog-setparsing]
REGEX = .
DEST_KEY = queue
FORMAT =  indexQueue

[wineventlog-setnull]
REGEX=EventCode=(4624)
DEST_KEY = queue
FORMAT = nullQueue

### the following setting should Only send events with "ssh" keyword for example in linux_secure to the indexer. Other events in linux_secure sourcetype should not be sent to the indexer. This should not conflict with the wineventlog or cisco filtering.

not sure what to put here

### This should send all cisco:asa events to the indexer. This should not conflict with the above 2 settings.

not sure what to put here
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2020 12:04:48 GMT</pubDate>
    <dc:creator>archme</dc:creator>
    <dc:date>2020-01-08T12:04:48Z</dc:date>
    <item>
      <title>Selective Filtered Indexing and Forwarding to 3rd party syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Selective-Filtered-Indexing-and-Forwarding-to-3rd-party-syslog/m-p/476112#M81711</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Our setup is as follows:&lt;/P&gt;

&lt;P&gt;Windows/Unix UF -&amp;gt; HF -&amp;gt; IDX Clusters&lt;/P&gt;

&lt;P&gt;Currently we are sending everything to IDX cluster and 1 copy of the logs to a 3rd party syslog server from the HF.&lt;/P&gt;

&lt;P&gt;What we are trying to achieve is to send everything to the 3rd party syslog server and only send filtered logs to the idx clusters.&lt;/P&gt;

&lt;P&gt;Given the scenario of the following sourcetype:&lt;BR /&gt;
a) wineventlog&lt;BR /&gt;
b) linux_secure&lt;BR /&gt;
c) cisco:asa&lt;/P&gt;

&lt;P&gt;I am trying to figure out how we can :&lt;BR /&gt;
a) Send everything to the 3rd party syslog&lt;BR /&gt;
b) Drop events with the eventcode 4624 for example in wineventlog from being send to indexer. &lt;BR /&gt;
c) Only send events with "ssh" keyword for example in linux_secure to the indexer. Other events in linux_secure sourcetype should not be sent to the indexer.&lt;BR /&gt;
d) send all cisco:asa events to the indexer.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:32:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Selective-Filtered-Indexing-and-Forwarding-to-3rd-party-syslog/m-p/476112#M81711</guid>
      <dc:creator>archme</dc:creator>
      <dc:date>2020-09-30T03:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Selective Filtered Indexing and Forwarding to 3rd party syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Selective-Filtered-Indexing-and-Forwarding-to-3rd-party-syslog/m-p/476113#M81712</link>
      <description>&lt;P&gt;Event filtering is one of the primary reasons to use an HF as an intermediate forwarder. Your license is not impacted until data reaches the IDX. Why not blacklist the undesired traffic there? &lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 20:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Selective-Filtered-Indexing-and-Forwarding-to-3rd-party-syslog/m-p/476113#M81712</guid>
      <dc:creator>mydog8it</dc:creator>
      <dc:date>2020-01-07T20:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selective Filtered Indexing and Forwarding to 3rd party syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Selective-Filtered-Indexing-and-Forwarding-to-3rd-party-syslog/m-p/476114#M81713</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I am thinking of putting the following on the HF&lt;/P&gt;

&lt;H4&gt;outputs.conf&lt;/H4&gt;

&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = primary_indexers

### this setting will send all the logs to third party syslog server. This setting seems to be working fine.

 [syslog]
 defaultGroup = EverythingtoSyslog
 [syslog:EverythingtoSyslog]
 #sendCookedData=false
 server=1.2.3.4:514
 type=udp
 maxEventSize=5096
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H4&gt;props.conf&lt;/H4&gt;

&lt;PRE&gt;&lt;CODE&gt;# For wineventlog sourcetype , i tried to put the following plus the transforms below..but it did not drop the event.

[wineventlog]
TRANSFORMS-set=wineventlog-setnull,wineventlog-setparsing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H3&gt;transforms.conf&lt;/H3&gt;

&lt;PRE&gt;&lt;CODE&gt;### this following setting should drop  events with the eventcode 4624 for example in wineventlog from being send to indexer. The rest of the logs should be sent to primary_indexers. This should not conflict with linux_secure or cisco filtering

# For wineventlog sourcetype , i tried to put the following plus the props above..but it did not drop the event.  

[wineventlog-setparsing]
REGEX = .
DEST_KEY = queue
FORMAT =  indexQueue

[wineventlog-setnull]
REGEX=EventCode=(4624)
DEST_KEY = queue
FORMAT = nullQueue

### the following setting should Only send events with "ssh" keyword for example in linux_secure to the indexer. Other events in linux_secure sourcetype should not be sent to the indexer. This should not conflict with the wineventlog or cisco filtering.

not sure what to put here

### This should send all cisco:asa events to the indexer. This should not conflict with the above 2 settings.

not sure what to put here
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 12:04:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Selective-Filtered-Indexing-and-Forwarding-to-3rd-party-syslog/m-p/476114#M81713</guid>
      <dc:creator>archme</dc:creator>
      <dc:date>2020-01-08T12:04:48Z</dc:date>
    </item>
  </channel>
</rss>

