<?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: Correctly mapping data to CIM in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Correctly-mapping-data-to-CIM/m-p/191505#M1726</link>
    <description>&lt;P&gt;Indeed your Eval expression if (isnull (rule) OR rule = "unknown" OR rule = "", "unknown_test" rule_id) command does not change the rule field in question because it creates an overcharged Expression field that takes the value "unknown_test" if (isnull (rule) OR rule = "unknown" OR rule = "" and values rule_id fields.&lt;BR /&gt;
I think you should replace the name of the Expression field by rule if you want to view the change research like this&lt;/P&gt;

&lt;P&gt;Eval rule if(isnull(rule) OR rule="unknown" OR rule="","unknown_test",rule_id) &lt;BR /&gt;
or &lt;/P&gt;

&lt;P&gt;Eval rule= if(isnull(rule) OR rule="unknown" OR rule="","unknown_test",rule_id)&lt;BR /&gt;&lt;BR /&gt;
| table _time,host,sourcetype,action,dvc,rule,transport,src,src_port,dest,dest_port,vendor_product&lt;BR /&gt;
field rule returns unknown_test and certain values of the field rule_id&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 18:37:03 GMT</pubDate>
    <dc:creator>fdi01</dc:creator>
    <dc:date>2020-09-28T18:37:03Z</dc:date>
    <item>
      <title>Correctly mapping data to CIM</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Correctly-mapping-data-to-CIM/m-p/191504#M1725</link>
      <description>&lt;P&gt;Hi all!&lt;BR /&gt;
I have got all-in-one standalone splunk installation, trying SplunkPCI app to work.&lt;BR /&gt;
According to manual &lt;A href="http://docs.splunk.com/Documentation/PCI/latest/Install/FirewallRuleActivity" target="_blank"&gt;http://docs.splunk.com/Documentation/PCI/latest/Install/FirewallRuleActivity&lt;/A&gt; it is required to map data:&lt;BR /&gt;
&lt;STRONG&gt;Note: Be sure the rule ID in the data is mapped to “rule”. This is not currently in the Common Information Model documentation.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The trouble is that after adding attribute &lt;STRONG&gt;rule&lt;/STRONG&gt; in Settings-&amp;gt;Data Model-&amp;gt;Network Traffic with &lt;STRONG&gt;Eval Expression if(isnull(rule) OR rule="unknown" OR rule="","unknown_test",rule_id)&lt;/STRONG&gt; i dont see any changes:&lt;BR /&gt;
&lt;STRONG&gt;&lt;CODE&gt;communicate&lt;/CODE&gt; | table _time,host,sourcetype,action,dvc,rule,transport,src,src_port,dest,dest_port,vendor_product&lt;/STRONG&gt;&lt;BR /&gt;
field &lt;STRONG&gt;rule&lt;/STRONG&gt; returns &lt;STRONG&gt;unknown&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:40:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Correctly-mapping-data-to-CIM/m-p/191504#M1725</guid>
      <dc:creator>vkor</dc:creator>
      <dc:date>2020-09-28T18:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Correctly mapping data to CIM</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Correctly-mapping-data-to-CIM/m-p/191505#M1726</link>
      <description>&lt;P&gt;Indeed your Eval expression if (isnull (rule) OR rule = "unknown" OR rule = "", "unknown_test" rule_id) command does not change the rule field in question because it creates an overcharged Expression field that takes the value "unknown_test" if (isnull (rule) OR rule = "unknown" OR rule = "" and values rule_id fields.&lt;BR /&gt;
I think you should replace the name of the Expression field by rule if you want to view the change research like this&lt;/P&gt;

&lt;P&gt;Eval rule if(isnull(rule) OR rule="unknown" OR rule="","unknown_test",rule_id) &lt;BR /&gt;
or &lt;/P&gt;

&lt;P&gt;Eval rule= if(isnull(rule) OR rule="unknown" OR rule="","unknown_test",rule_id)&lt;BR /&gt;&lt;BR /&gt;
| table _time,host,sourcetype,action,dvc,rule,transport,src,src_port,dest,dest_port,vendor_product&lt;BR /&gt;
field rule returns unknown_test and certain values of the field rule_id&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:37:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Correctly-mapping-data-to-CIM/m-p/191505#M1726</guid>
      <dc:creator>fdi01</dc:creator>
      <dc:date>2020-09-28T18:37:03Z</dc:date>
    </item>
  </channel>
</rss>

