<?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 Add field using eval to existing data model field in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Add-field-using-eval-to-existing-data-model-field/m-p/504666#M4549</link>
    <description>&lt;P&gt;Hello! I am just starting to work with data models (and eval expressions) and I am a bit stuck.&amp;nbsp; I have a data model titled "Intrusion" with has 2 diff indexes A &amp;amp; B. Index A events includes a field called "Signature" in the events, but Index B does not. Index B has a field titled "msg" which is similar to the signature field, so I want to add the msg field to the signature field in the data model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently the data model has "signature" as an eval expression field with the below expression and field settings.&amp;nbsp; How can I edit the eval expression so that the "msg" field from Index B shows up as the "signature" field in the data model? Or do I need to add a new field/eval expression completely?&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;Eval Expression:&lt;BR /&gt;&lt;SPAN&gt;`if(isnull(signature) OR signature="","unknown",signature)`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Field Name: signature&lt;BR /&gt;Display Name: signature&lt;BR /&gt;Type: string&lt;BR /&gt;Flags: optional&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jun 2020 18:04:16 GMT</pubDate>
    <dc:creator>tromero3</dc:creator>
    <dc:date>2020-06-16T18:04:16Z</dc:date>
    <item>
      <title>Add field using eval to existing data model field</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Add-field-using-eval-to-existing-data-model-field/m-p/504666#M4549</link>
      <description>&lt;P&gt;Hello! I am just starting to work with data models (and eval expressions) and I am a bit stuck.&amp;nbsp; I have a data model titled "Intrusion" with has 2 diff indexes A &amp;amp; B. Index A events includes a field called "Signature" in the events, but Index B does not. Index B has a field titled "msg" which is similar to the signature field, so I want to add the msg field to the signature field in the data model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently the data model has "signature" as an eval expression field with the below expression and field settings.&amp;nbsp; How can I edit the eval expression so that the "msg" field from Index B shows up as the "signature" field in the data model? Or do I need to add a new field/eval expression completely?&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;Eval Expression:&lt;BR /&gt;&lt;SPAN&gt;`if(isnull(signature) OR signature="","unknown",signature)`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Field Name: signature&lt;BR /&gt;Display Name: signature&lt;BR /&gt;Type: string&lt;BR /&gt;Flags: optional&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 18:04:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Add-field-using-eval-to-existing-data-model-field/m-p/504666#M4549</guid>
      <dc:creator>tromero3</dc:creator>
      <dc:date>2020-06-16T18:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Add field using eval to existing data model field</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Add-field-using-eval-to-existing-data-model-field/m-p/504688#M4551</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/39047"&gt;@tromero3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A solution would be to rename "msg" field as "Signature". This is called Normalization and is used extensively in to make data CIM compatible..&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 20:11:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Add-field-using-eval-to-existing-data-model-field/m-p/504688#M4551</guid>
      <dc:creator>anilchaithu</dc:creator>
      <dc:date>2020-06-16T20:11:10Z</dc:date>
    </item>
  </channel>
</rss>

