<?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 array not onbaording as expected in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/JSON-array-not-onbaording-as-expected/m-p/712484#M117679</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241379"&gt;@harryvdtol&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ive just tried that sample data and props config locally and it seems to work.&lt;/P&gt;&lt;P&gt;Please can you confirm the stanza name (the text between the [ and ]) in the props.conf and the sourcetype that this is indexed into Splunk as? These should match but want to double check as it looks like it hasnt applied the props.conf&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider accepting this answer or adding karma this answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2025 14:29:13 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2025-02-25T14:29:13Z</dc:date>
    <item>
      <title>JSON array not onbaording as expected</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-array-not-onbaording-as-expected/m-p/712477#M117678</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am having trouble onboaring json array data.&lt;BR /&gt;I read many contributions , but i still having troubles&lt;/P&gt;&lt;P&gt;This is the json array input&lt;/P&gt;&lt;P&gt;[{"Type":"SUGUpdates","SiteCode":"DS","SUGName":"Microsoft-W2KX-2025 2025-10-14 23:05:36","ArticleID":"5049994"},{"Type":"SUGUpdates","SiteCode":"CSA","SUGName":"Microsoft-W2KX-2025 2025-01-14 23:05:36","ArticleID":"5050008"},{"Type":"SUGUpdates","SiteCode":"CSA","SUGName":"Microsoft-W2KX-2025 2025-01-14 23:05:36","ArticleID":"5002674"},{"Type":"SUGUpdates","SiteCode":"CSA","SUGName":"Microsoft-W2KX-2025 2025-01-14 23:05:36","ArticleID":"5050525"},{"Type":"SUGUpdates","SiteCode":"CSA","SUGName":"Microsoft-W2KX-2025 2025-01-14 23:05:36","ArticleID":"5050525"}]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- My first attempt: i put a props.conf on the UF&lt;/P&gt;&lt;P&gt;DATETIME_CONFIG=CURRENT&lt;BR /&gt;SHOULD_LINEMERGE=false&lt;BR /&gt;LINE_BREAKER=([\r\n]+)&lt;BR /&gt;NO_BINARY_CHECK=true&lt;BR /&gt;INDEXED_EXTRACTIONS=json&lt;BR /&gt;KV_MODE=none&lt;BR /&gt;AUTO_KV_JSON = false&lt;BR /&gt;category=Structured&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The data was nicely split into separte json events, but the table command doubled the data.&lt;BR /&gt;Like this issues&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Cloud-Platform/Why-does-json-data-get-duplicated-after-tabling-the-events/m-p/587724" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Splunk-Cloud-Platform/Why-does-json-data-get-duplicated-after-tabling-the-events/m-p/587724&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Why-is-my-sourcetype-configuration-for-JSON-events-with-INDEXED/td-p/188551?_ga=2.153916656.937356172.1646061092-893813366.1631658459" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Getting-Data-In/Why-is-my-sourcetype-configuration-for-JSON-events-with-INDEXED/td-p/188551?_ga=2.153916656.937356172.1646061092-893813366.1631658459&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="doubble.jpg" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/34698i3A3325C192450B75/image-size/medium?v=v2&amp;amp;px=400" role="button" title="doubble.jpg" alt="doubble.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;- Then i moved the props.conf into the index-cluster&lt;BR /&gt;Now the _raw event is the same as the input array, and not splitted ito separated json events, like this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="not_extracted_2.jpg" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/34699iF6A8E774C8DABB9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="not_extracted_2.jpg" alt="not_extracted_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="not_extracted.jpg" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/34700i27681D8347A2A8F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="not_extracted.jpg" alt="not_extracted.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I have to use spath commad during search as workaround.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So I can workaround the issue, but I 'd rather import the data correctly&lt;/P&gt;&lt;P&gt;Where do i go wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help is appreciated.&lt;BR /&gt;&lt;BR /&gt;Reagrds,&lt;BR /&gt;&lt;BR /&gt;Harry&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 14:13:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-array-not-onbaording-as-expected/m-p/712477#M117678</guid>
      <dc:creator>harryvdtol</dc:creator>
      <dc:date>2025-02-25T14:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: JSON array not onbaording as expected</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-array-not-onbaording-as-expected/m-p/712484#M117679</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241379"&gt;@harryvdtol&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ive just tried that sample data and props config locally and it seems to work.&lt;/P&gt;&lt;P&gt;Please can you confirm the stanza name (the text between the [ and ]) in the props.conf and the sourcetype that this is indexed into Splunk as? These should match but want to double check as it looks like it hasnt applied the props.conf&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider accepting this answer or adding karma this answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 14:29:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-array-not-onbaording-as-expected/m-p/712484#M117679</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-02-25T14:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: JSON array not onbaording as expected</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-array-not-onbaording-as-expected/m-p/712494#M117680</link>
      <description>&lt;P&gt;Hi WIl,&lt;BR /&gt;&lt;BR /&gt;For the confirmation&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;On UF&lt;/P&gt;&lt;P&gt;- inputs.conf&lt;BR /&gt;[monitor://C:\beheer\SCCM\abc*.txt]&lt;BR /&gt;index=main&lt;BR /&gt;sourcetype=Windows:SCCM:KBNummers&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ON Index-cluster&lt;BR /&gt;- props.conf&lt;BR /&gt;[Windows:SCCM:KBNummers]&lt;BR /&gt;DATETIME_CONFIG=CURRENT&lt;BR /&gt;SHOULD_LINEMERGE=false&lt;BR /&gt;LINE_BREAKER=([\r\n]+)&lt;BR /&gt;NO_BINARY_CHECK=true&lt;BR /&gt;INDEXED_EXTRACTIONS=json&lt;BR /&gt;KV_MODE=none&lt;BR /&gt;AUTO_KV_JSON = false&lt;BR /&gt;category=Structured&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- Input file&lt;/P&gt;&lt;P&gt;[{"Type":"SUGUpdates","SiteCode":"DS","SUGName":"Microsoft-W2K5 4020-30-30 31:05:36","ArticleID":"5049994"},{"Type":"SUGUpdates","SiteCode":"CSA","SUGName":"Microsoft-W2KX-2025 2025-01-14 23:05:36","ArticleID":"5050008"},{"Type":"SUGUpdates","SiteCode":"CSA","SUGName":"Microsoft-W2KX-2025 2025-01-14 23:05:36","ArticleID":"5002674"},{"Type":"SUGUpdates","SiteCode":"CSA","SUGName":"Microsoft-W2KX-2025 2025-01-14 23:05:36","ArticleID":"5050525"},{"Type":"SUGUpdates","SiteCode":"CSA","SUGName":"Microsoft-W2KX-2025 2025-01-14 23:05:36","ArticleID":"5050525"}]&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="not_extracted_3.jpg" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/34701i53154BEB1C1397AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="not_extracted_3.jpg" alt="not_extracted_3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Reagrds,&lt;BR /&gt;&lt;BR /&gt;Harry&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 16:07:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-array-not-onbaording-as-expected/m-p/712494#M117680</guid>
      <dc:creator>harryvdtol</dc:creator>
      <dc:date>2025-02-25T16:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: JSON array not onbaording as expected</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-array-not-onbaording-as-expected/m-p/740678#M117745</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I decided to let go on JSON file&lt;BR /&gt;In stead i receive a simple txt file now, whcih works better&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for you help.&lt;BR /&gt;&lt;BR /&gt;Harry&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 06:02:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-array-not-onbaording-as-expected/m-p/740678#M117745</guid>
      <dc:creator>harryvdtol</dc:creator>
      <dc:date>2025-03-04T06:02:42Z</dc:date>
    </item>
  </channel>
</rss>

