<?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: Read JSON in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Read-JSON/m-p/550640#M91428</link>
    <description>&lt;P&gt;Please share your current props.conf settings and the results you get using them.&lt;/P&gt;</description>
    <pubDate>Thu, 06 May 2021 13:01:50 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-05-06T13:01:50Z</dc:date>
    <item>
      <title>Read JSON</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Read-JSON/m-p/550620#M91424</link>
      <description>&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;Hi, I'm new to Splunk.
How do I have to set the props.conf in the indexer so that my JSON reads correctly?
I would like to have the fields: LOGTIME, CMDBID, RunID and Msg per event.&lt;BR /&gt;[{"LOGTIME" : "06-05-2021 11:27:12","CMDBID" : "TEST","RunID" : "356166995","Msg" : "************************************************************************&lt;BR /&gt;** ucxja64m version 12.2.0+build.2108 changelist 1530016094 **&lt;BR /&gt;** JOB 356166995 (ProcID:0012059010) START AT 04.05.2021 / 15:48:42 **&lt;BR /&gt;** UTC TIME 04.05.2021 / 13:48:42 **&lt;BR /&gt;** TEXT= Job started **&lt;BR /&gt;************************************************************************&lt;BR /&gt;total 72&lt;BR /&gt;drwxr-xr-x 11 utpuc4 utpuc4 8192 May 04 12:15 .&lt;BR /&gt;drwxr-xr-x 3 utxuc4 utxuc4 256 Aug 04 2020 ..&lt;BR /&gt;-rw------- 1 utpuc4 utpuc4 8546 Apr 27 13:02 .bash_history&lt;BR /&gt;drwxr-x--- 2 utpuc4 utpuc4 4096 Apr 27 10:38 .histfiles&lt;BR /&gt;-rw-r--r-- 1 utpuc4 utpuc4 0 Nov 06 2019 .lesshsQ&lt;BR /&gt;-rw------- 1 utpuc4 utpuc4 47 Mar 14 2019 .lesshst&lt;BR /&gt;-rw-r----- 1 utpuc4 utpuc4 1727 Aug 19 2019 .profile&lt;BR /&gt;drwx------ 2 utpuc4 utpuc4 256 Dec 23 2019 .ssh&lt;BR /&gt;drwxr-x--- 3 utpuc4 utpuc4 256 Aug 31 2018 CAPKI&lt;BR /&gt;drwxr-xr-x 6 utpuc4 utpuc4 256 Aug 20 2020 V12.3.3_2020-08-18&lt;BR /&gt;drwxr-x--- 6 utpuc4 utpuc4 256 Aug 30 2018 V122_HF1&lt;BR /&gt;drwxr-xr-x 2 utpuc4 utpuc4 256 Sep 04 2018 archive&lt;BR /&gt;lrwxrwxrwx 1 utpuc4 utpuc4 23 Jan 31 2019 global -&amp;gt; /var/uc4/uc4global/prod&lt;BR /&gt;lrwxrwxrwx 1 utpuc4 utpuc4 28 Sep 13 2018 java8_64 -&amp;gt; /opt/java/java8_64_8.0.0.521&lt;BR /&gt;lrwxrwxrwx 1 utpuc4 utpuc4 11 Sep 04 2018 latest -&amp;gt; ./V122_HF1/&lt;BR /&gt;drwxr-xr-x 2 utpuc4 utpuc4 256 Jul 13 2018 lost+found&lt;BR /&gt;drwxr-xr-x 3 utpuc4 utpuc4 256 Sep 03 2018 network&lt;BR /&gt;-rw------- 1 utpuc4 utpuc4 0 Aug 03 2020 nohup.out&lt;BR /&gt;drwxr-xr-x 7 utpuc4 utpuc4 256 Feb 17 2020 share&lt;BR /&gt;************************************************************************&lt;BR /&gt;** ucxja64m version 12.2.0+build.2108 changelist 1530016094 **&lt;BR /&gt;** JOB 356166995 (ProcID:0012059010) ENDED AT 04.05.2021 / 15:48:42 **&lt;BR /&gt;** UTC TIME 04.05.2021 / 13:48:42 **&lt;BR /&gt;** TEXT= Job ended RETCODE=00 **&lt;BR /&gt;************************************************************************&lt;BR /&gt;"},&lt;BR /&gt;{"LOGTIME" : "06-05-2021 11:27:12","CMDBID" : "TEST","RunID" : "356178213","Msg" : "************************************************************************&lt;BR /&gt;** ucxja64m version 12.2.0+build.2108 changelist 1530016094 **&lt;BR /&gt;** JOB 356178213 (ProcID:0023593346) START AT 04.05.2021 / 15:49:53 **&lt;BR /&gt;** UTC TIME 04.05.2021 / 13:49:53 **&lt;BR /&gt;** TEXT= Job started **&lt;BR /&gt;************************************************************************&lt;BR /&gt;total 72&lt;BR /&gt;drwxr-xr-x 11 utpuc4 utpuc4 8192 May 04 12:15 .&lt;BR /&gt;drwxr-xr-x 3 utxuc4 utxuc4 256 Aug 04 2020 ..&lt;BR /&gt;-rw------- 1 utpuc4 utpuc4 8546 Apr 27 13:02 .bash_history&lt;BR /&gt;drwxr-x--- 2 utpuc4 utpuc4 4096 Apr 27 10:38 .histfiles&lt;BR /&gt;-rw-r--r-- 1 utpuc4 utpuc4 0 Nov 06 2019 .lesshsQ&lt;BR /&gt;-rw------- 1 utpuc4 utpuc4 47 Mar 14 2019 .lesshst&lt;BR /&gt;-rw-r----- 1 utpuc4 utpuc4 1727 Aug 19 2019 .profile&lt;BR /&gt;drwx------ 2 utpuc4 utpuc4 256 Dec 23 2019 .ssh&lt;BR /&gt;drwxr-x--- 3 utpuc4 utpuc4 256 Aug 31 2018 CAPKI&lt;BR /&gt;drwxr-xr-x 6 utpuc4 utpuc4 256 Aug 20 2020 V12.3.3_2020-08-18&lt;BR /&gt;drwxr-x--- 6 utpuc4 utpuc4 256 Aug 30 2018 V122_HF1&lt;BR /&gt;drwxr-xr-x 2 utpuc4 utpuc4 256 Sep 04 2018 archive&lt;BR /&gt;lrwxrwxrwx 1 utpuc4 utpuc4 23 Jan 31 2019 global -&amp;gt; /var/uc4/uc4global/prod&lt;BR /&gt;lrwxrwxrwx 1 utpuc4 utpuc4 28 Sep 13 2018 java8_64 -&amp;gt; /opt/java/java8_64_8.0.0.521&lt;BR /&gt;lrwxrwxrwx 1 utpuc4 utpuc4 11 Sep 04 2018 latest -&amp;gt; ./V122_HF1/&lt;BR /&gt;drwxr-xr-x 2 utpuc4 utpuc4 256 Jul 13 2018 lost+found&lt;BR /&gt;drwxr-xr-x 3 utpuc4 utpuc4 256 Sep 03 2018 network&lt;BR /&gt;-rw------- 1 utpuc4 utpuc4 0 Aug 03 2020 nohup.out&lt;BR /&gt;drwxr-xr-x 7 utpuc4 utpuc4 256 Feb 17 2020 share&lt;BR /&gt;************************************************************************&lt;BR /&gt;** ucxja64m version 12.2.0+build.2108 changelist 1530016094 **&lt;BR /&gt;** JOB 356178213 (ProcID:0023593346) ENDED AT 04.05.2021 / 15:49:53 **&lt;BR /&gt;** UTC TIME 04.05.2021 / 13:49:53 **&lt;BR /&gt;** TEXT= Job ended RETCODE=00 **&lt;BR /&gt;************************************************************************&lt;BR /&gt;"}]&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 09:48:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Read-JSON/m-p/550620#M91424</guid>
      <dc:creator>bardill</dc:creator>
      <dc:date>2021-05-06T09:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Read JSON</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Read-JSON/m-p/550640#M91428</link>
      <description>&lt;P&gt;Please share your current props.conf settings and the results you get using them.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 13:01:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Read-JSON/m-p/550640#M91428</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-05-06T13:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Read JSON</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Read-JSON/m-p/550776#M91443</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;he break all lines?&lt;/P&gt;&lt;P&gt;this is the props.conf on the indexer&lt;/P&gt;&lt;P&gt;[automic_itil]&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;KV_MODE = NONE&lt;BR /&gt;INDEXED_EXTRACTIONS = JSON&lt;BR /&gt;LINE_BREAKER = \{\"LOGTIME&lt;BR /&gt;TIME_PREFIX = LOGTIME\"\s\:\s\"&lt;BR /&gt;TIME_FORMAT = %Y-%m-%d %H:%M:%S&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bardill_0-1620381030546.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14081iA9AD96F7C9682A36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bardill_0-1620381030546.png" alt="bardill_0-1620381030546.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 09:51:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Read-JSON/m-p/550776#M91443</guid>
      <dc:creator>bardill</dc:creator>
      <dc:date>2021-05-07T09:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Read JSON</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Read-JSON/m-p/550843#M91457</link>
      <description>&lt;P&gt;Verify the data is valid JSON.&amp;nbsp; Splunk won't extract events from imperfect JSON events.&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 14:23:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Read-JSON/m-p/550843#M91457</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-05-07T14:23:20Z</dc:date>
    </item>
  </channel>
</rss>

