<?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: Can you help me with my data filtering query? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-my-data-filtering-query/m-p/450100#M78157</link>
    <description>&lt;P&gt;@satyaallaparthi Can you confirm that the data in question is first reaching HF and then being forwarded to indexer(s)? Also, if you want all the data with sourcetype=WinEventLog:Microsoft-Windows-Sysmon/Operational to be sent to null queue, why don't you have REGEX set to . ? And same for smps. Try removing SOURCE_KEY in transforms and restart splunk.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Oct 2018 19:41:19 GMT</pubDate>
    <dc:creator>Rob2520</dc:creator>
    <dc:date>2018-10-30T19:41:19Z</dc:date>
    <item>
      <title>Can you help me with my data filtering query?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-my-data-filtering-query/m-p/450099#M78156</link>
      <description>&lt;P&gt;I am trying to filter the data sourcetype=  WinEventLog:Microsoft-Windows-Sysmon/Operational , sourcetype=WinEventLog:Microsoft-Windows-Sysmon/Operational and the source = E:\Eam\Siteminder\Log\smps.log. These are being sent by some one else to my Splunk instance and I don't want to receive any of the above data from any server. I wrote transforms.conf and props.conf in the heavy forwarder, but still, I am getting that data from all those...&lt;/P&gt;

&lt;P&gt;*&lt;EM&gt;props.conf *&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;[WinEventLog:Microsoft-Windows-Sysmon/Operational]&lt;BR /&gt;
TRANSFORMS-call = noncommon&lt;/P&gt;

&lt;P&gt;[WinEventLog:Microsoft-Windows-System]&lt;BR /&gt;
TRANSFORMS-call = common&lt;/P&gt;

&lt;P&gt;[source::*smps.log]&lt;BR /&gt;
TRANSFORMS-call = filter&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf :&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[noncommon]&lt;BR /&gt;
SOURCE_KEY = MetaData:Sourcetype&lt;BR /&gt;
REGEX = Sysmon&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[common]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[filter]&lt;BR /&gt;
SOURCE_KEY = MetaData:Source&lt;BR /&gt;
REGEX = smps&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[accepted_keys] &lt;BR /&gt;
is_valid=_SYSLOG_ROUTING&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:46:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-my-data-filtering-query/m-p/450099#M78156</guid>
      <dc:creator>satyaallaparthi</dc:creator>
      <dc:date>2020-09-29T21:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with my data filtering query?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-my-data-filtering-query/m-p/450100#M78157</link>
      <description>&lt;P&gt;@satyaallaparthi Can you confirm that the data in question is first reaching HF and then being forwarded to indexer(s)? Also, if you want all the data with sourcetype=WinEventLog:Microsoft-Windows-Sysmon/Operational to be sent to null queue, why don't you have REGEX set to . ? And same for smps. Try removing SOURCE_KEY in transforms and restart splunk.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 19:41:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-my-data-filtering-query/m-p/450100#M78157</guid>
      <dc:creator>Rob2520</dc:creator>
      <dc:date>2018-10-30T19:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with my data filtering query?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-my-data-filtering-query/m-p/450101#M78158</link>
      <description>&lt;P&gt;Yes I did tried REGEX= . and removed the source_key aswell and restarted..and I dont wanna receive any data from those sourcetypes and source E://EAM* but still am getting data from those. Please help me with that. &lt;/P&gt;

&lt;P&gt;thanks, &lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 19:54:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-my-data-filtering-query/m-p/450101#M78158</guid>
      <dc:creator>satyaallaparthi</dc:creator>
      <dc:date>2018-10-30T19:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with my data filtering query?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-my-data-filtering-query/m-p/450102#M78159</link>
      <description>&lt;P&gt;For filtering events like you want you simply have to create one rule, but you have to define &lt;CODE&gt;source::&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::WinEventLog:Microsoft-Windows-Sysmon/Operational]
TRANSFORMS-call = drop

[source::WinEventLog:Microsoft-Windows-System]
TRANSFORMS-call = drop

[source::E:\Eam\Siteminder\Log\smps.log]
TRANSFORMS-call = drop
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[drop]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Put those files on the indexers and restart it. &lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 13:34:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-help-me-with-my-data-filtering-query/m-p/450102#M78159</guid>
      <dc:creator>markusspitzli</dc:creator>
      <dc:date>2019-02-22T13:34:37Z</dc:date>
    </item>
  </channel>
</rss>

