<?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: splunk query help ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/splunk-query-help/m-p/310716#M166292</link>
    <description>&lt;P&gt;Thanks Somesoni2&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2017 02:00:22 GMT</pubDate>
    <dc:creator>splunker969</dc:creator>
    <dc:date>2017-08-31T02:00:22Z</dc:date>
    <item>
      <title>splunk query help ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-query-help/m-p/310714#M166290</link>
      <description>&lt;P&gt;How to write search query to find from particular host is sending any credit card data into splunk by using regex ?&lt;BR /&gt;
Discover card&lt;BR /&gt;&lt;BR /&gt;
dinerclub&lt;BR /&gt;
mastercard&lt;BR /&gt;
visa &lt;/P&gt;

&lt;P&gt;index=*  host =X|regex="(4[0-9]{14})|(5[1-5][0-9]{14})&lt;/P&gt;

&lt;P&gt;Please help me in query &lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 01:22:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-query-help/m-p/310714#M166290</guid>
      <dc:creator>splunker969</dc:creator>
      <dc:date>2017-08-31T01:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: splunk query help ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-query-help/m-p/310715#M166291</link>
      <description>&lt;P&gt;You can use the regex used in below link. &lt;A href="https://wiki.splunk.com/Community:Credit_card_masking_regex"&gt;https://wiki.splunk.com/Community:Credit_card_masking_regex&lt;/A&gt;&lt;BR /&gt;
The filtering query can be like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* host =X|regex _raw="&amp;gt;+REGEXfromABOVElink"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* host =X|where match(_raw,"REGEXfromABOVElink")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Aug 2017 01:35:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-query-help/m-p/310715#M166291</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-08-31T01:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: splunk query help ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-query-help/m-p/310716#M166292</link>
      <description>&lt;P&gt;Thanks Somesoni2&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 02:00:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-query-help/m-p/310716#M166292</guid>
      <dc:creator>splunker969</dc:creator>
      <dc:date>2017-08-31T02:00:22Z</dc:date>
    </item>
  </channel>
</rss>

