<?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: Unable to get SEDCMD to mask SSNs (on Indexer) in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681258#M113813</link>
    <description>&lt;P&gt;I just found this, from this admin guide:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;To anonymize data with Splunk Enterprise, you must configure a Splunk Enterprise instance as a heavy forwarder and anonymize the incoming data with that instance before sending it to Splunk Enterprise.&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Previously in other documents it had said this can be performed on either the Indexer OR a Heavy Forwarder. I wonder if this is why it isn't working?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.0/Data/Anonymizedata" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.0/Data/Anonymizedata&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2024 20:43:45 GMT</pubDate>
    <dc:creator>srseceng</dc:creator>
    <dc:date>2024-03-19T20:43:45Z</dc:date>
    <item>
      <title>Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681197#M113801</link>
      <description>&lt;P&gt;Hello, I am testing using SEDCMD on a single Splunk server architecture.&lt;BR /&gt;&lt;BR /&gt;Below is the current configuration which is put into /opt/splunk/etc/system/local/ - I am uploading a CSV file which contains (fake) individual data including two formats of SSN (xxx-xx-xxxx &amp;amp; xxxxxxxxx). The masking is not working when I upload the CSV file. Can someone help point me in the right direction?&lt;BR /&gt;&lt;BR /&gt;props.conf&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;### CUSTOM ###
