<?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 How to best normalize fields for Splunk Common Information Model (CIM)? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-best-normalize-fields-for-Splunk-Common-Information-Model/m-p/279782#M32938</link>
    <description>&lt;P&gt;Hello folks,&lt;/P&gt;

&lt;P&gt;I was wondering if you could help me with a dilemma about PERFORMANCE.&lt;/P&gt;

&lt;P&gt;I'm normalizing fields in order to use them with Splunk Common Information Model (CIM) and I don't know if using the extraction method like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf:
[(?::){0}opsec*]
REPORT-rule_as_rule_id = rule_as_rule_id

transforms.conf:
[rule_as_rule_id]
REGEX = rule=(\w+)
FORMAT = rule_id::$1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR  just use the FIELDALIAS like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf:
[(?::){0}opsec*]
FIELDALIAS-opsec_cim_fields = rule_id as rule_id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can you help me to understand what is the best method, if any?&lt;/P&gt;

&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2016 14:18:14 GMT</pubDate>
    <dc:creator>larmesto</dc:creator>
    <dc:date>2016-12-14T14:18:14Z</dc:date>
    <item>
      <title>How to best normalize fields for Splunk Common Information Model (CIM)?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-best-normalize-fields-for-Splunk-Common-Information-Model/m-p/279782#M32938</link>
      <description>&lt;P&gt;Hello folks,&lt;/P&gt;

&lt;P&gt;I was wondering if you could help me with a dilemma about PERFORMANCE.&lt;/P&gt;

&lt;P&gt;I'm normalizing fields in order to use them with Splunk Common Information Model (CIM) and I don't know if using the extraction method like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf:
[(?::){0}opsec*]
REPORT-rule_as_rule_id = rule_as_rule_id

transforms.conf:
[rule_as_rule_id]
REGEX = rule=(\w+)
FORMAT = rule_id::$1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR  just use the FIELDALIAS like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf:
[(?::){0}opsec*]
FIELDALIAS-opsec_cim_fields = rule_id as rule_id
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can you help me to understand what is the best method, if any?&lt;/P&gt;

&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 14:18:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-best-normalize-fields-for-Splunk-Common-Information-Model/m-p/279782#M32938</guid>
      <dc:creator>larmesto</dc:creator>
      <dc:date>2016-12-14T14:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to best normalize fields for Splunk Common Information Model (CIM)?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-best-normalize-fields-for-Splunk-Common-Information-Model/m-p/279783#M32939</link>
      <description>&lt;P&gt;Field-aliases can be a bigger determent to performance. Martin_mueller (&lt;A href="https://answers.splunk.com/users/134323/martin_mueller.html" target="_blank"&gt;https://answers.splunk.com/users/134323/martin_mueller.html&lt;/A&gt;) could probably answer this better than I can with his fantastic .conf talk on the subject: &lt;A href="http://conf.splunk.com/session/2015/conf2015_MMueller_Consist_Deploying_OptimizingSplunkKnowledge.pdf" target="_blank"&gt;http://conf.splunk.com/session/2015/conf2015_MMueller_Consist_Deploying_OptimizingSplunkKnowledge.pdf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;My take-away is - I wouldn't spend a whole lot of time fixing existing sourcetypes, but if you're doing it for a new sourcetype then i'd utilize a regex.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:05:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-best-normalize-fields-for-Splunk-Common-Information-Model/m-p/279783#M32939</guid>
      <dc:creator>beatus</dc:creator>
      <dc:date>2020-09-29T12:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to best normalize fields for Splunk Common Information Model (CIM)?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-best-normalize-fields-for-Splunk-Common-Information-Model/m-p/279784#M32940</link>
      <description>&lt;P&gt;Thank you for your answer! I'll try this approach.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 15:22:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-best-normalize-fields-for-Splunk-Common-Information-Model/m-p/279784#M32940</guid>
      <dc:creator>larmesto</dc:creator>
      <dc:date>2016-12-14T15:22:13Z</dc:date>
    </item>
  </channel>
</rss>

