<?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: JSON fields duplicating in new Splunk Cloud instance. in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/JSON-fields-duplicating-in-new-Splunk-Cloud-instance/m-p/695131#M3178</link>
    <description>&lt;P&gt;Our partner had me delete the &lt;STRONG&gt;props.conf&lt;/STRONG&gt; file on the Universal Forwarder and that seems to have solved the issue. I still don't understand &lt;EM&gt;why&lt;/EM&gt;&amp;nbsp; the &lt;STRONG&gt;_json&lt;/STRONG&gt; type works correctly while a copy of the &lt;STRONG&gt;_json&lt;/STRONG&gt; type does not, but for now this issue is resolved.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2024 20:23:06 GMT</pubDate>
    <dc:creator>mpeterson</dc:creator>
    <dc:date>2024-08-02T20:23:06Z</dc:date>
    <item>
      <title>JSON fields duplicating in new Splunk Cloud instance.</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/JSON-fields-duplicating-in-new-Splunk-Cloud-instance/m-p/694731#M3162</link>
      <description>&lt;P&gt;I am trying to ingest some json data into a new Splunk Cloud instance, with a custom sourcetype, but I keep getting duplicate data in the search results. This seems to be an extremely common problem, based on the number of old posts, but none of them seem to address the Cloud version.&lt;/P&gt;&lt;P&gt;I have a JSON file that looks like this:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"RowNumber": 1,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"ApplicationName": "177525278",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"ClientProcessID": 114889,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"DatabaseName": "1539703986", &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"StartTime": "2024-07-30 12:15:13"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have a Windows 2022 server with a 9.2.2 universal forwarder installed.&lt;/LI&gt;&lt;LI&gt;I manually added a very simple app to the&amp;nbsp;&lt;SPAN&gt;C:\Program Files\SplunkUniversalForwarder\etc\apps folder.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;inputs.conf&lt;/STRONG&gt; contains this monitor&lt;BR /&gt;[batch://C:\splunk_test_files\ErrorMaster\*.json]&lt;BR /&gt;move_policy=sinkhole&lt;BR /&gt;index=centraladmin_errormaster&lt;BR /&gt;sourcetype=errormaster&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt; contains this type&amp;nbsp; (copied from _json)&lt;BR /&gt;[errormaster]&lt;BR /&gt;pulldown_type = true&lt;BR /&gt;INDEXED_EXTRACTIONS = json&lt;BR /&gt;KV_MODE = none&lt;BR /&gt;category = Structured&lt;BR /&gt;description = JavaScript Object Notation format. For more information, visit &lt;A href="http://json.org/" target="_blank" rel="noopener"&gt;http://json.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;On the cloud side I created (from the UI) a new sourcetype called 'errormaster' as just a direct clone of the existing _json type.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;When I add a .json file to the folder, it is ingested and the events show up in the cloud instance, under the right correct centraladmin_errormaster index, and with the sourcetype=errormaster.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, the fields all have duplicate values.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpeterson_1-1722373214417.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31979i4D60ACE65B69B53E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpeterson_1-1722373214417.png" alt="mpeterson_1-1722373214417.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it switch it to the built-in _json type it works fine. I have some field extractions I want to add, which is why I wanted a custom type.&lt;/P&gt;&lt;P&gt;I'm guessing this is something obvious to the Cloud experts, but I am an accidental Splunk Admin with very little experience, so any help you can offer would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 21:08:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/JSON-fields-duplicating-in-new-Splunk-Cloud-instance/m-p/694731#M3162</guid>
      <dc:creator>mpeterson</dc:creator>
      <dc:date>2024-07-30T21:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: JSON fields duplicating in new Splunk Cloud instance.</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/JSON-fields-duplicating-in-new-Splunk-Cloud-instance/m-p/695131#M3178</link>
      <description>&lt;P&gt;Our partner had me delete the &lt;STRONG&gt;props.conf&lt;/STRONG&gt; file on the Universal Forwarder and that seems to have solved the issue. I still don't understand &lt;EM&gt;why&lt;/EM&gt;&amp;nbsp; the &lt;STRONG&gt;_json&lt;/STRONG&gt; type works correctly while a copy of the &lt;STRONG&gt;_json&lt;/STRONG&gt; type does not, but for now this issue is resolved.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 20:23:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/JSON-fields-duplicating-in-new-Splunk-Cloud-instance/m-p/695131#M3178</guid>
      <dc:creator>mpeterson</dc:creator>
      <dc:date>2024-08-02T20:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: JSON fields duplicating in new Splunk Cloud instance.</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/JSON-fields-duplicating-in-new-Splunk-Cloud-instance/m-p/695135#M3179</link>
      <description>&lt;P&gt;This behaviour is typically a result of having both INDEXED_EXTRACTIONS as well as search-time extractions active. Can't say what your effective config is so don't know for sure why it's happening.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 20:58:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/JSON-fields-duplicating-in-new-Splunk-Cloud-instance/m-p/695135#M3179</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-08-02T20:58:44Z</dc:date>
    </item>
  </channel>
</rss>

