<?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: In Data model, Root Transaction, why does Splunk need to rename my Root Event fields??? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/In-Data-model-Root-Transaction-why-does-Splunk-need-to-rename-my/m-p/369475#M5203</link>
    <description>&lt;P&gt;It just bugs me that this is not behavior for "Root Event", but only "Root Transaction". Both are Data Model data sets.&lt;/P&gt;

&lt;P&gt;Behavior is not consistent without obvious reasons behind.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2017 08:45:42 GMT</pubDate>
    <dc:creator>leonjxtan</dc:creator>
    <dc:date>2017-06-23T08:45:42Z</dc:date>
    <item>
      <title>In Data model, Root Transaction, why does Splunk need to rename my Root Event fields???</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/In-Data-model-Root-Transaction-why-does-Splunk-need-to-rename-my/m-p/369473#M5201</link>
      <description>&lt;P&gt;Say if I have a DataModel1.RootEvent1 set up, with fields extracted:&lt;BR /&gt;
- Extracted1&lt;BR /&gt;
- Extracted2&lt;/P&gt;

&lt;P&gt;then I adds a transaction data set DataModel1.RootTransaction1, with settings like maxspan=30, etc.&lt;/P&gt;

&lt;P&gt;Then if I search:&lt;BR /&gt;
    |from datamodel:Datamodel1.RootTransaction1&lt;BR /&gt;
The events return will not have "Extracted1" field, but only "RootTransaction1.Extracted1" field!&lt;/P&gt;

&lt;P&gt;My question is: Splunk must have some use case to rename fields in the RootEvent data set. What is the use case?&lt;BR /&gt;
If not, can this renaming behaviour just be removed?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 07:36:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/In-Data-model-Root-Transaction-why-does-Splunk-need-to-rename-my/m-p/369473#M5201</guid>
      <dc:creator>leonjxtan</dc:creator>
      <dc:date>2017-06-23T07:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: In Data model, Root Transaction, why does Splunk need to rename my Root Event fields???</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/In-Data-model-Root-Transaction-why-does-Splunk-need-to-rename-my/m-p/369474#M5202</link>
      <description>&lt;P&gt;Hi @leonjxtan,&lt;/P&gt;

&lt;P&gt;This is an expected behavior of Splunk, as you are not accessing your raw events anymore, but the aggregated datamodel events. Think of the datamodel as sort of a "virtual layer" between your raw data and the search layer. You are searching for the data within the data model, so the fields will be prefixed with the data model name.&lt;/P&gt;

&lt;P&gt;If this is a problem, you can still use a rename command (or a macro) to remove the DM prefix from the field names:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rename "RootTransaction1.*" as *
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Jun 2017 08:42:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/In-Data-model-Root-Transaction-why-does-Splunk-need-to-rename-my/m-p/369474#M5202</guid>
      <dc:creator>DMohn</dc:creator>
      <dc:date>2017-06-23T08:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: In Data model, Root Transaction, why does Splunk need to rename my Root Event fields???</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/In-Data-model-Root-Transaction-why-does-Splunk-need-to-rename-my/m-p/369475#M5203</link>
      <description>&lt;P&gt;It just bugs me that this is not behavior for "Root Event", but only "Root Transaction". Both are Data Model data sets.&lt;/P&gt;

&lt;P&gt;Behavior is not consistent without obvious reasons behind.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 08:45:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/In-Data-model-Root-Transaction-why-does-Splunk-need-to-rename-my/m-p/369475#M5203</guid>
      <dc:creator>leonjxtan</dc:creator>
      <dc:date>2017-06-23T08:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: In Data model, Root Transaction, why does Splunk need to rename my Root Event fields???</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/In-Data-model-Root-Transaction-why-does-Splunk-need-to-rename-my/m-p/369476#M5204</link>
      <description>&lt;P&gt;You have to differenciate between event fields, that are present even before the data model aggregation is running (e.g. indexed extractions, "regular" field extractions) and fields that are created within the data model itself. &lt;/P&gt;

&lt;P&gt;You are running a field calculation in the data model (the transaction), hence this will not be a raw event field, but a data model field. &lt;/P&gt;

&lt;P&gt;So the behavior is not inconsistent, but expected - for the given reason.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 08:54:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/In-Data-model-Root-Transaction-why-does-Splunk-need-to-rename-my/m-p/369476#M5204</guid>
      <dc:creator>DMohn</dc:creator>
      <dc:date>2017-06-23T08:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: In Data model, Root Transaction, why does Splunk need to rename my Root Event fields???</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/In-Data-model-Root-Transaction-why-does-Splunk-need-to-rename-my/m-p/369477#M5205</link>
      <description>&lt;P&gt;you advised the reason is to "differentiate between event fields" and Transaction fields.&lt;BR /&gt;
Fine if that is the reason. &lt;BR /&gt;
but in the transaction search, only "RootTransaction1.Extracted1" field exist and "Extracted1" field is gone. What is there to be differentiate against, please? I would say nothing to differentiate from, at least nothing on search consumer's point of view. So why bother renaming?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 09:03:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/In-Data-model-Root-Transaction-why-does-Splunk-need-to-rename-my/m-p/369477#M5205</guid>
      <dc:creator>leonjxtan</dc:creator>
      <dc:date>2017-06-29T09:03:00Z</dc:date>
    </item>
  </channel>
</rss>

