<?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: How do I strip the namespace of JSON fields? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-strip-the-namespace-of-JSON-fields/m-p/377205#M68260</link>
    <description>&lt;P&gt;@ddrillic&lt;/P&gt;

&lt;P&gt;Can you please share some sample data?&lt;/P&gt;</description>
    <pubDate>Tue, 18 Sep 2018 15:13:50 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2018-09-18T15:13:50Z</dc:date>
    <item>
      <title>How do I strip the namespace of JSON fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-strip-the-namespace-of-JSON-fields/m-p/377204#M68259</link>
      <description>&lt;P&gt;Based on &lt;A href="https://answers.splunk.com/answers/635713/how-to-assign-a-field-alias-to-a-json-field.html"&gt;How to assign a field alias to a json field?&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;We ended up with large blocks as -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;FIELDALIAS-alias0 = "apiRequest.reqInfo.clientID" AS clientID
FIELDALIAS-alias1 = "apiRequest.reqHeader.appContext" AS appContext
FIELDALIAS-alias2 = "apiRequest.reqHeader.dob" AS dob
FIELDALIAS-alias3 = "apiRequest.reqHeader.encryptedUserName" AS encryptedUserName
FIELDALIAS-alias4 = "apiRequest.reqHeader.firstName" AS firstName
FIELDALIAS-alias5 = "apiRequest.reqHeader.lastName" AS lastName
FIELDALIAS-alias6 = "apiRequest.reqHeader.memberId" AS memberId
....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is there a way to strip the JSON namespace of the fields instead of aliasing each one of them as we do above?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:03:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-strip-the-namespace-of-JSON-fields/m-p/377204#M68259</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-09-18T15:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I strip the namespace of JSON fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-strip-the-namespace-of-JSON-fields/m-p/377205#M68260</link>
      <description>&lt;P&gt;@ddrillic&lt;/P&gt;

&lt;P&gt;Can you please share some sample data?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:13:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-strip-the-namespace-of-JSON-fields/m-p/377205#M68260</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2018-09-18T15:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I strip the namespace of JSON fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-strip-the-namespace-of-JSON-fields/m-p/377206#M68261</link>
      <description>&lt;P&gt;Have a look at this&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/588790/field-alias-or-batch-renaming-with-wildcard.html"&gt;https://answers.splunk.com/answers/588790/field-alias-or-batch-renaming-with-wildcard.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:40:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-strip-the-namespace-of-JSON-fields/m-p/377206#M68261</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-09-18T15:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I strip the namespace of JSON fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-strip-the-namespace-of-JSON-fields/m-p/377207#M68262</link>
      <description>&lt;P&gt;Much appreciated @somesoni2 !!!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:45:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-strip-the-namespace-of-JSON-fields/m-p/377207#M68262</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-09-18T15:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I strip the namespace of JSON fields?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-strip-the-namespace-of-JSON-fields/m-p/377208#M68263</link>
      <description>&lt;P&gt;Our sales engineer said -&lt;/P&gt;

&lt;P&gt;Unfortunately, the FIELDALIAS stanza in &lt;CODE&gt;props.conf&lt;/CODE&gt; cannot accept wildcards. You’d have to write a custom field extraction (though this is pretty trivial) and give-up the automatic field extractions Splunk performs on the JSON structure.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:46:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-strip-the-namespace-of-JSON-fields/m-p/377208#M68263</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-09-18T15:46:25Z</dc:date>
    </item>
  </channel>
</rss>

