<?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 How to ingest multiple line JSON in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-ingest-multiple-line-JSON/m-p/657235#M111279</link>
    <description>&lt;P&gt;I have a JSON file that is formatted like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "meta": {
        "serverTime": 1692112678688.699,
        "agentsReady": true,
        "status": "success",
        "token": "ABCDEFG",
        "user": {
            "userName": "username",
            "role": "ADMIN"
        }
    },
    "vulnerabilities": [
        {
            "id": "pcysys_linux_0.10000000",
            "creation_time": 1690581702599.0,
            "name": "name",
            "summary": "summary",
            "found_on": "Host: 10.10.10.10",
            "target": "Host",
            "target_id": "abcdefg",
            "port": 445,
            "protocol": "abc",
            "severity": 3.5,
            "priority": null,
            "insight": "this is the insight",
            "remediation": "this is the remediation"
        },
        {
            "id": "pcysys_linux_0.10000000",
            "creation_time": 1690581702599.0,
            "name": "name",
            "summary": "summary",
            "found_on": "Host: 10.10.10.10",
            "target": "Host",
            "target_id": "abcdefg",
            "port": 445,
            "protocol": "abc",
            "severity": 3.5,
            "priority": null,
            "insight": "this is the insight",
            "remediation": "this is the remediation"
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to ingest just the vulnerabilities. It works when I try it in Splunk UI but when I save it in my props.conf file it doesn't split it correctly and the id from one section gets appended to the end of the previous one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I am trying.&lt;/P&gt;&lt;P&gt;[sourcetype]&lt;BR /&gt;LINE_BREAKER = }(,[\r\n]+)&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;NO_BINARY_CHECK = 1&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2023 20:03:28 GMT</pubDate>
    <dc:creator>JayKay1980</dc:creator>
    <dc:date>2023-09-11T20:03:28Z</dc:date>
    <item>
      <title>How to ingest multiple line JSON</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-ingest-multiple-line-JSON/m-p/657235#M111279</link>
      <description>&lt;P&gt;I have a JSON file that is formatted like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "meta": {
        "serverTime": 1692112678688.699,
        "agentsReady": true,
        "status": "success",
        "token": "ABCDEFG",
        "user": {
            "userName": "username",
            "role": "ADMIN"
        }
    },
    "vulnerabilities": [
        {
            "id": "pcysys_linux_0.10000000",
            "creation_time": 1690581702599.0,
            "name": "name",
            "summary": "summary",
            "found_on": "Host: 10.10.10.10",
            "target": "Host",
            "target_id": "abcdefg",
            "port": 445,
            "protocol": "abc",
            "severity": 3.5,
            "priority": null,
            "insight": "this is the insight",
            "remediation": "this is the remediation"
        },
        {
            "id": "pcysys_linux_0.10000000",
            "creation_time": 1690581702599.0,
            "name": "name",
            "summary": "summary",
            "found_on": "Host: 10.10.10.10",
            "target": "Host",
            "target_id": "abcdefg",
            "port": 445,
            "protocol": "abc",
            "severity": 3.5,
            "priority": null,
            "insight": "this is the insight",
            "remediation": "this is the remediation"
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to ingest just the vulnerabilities. It works when I try it in Splunk UI but when I save it in my props.conf file it doesn't split it correctly and the id from one section gets appended to the end of the previous one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I am trying.&lt;/P&gt;&lt;P&gt;[sourcetype]&lt;BR /&gt;LINE_BREAKER = }(,[\r\n]+)&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;NO_BINARY_CHECK = 1&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 20:03:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-ingest-multiple-line-JSON/m-p/657235#M111279</guid>
      <dc:creator>JayKay1980</dc:creator>
      <dc:date>2023-09-11T20:03:28Z</dc:date>
    </item>
  </channel>
</rss>

