<?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 Remove cc data from splunk in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Remove-cc-data-from-splunk/m-p/36609#M178569</link>
    <description>&lt;P&gt;We have couple of credit card data in splunk and we need to remove those from the splunk. I am using the below query to search for cc data and remove it from splunk.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="logs" (ccNumber=0* OR ccNumber=1* OR ccNumber=2* OR ccNumber=3* OR ccNumber=4* OR ccNumber=5* OR ccNumber=6* OR ccNumber=7* OR ccNumber=8* OR ccNumber=9*) | delete
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Even running this query i am seeing credit card data in splunk. I am just a beginner on regex and i couldnt use it. I would appreciate if you can help me in query for removing these data.&lt;/P&gt;

&lt;P&gt;NOTE- Few ccNumber fields are already hashed out. &lt;/P&gt;</description>
    <pubDate>Sun, 18 Dec 2011 04:39:23 GMT</pubDate>
    <dc:creator>npandith</dc:creator>
    <dc:date>2011-12-18T04:39:23Z</dc:date>
    <item>
      <title>Remove cc data from splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-cc-data-from-splunk/m-p/36609#M178569</link>
      <description>&lt;P&gt;We have couple of credit card data in splunk and we need to remove those from the splunk. I am using the below query to search for cc data and remove it from splunk.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="logs" (ccNumber=0* OR ccNumber=1* OR ccNumber=2* OR ccNumber=3* OR ccNumber=4* OR ccNumber=5* OR ccNumber=6* OR ccNumber=7* OR ccNumber=8* OR ccNumber=9*) | delete
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Even running this query i am seeing credit card data in splunk. I am just a beginner on regex and i couldnt use it. I would appreciate if you can help me in query for removing these data.&lt;/P&gt;

&lt;P&gt;NOTE- Few ccNumber fields are already hashed out. &lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2011 04:39:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-cc-data-from-splunk/m-p/36609#M178569</guid>
      <dc:creator>npandith</dc:creator>
      <dc:date>2011-12-18T04:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Remove cc data from splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-cc-data-from-splunk/m-p/36610#M178570</link>
      <description>&lt;P&gt;The above query has asterisk after ccNumber=[0-9]&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2011 04:43:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-cc-data-from-splunk/m-p/36610#M178570</guid>
      <dc:creator>npandith</dc:creator>
      <dc:date>2011-12-18T04:43:00Z</dc:date>
    </item>
  </channel>
</rss>

