<?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 payloads not getting indexed into Splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/JSON-payloads-not-getting-indexed-into-Splunk/m-p/515797#M87341</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221"&gt;@to4kawa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Do you reckon it resolves my issue ? By moving SEDCMDs after INDEXED_EXTRACTIONS=json&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am not sure if my conf is wrong as I picked it from other Splunk answers blog. It works for me except the issue I raised in this ticket.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2020 13:54:45 GMT</pubDate>
    <dc:creator>nareshinsvu</dc:creator>
    <dc:date>2020-08-24T13:54:45Z</dc:date>
    <item>
      <title>JSON payloads not getting indexed into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-payloads-not-getting-indexed-into-Splunk/m-p/515701#M87318</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Below is my props.conf on my Heavy Forwarder. I have recently found that there are few JSON messages completely missed getting indexed into Splunk. It's a high transaction system.&lt;/P&gt;&lt;P&gt;When I actually check my source json logs, eg: out of 10 json payloads, 1-2 doesn't get indexed. But all the 10 json payloads are having similar content and same number of lines&lt;/P&gt;&lt;P&gt;[dp_json]&lt;BR /&gt;SEDCMD-strip_prefix = s/^[^{]+//g&lt;BR /&gt;SEDCMD-dumpxml = s/(\&amp;lt;|\&amp;gt;\\r\\n).*//g&lt;BR /&gt;SEDCMD-remove = s/\"(shippingAddress)\"\s+\:\s+{[\s\S]*?(?=\n.*?{)//g&lt;BR /&gt;INDEXED_EXTRACTIONS=JSON&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;category = Custom&lt;BR /&gt;description = dp_json_custom&lt;BR /&gt;disabled = false&lt;BR /&gt;pulldown_type = true&lt;BR /&gt;DATETIME_CONFIG = CURRENT&lt;BR /&gt;TRUNCATE = 100000&lt;BR /&gt;MAX_EVENTS = 10000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't troubleshoot the splunkd.log on forwarder because I continuously get below messages in it. I can't ask the source application system to change the json payload message to rectify this error. So, I am living with this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;08-24-2020 13:19:52.474 +1000 ERROR JsonLineBreaker - JSON StreamId:10360380474397151566 had parsing error:Unexpected character while looking for value: 'a' - data_source="D:\Logs\myjson.log", data_host="myjsonhost", data_sourcetype="dp_json"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to get notifications if any events are missed indexing?&lt;/P&gt;&lt;P&gt;Hope someone would ve faced same issue. Need urgent resolution as we don't want to miss any data in Splunk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 06:57:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-payloads-not-getting-indexed-into-Splunk/m-p/515701#M87318</guid>
      <dc:creator>nareshinsvu</dc:creator>
      <dc:date>2020-08-24T06:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: JSON payloads not getting indexed into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-payloads-not-getting-indexed-into-Splunk/m-p/515714#M87321</link>
      <description>&lt;P&gt;INDEXED_EXTRACTIONS=json can work&amp;nbsp;&lt;STRONG&gt;before&lt;/STRONG&gt; SEDCMD.&lt;BR /&gt;INDEXED_EXTRACTIONS works for &lt;STRONG&gt;valid&lt;/STRONG&gt; JSON.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I'm surprised your setup is working properly.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 08:30:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-payloads-not-getting-indexed-into-Splunk/m-p/515714#M87321</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-08-24T08:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: JSON payloads not getting indexed into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-payloads-not-getting-indexed-into-Splunk/m-p/515797#M87341</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221"&gt;@to4kawa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Do you reckon it resolves my issue ? By moving SEDCMDs after INDEXED_EXTRACTIONS=json&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am not sure if my conf is wrong as I picked it from other Splunk answers blog. It works for me except the issue I raised in this ticket.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 13:54:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-payloads-not-getting-indexed-into-Splunk/m-p/515797#M87341</guid>
      <dc:creator>nareshinsvu</dc:creator>
      <dc:date>2020-08-24T13:54:45Z</dc:date>
    </item>
  </channel>
</rss>

