<?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 Correct syntax for syslog source in props.conf for SEDCMD in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Correct-syntax-for-syslog-source-in-props-conf-for-SEDCMD/m-p/66268#M13319</link>
    <description>&lt;P&gt;I would like to ensure that ssn's are anonymized, can anyone tell me what the source type should be for syslog?  In the splunk browser the source shows up as udp:514, how should this be added to the source reference in the props.conf file.  

Cheers  

jb&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::.../upd:514]
SEDCMD-accounts = s/ssn=\"\d{3}\-\d{2}\-\d{4}\"/=&amp;gt;\"xxx-xx-xxxx\"/g 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 07 Oct 2010 22:37:46 GMT</pubDate>
    <dc:creator>jbertoli</dc:creator>
    <dc:date>2010-10-07T22:37:46Z</dc:date>
    <item>
      <title>Correct syntax for syslog source in props.conf for SEDCMD</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Correct-syntax-for-syslog-source-in-props-conf-for-SEDCMD/m-p/66268#M13319</link>
      <description>&lt;P&gt;I would like to ensure that ssn's are anonymized, can anyone tell me what the source type should be for syslog?  In the splunk browser the source shows up as udp:514, how should this be added to the source reference in the props.conf file.  

Cheers  

jb&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::.../upd:514]
SEDCMD-accounts = s/ssn=\"\d{3}\-\d{2}\-\d{4}\"/=&amp;gt;\"xxx-xx-xxxx\"/g 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Oct 2010 22:37:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Correct-syntax-for-syslog-source-in-props-conf-for-SEDCMD/m-p/66268#M13319</guid>
      <dc:creator>jbertoli</dc:creator>
      <dc:date>2010-10-07T22:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Correct syntax for syslog source in props.conf for SEDCMD</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Correct-syntax-for-syslog-source-in-props-conf-for-SEDCMD/m-p/66269#M13320</link>
      <description>&lt;P&gt;If you want to work off of the source field and the source is indeed udp:514, put this in your props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::udp:514]
SEDCMD-accounts = s/ssn=\"\d{3}-\d{2}-\d{4}\"/=&amp;gt;\"xxx-xx-xxxx\"/g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or you could work off of whatever sourcetype is assigned to the data. If the sourcetype syslog is assigned, configure props.conf as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog]
SEDCMD-accounts = s/ssn=\"\d{3}-\d{2}-\d{4}\"/=&amp;gt;\"xxx-xx-xxxx\"/g
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Oct 2010 23:18:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Correct-syntax-for-syslog-source-in-props-conf-for-SEDCMD/m-p/66269#M13320</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2010-10-07T23:18:59Z</dc:date>
    </item>
  </channel>
</rss>

