<?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: Filter data from showing up in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565619#M197076</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're right. I was intending to drop the above log from showing up in the search using some of the data from the above mentioned text.&lt;/P&gt;&lt;P&gt;Text to be used &amp;gt;&amp;nbsp;&lt;SPAN&gt;|httpMethod=POST| | restEndPoint=/v1/insights_transport/transfer_data_to_multicluster|&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Sep 2021 07:43:59 GMT</pubDate>
    <dc:creator>splunknewbie81</dc:creator>
    <dc:date>2021-09-02T07:43:59Z</dc:date>
    <item>
      <title>Filter data from showing up</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565612#M197070</link>
      <description>&lt;P&gt;Hi Guys, I would like to check if it's possible to prevent some data from showing up in the search.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is what I want to prevent from showing up.&lt;/P&gt;&lt;P&gt;=============&lt;/P&gt;&lt;P&gt;Aug 31 23:59:43 a.b.c.d hey_audit: INFO 2021-08-31&amp;nbsp;23:59:43 12,345 HelloType=External |userName=zzz| |xxxapiversion=1.0| |httpMethod=POST| | restEndPoint=/v1/insights_transport/transfer_data_to_multicluster| |entityUuid=| |queryParams=| |payload=&lt;/P&gt;&lt;P&gt;I understand can use regex or eval. Can someone show me how it's done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 07:32:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565612#M197070</guid>
      <dc:creator>splunknewbie81</dc:creator>
      <dc:date>2021-09-02T07:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data from showing up</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565613#M197071</link>
      <description>&lt;P&gt;Depends on what you mean by "prevent from showing up". Do you want to filter out whole events that match some criteria? If so, then you can use |search or |where. But this one you would typicaly use much further down the processing pipeline since instead of filtering simple search results you should probably just add another condition to your initial search.&lt;/P&gt;&lt;P&gt;Or maybe you want to limit your processing to only a subset of files - for that you can use |fields. Of course for this you should have parsing rules for given event in place.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 07:36:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565613#M197071</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-09-02T07:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data from showing up</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565619#M197076</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're right. I was intending to drop the above log from showing up in the search using some of the data from the above mentioned text.&lt;/P&gt;&lt;P&gt;Text to be used &amp;gt;&amp;nbsp;&lt;SPAN&gt;|httpMethod=POST| | restEndPoint=/v1/insights_transport/transfer_data_to_multicluster|&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 07:43:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565619#M197076</guid>
      <dc:creator>splunknewbie81</dc:creator>
      <dc:date>2021-09-02T07:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data from showing up</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565622#M197078</link>
      <description>&lt;P&gt;You might just add another condition to your initial search.&lt;/P&gt;&lt;P&gt;_raw!=*your_text_to_filter_out*&lt;/P&gt;&lt;P&gt;It ain't very pretty nor very efficient but should work. But generally you'd be better off filtering by values of parsed fields. So in this case, assuming that the even parses the fields from the event, you would just filter by "http_method!=POST restEndPoint!=/v1/whatever" and so on.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 07:49:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565622#M197078</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-09-02T07:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data from showing up</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565626#M197082</link>
      <description>&lt;P&gt;I got a earlier log that grabs all the necessary info into the following tables - username , defaultmsg , date , time.&lt;/P&gt;&lt;P&gt;=============&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Aug 25 17:41:05 IP_ADDR consolidated_audit: {"affectedEntityList":[{"entityType":"vm","name":"HOSTNAME01 | PROGRAMNAME","uuid":"11aef477-6f03-4a22-baa7-23736c8e741c"}],"alertUid":"VmUpdateAudit","classificationList":["UserAction"],"creationTimestampUsecs":"1629874233889978","defaultMsg":"Updated VM HOSTNAME01 | Tenable","opEndTimestampUsecs":"1629874233884373","opStartTimestampU==============
secs":"1629874233779524","operationType":"Update","originatingClusterUuid":"0005ad50-f430-a46c-001e-e4434bb76b0e","params":{"is_secure_boot":"false","is_uefi_boot":"true","vm_name":"HOSTNAME01 | PROGRAMNAME"},"recordType":"Audit","severity":"Audit","userName":"ABC@ABC.COM","userUuid":"3f73d040-7516-5caa-a956-91179b2cb1f5","uuid":"254f3952-bf9b-4205-8a14-ad2074ed70ab"}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the issue now is that in the earlier msg, there is no defaultmsg field in the earlier event and it under table (defualtmsg) , it's empty&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 08:15:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565626#M197082</guid>
      <dc:creator>splunknewbie81</dc:creator>
      <dc:date>2021-09-02T08:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data from showing up</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565628#M197084</link>
      <description>&lt;P&gt;Well, this event is in a completely different format.&lt;/P&gt;&lt;P&gt;So I suppose you should first work on your data input - providing proper clasification of events into sourcetypes and parsing rules (extractions).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 08:20:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-data-from-showing-up/m-p/565628#M197084</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-09-02T08:20:19Z</dc:date>
    </item>
  </channel>
</rss>