[csv]
SEDCMD-redact_ssn = s/\b\d{3}-\d{2}-\d{4}\b/XXXXXXXXX/g
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Included below is FAKE individual data pulled from the CSV file for testing:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;514302782,f,1986/05/27,Nicholson,Russell,Jacki,3097 Better Street,Kansas City,MO,66215,913-227-6106,jrussell@domain.com,a,345389698201044,232,2010/01/01&lt;BR /&gt;505-88-5714,f,1963/09/23,Mcclain,Venson,Lillian,539 Kyle Street,Wood River,NE,68883,308-583-8759,lvenson@domain.com,d,30204861594838,471,2011/12/01&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 18:06:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681197#M113801</guid>
      <dc:creator>srseceng</dc:creator>
      <dc:date>2024-03-19T18:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681200#M113802</link>
      <description>&lt;P&gt;It's possible Splunk doesn't like the &lt;FONT face="courier new,courier"&gt;\b&lt;/FONT&gt; metacharacter.&amp;nbsp; Try this alternative.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SEDCMD-redact_ssn = s/(\D)\d{3}-?\d{2}-?\d{4}(\D)/\1XXXXXXXXX\2/g&lt;/LI-CODE&gt;&lt;P&gt;I also modified the regex to preserve the characters before and after the SSN and to make the hyphens optional.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 15:46:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681200#M113802</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-03-19T15:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681206#M113803</link>
      <description>&lt;P&gt;Thanks for the info!&lt;BR /&gt;&lt;BR /&gt;I deleted the events, updated props.conf, restarted splunk, then uploaded the CSV again - but it is not working yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="srseceng_0-1710864113460.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29804i97BCF2C57EA6C579/image-size/medium?v=v2&amp;amp;px=400" role="button" title="srseceng_0-1710864113460.png" alt="srseceng_0-1710864113460.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 16:03:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681206#M113803</guid>
      <dc:creator>srseceng</dc:creator>
      <dc:date>2024-03-19T16:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681210#M113804</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/257373"&gt;@srseceng&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;how do you take these logs: from a Universal Forwarder or from an Hevy Forwarder?&lt;/P&gt;&lt;P&gt;If from an hevy forwarder, the SEDCMD props.conf must be located on the HF.&lt;/P&gt;&lt;P&gt;If you receive these logs from a Universal Forwarder and there ins't any intermediate Heavy Forwarder the props.conf can be located on the Indexers.&lt;/P&gt;&lt;P&gt;In other words, parsing and typing is done in the first full Splunk instance that the data are passing through.&lt;/P&gt;&lt;P&gt;Then, check if the regex and the sourcetype are correct.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 16:28:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681210#M113804</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-19T16:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681215#M113805</link>
      <description>&lt;P&gt;Because this is a test environment, the logs are being added through the UI's "Add Data" &amp;gt; "Upload" feature. I have a CSV file that contains the logs.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is this a valid test method?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 16:53:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681215#M113805</guid>
      <dc:creator>srseceng</dc:creator>
      <dc:date>2024-03-19T16:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681217#M113806</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/257373"&gt;@srseceng&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;OK, Add data of the same Indexer I suppose.&lt;/P&gt;&lt;P&gt;In this case the issue is to search in the regex: what does it happen running the sed regex in the Splunk ui?&lt;/P&gt;&lt;P&gt;Are you sure about the sourcetype?&lt;/P&gt;&lt;P&gt;Did you restarted Splunk after props.conf update?&lt;/P&gt;&lt;P&gt;Sorry for the stupid questions, but "Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth" (Sir Artur Conan Doyle)!&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 17:16:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681217#M113806</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-19T17:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681218#M113807</link>
      <description>This Is valid method to do it.&lt;BR /&gt;Have you select correct sourcetype csv when you are uploading it?</description>
      <pubDate>Tue, 19 Mar 2024 17:18:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681218#M113807</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-03-19T17:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681223#M113809</link>
      <description>&lt;P&gt;Yes, it auto selects "CSV" during import but I have also manually selected CSV to see if there was a bug their.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 18:07:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681223#M113809</guid>
      <dc:creator>srseceng</dc:creator>
      <dc:date>2024-03-19T18:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681227#M113810</link>
      <description>&lt;P&gt;If I run this:&lt;BR /&gt;&lt;BR /&gt;index=main | rex field=_raw mode=sed "s/(\D)\d{3}-?\d{2}-?\d{4}(\D)/\1XXXXXXXXX\2/g"&lt;BR /&gt;&lt;BR /&gt;I get all of the results back, but the SSN's are still in clear text (not redacted)&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 18:24:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681227#M113810</guid>
      <dc:creator>srseceng</dc:creator>
      <dc:date>2024-03-19T18:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681230#M113811</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="srseceng_0-1710872698173.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29806i81DFD4ECD0F96FAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="srseceng_0-1710872698173.png" alt="srseceng_0-1710872698173.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 18:25:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681230#M113811</guid>
      <dc:creator>srseceng</dc:creator>
      <dc:date>2024-03-19T18:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681258#M113813</link>
      <description>&lt;P&gt;I just found this, from this admin guide:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;To anonymize data with Splunk Enterprise, you must configure a Splunk Enterprise instance as a heavy forwarder and anonymize the incoming data with that instance before sending it to Splunk Enterprise.&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Previously in other documents it had said this can be performed on either the Indexer OR a Heavy Forwarder. I wonder if this is why it isn't working?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.0/Data/Anonymizedata" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.0/Data/Anonymizedata&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 20:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681258#M113813</guid>
      <dc:creator>srseceng</dc:creator>
      <dc:date>2024-03-19T20:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681262#M113815</link>
      <description>&lt;P&gt;The default csv sourcetype has&lt;/P&gt;&lt;P&gt;INDEXED_EXTRACTIONS=csv&lt;/P&gt;&lt;P&gt;It changes how the data is processed. Even if the SEDCMD is applied (of which I'm not sure), the fields are already extracted and since you're only editing _raw, you're not changing already extracted fields.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 20:58:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681262#M113815</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-03-19T20:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681265#M113816</link>
      <description>&lt;P&gt;ah! ok, so I need to test this a different way and update the SEDCMD command to reference the new source type.&lt;BR /&gt;&lt;BR /&gt;What's the next easiest method to test? Setup a UF with a file monitor?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 21:07:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681265#M113816</guid>
      <dc:creator>srseceng</dc:creator>
      <dc:date>2024-03-19T21:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681266#M113817</link>
      <description>&lt;P&gt;No, you can just define another sourcetype and upload the file onto your all-in-one instance. The trick will be to handle the csv fields properly. If I remember correctly, with INDEXED_EXTRACTIONS=csv Splunk uses first (by default) line of input file to determine field names. Without it you need to explicitly name field names and use proper FIELD_DELIMITER so that Splunk knows what the fields are (or write a very ugly regex-based extraction pattern).&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 21:19:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681266#M113817</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-03-19T21:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SEDCMD to mask SSNs (on Indexer)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681276#M113820</link>
      <description>&lt;P&gt;On Slack is a new MASA diagram from where you could see how those pipelines are working and which conf files (and parameters) are affecting to those events.&amp;nbsp;&lt;A href="https://splunk-usergroups.slack.com/archives/CD9CL5WJ3/p1710515462848799?thread_ts=1710514363.198159&amp;amp;channel=CD9CL5WJ3&amp;amp;message_ts=1710515462.848799" target="_blank"&gt;https://splunk-usergroups.slack.com/archives/CD9CL5WJ3/p1710515462848799?thread_ts=1710514363.198159&amp;amp;channel=CD9CL5WJ3&amp;amp;message_ts=1710515462.848799&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 22:04:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unable-to-get-SEDCMD-to-mask-SSNs-on-Indexer/m-p/681276#M113820</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-03-19T22:04:45Z</dc:date>
    </item>
  </channel>
</rss>

