<?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 Java Sending JSOn object to HEC in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Java-Sending-JSOn-object-to-HEC/m-p/528467#M9464</link>
    <description>&lt;P&gt;Sending json events and log events to HEC in using Java Logback, and Log4j matches the format found in application log files.&lt;/P&gt;&lt;P&gt;How do I send JSON data to Splunk hec and not see the fields logger, message, severity, thread, time in there?&lt;/P&gt;&lt;P&gt;For example, if my json object is {id:1234, type:issue, {field1:Val1, field2:Val2}},&lt;/P&gt;&lt;P&gt;how do i get it into Splunk HEC without seeing it in my index as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  logger:SPLUNK,
  severity:INFO,
  thread:main,
  time:160486996.996,
  message:{id:1234, type:issue, {field1:Val1, field2:Val2}}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Nov 2020 03:08:28 GMT</pubDate>
    <dc:creator>spammenot66</dc:creator>
    <dc:date>2020-11-09T03:08:28Z</dc:date>
    <item>
      <title>Java Sending JSOn object to HEC</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Java-Sending-JSOn-object-to-HEC/m-p/528467#M9464</link>
      <description>&lt;P&gt;Sending json events and log events to HEC in using Java Logback, and Log4j matches the format found in application log files.&lt;/P&gt;&lt;P&gt;How do I send JSON data to Splunk hec and not see the fields logger, message, severity, thread, time in there?&lt;/P&gt;&lt;P&gt;For example, if my json object is {id:1234, type:issue, {field1:Val1, field2:Val2}},&lt;/P&gt;&lt;P&gt;how do i get it into Splunk HEC without seeing it in my index as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  logger:SPLUNK,
  severity:INFO,
  thread:main,
  time:160486996.996,
  message:{id:1234, type:issue, {field1:Val1, field2:Val2}}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 03:08:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Java-Sending-JSOn-object-to-HEC/m-p/528467#M9464</guid>
      <dc:creator>spammenot66</dc:creator>
      <dc:date>2020-11-09T03:08:28Z</dc:date>
    </item>
  </channel>
</rss>

