<?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: Using HEC with props.conf and transforms.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Using-HEC-with-props-conf-and-transforms-conf/m-p/343084#M63172</link>
    <description>&lt;P&gt;Please confirm the endpoint you are using to send data to HEC&lt;/P&gt;

&lt;P&gt;Are you using /services/collector or /services/collector/event or /services/collector/raw ?&lt;/P&gt;

&lt;P&gt;As per the universal forwarder wiki page &lt;A href="https://wiki.splunk.com/images/d/da/Splunk_EventProcessing_v19_0_UF_Indexer.png"&gt;https://wiki.splunk.com/images/d/da/Splunk_EventProcessing_v19_0_UF_Indexer.png&lt;/A&gt; JSON/event data goes via the structured parsing queue, raw data goes via the normal mechanism.&lt;/P&gt;

&lt;P&gt;The main diagram &lt;A href="https://wiki.splunk.com/File:Splunk_EventProcessing_v19_0_standalone.png"&gt;https://wiki.splunk.com/File:Splunk_EventProcessing_v19_0_standalone.png&lt;/A&gt; has not been updated yet but I can confirm from experience that the props/transforms will not work if your using /services/collector/event&lt;/P&gt;</description>
    <pubDate>Fri, 28 Sep 2018 23:14:20 GMT</pubDate>
    <dc:creator>gjanders</dc:creator>
    <dc:date>2018-09-28T23:14:20Z</dc:date>
    <item>
      <title>Using HEC with props.conf and transforms.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-HEC-with-props-conf-and-transforms-conf/m-p/343082#M63170</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I'm experiencing difficulty in discarding certain events while they're passing through my heavyweight forwarder layer. I'm attempting to do so using a props.conf and transforms.conf.&lt;/P&gt;

&lt;P&gt;The end to end traffic flow is architected in the following manner:&lt;/P&gt;

&lt;P&gt;Java log appender -&amp;gt; HEC (based on Heavyweight Forwarder) -&amp;gt; Indexer &amp;lt;-&amp;gt; Search Head&lt;/P&gt;

&lt;P&gt;The content of my props.conf is as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[_json]
pulldown_type = true
INDEXED_EXTRACTIONS = json
KV_MODE = none
category = Structured
TRANSFORMS-set = setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The content of my transforms.conf is as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = \"path\":\"\\\/status\”
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here's an example of a message of which I'm trying to filter:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"severity":"INFO","logger":"RL","thread":"omitted","message":{"path":"\/status","requestBody":null,"success":null,"query":null,"errorMessage":null,"startTime":"09:31:03.133","endTime":"09:31:03.133","httpMethod":"GET","operation":"StatusController.status","processingTime":0.0,"statusCode":0},"properties":{"start_time":"1524173463133","ua_family_version":"null.null","os_family":"omitted","customer_number":"omitted","requestID":"omitted","ua_family":"omitted","session_id":null,"device_family":"omitted","client_ip":"omitted","request_id":"omitted","os_family_version":"null.null"}}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After applying the props.conf and transforms.conf I've tried both restarted our Heavyweight Forwarders, as well as using the &lt;A href="http://splunk.domain/en-US/debug/refresh/"&gt;http://splunk.domain/en-US/debug/refresh/&lt;/A&gt; URL to reload the config, but the logs are still being indexed despite this. This makes me suspect that my props.conf or transforms.conf are incorrectly formatted.&lt;/P&gt;

&lt;P&gt;I've also tried completing this configuration directly at the Indexer but this has failed.&lt;/P&gt;

&lt;P&gt;Essentially my desired outcome is that I want any message which has the "path" key defined as "/status" to be routed to null, and not be indexed, while all other traffic is indexed successfully.&lt;/P&gt;

&lt;P&gt;If there's any assistance that could be offered in resolving this issue it would be greatly appreciated!&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 21:39:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-HEC-with-props-conf-and-transforms-conf/m-p/343082#M63170</guid>
      <dc:creator>gifkinsju</dc:creator>
      <dc:date>2018-04-19T21:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using HEC with props.conf and transforms.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-HEC-with-props-conf-and-transforms-conf/m-p/343083#M63171</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We got the same problem. I'm still waiting for support to come back on this issue. &lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:12:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-HEC-with-props-conf-and-transforms-conf/m-p/343083#M63171</guid>
      <dc:creator>laurent_</dc:creator>
      <dc:date>2018-09-28T08:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using HEC with props.conf and transforms.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-HEC-with-props-conf-and-transforms-conf/m-p/343084#M63172</link>
      <description>&lt;P&gt;Please confirm the endpoint you are using to send data to HEC&lt;/P&gt;

&lt;P&gt;Are you using /services/collector or /services/collector/event or /services/collector/raw ?&lt;/P&gt;

&lt;P&gt;As per the universal forwarder wiki page &lt;A href="https://wiki.splunk.com/images/d/da/Splunk_EventProcessing_v19_0_UF_Indexer.png"&gt;https://wiki.splunk.com/images/d/da/Splunk_EventProcessing_v19_0_UF_Indexer.png&lt;/A&gt; JSON/event data goes via the structured parsing queue, raw data goes via the normal mechanism.&lt;/P&gt;

&lt;P&gt;The main diagram &lt;A href="https://wiki.splunk.com/File:Splunk_EventProcessing_v19_0_standalone.png"&gt;https://wiki.splunk.com/File:Splunk_EventProcessing_v19_0_standalone.png&lt;/A&gt; has not been updated yet but I can confirm from experience that the props/transforms will not work if your using /services/collector/event&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 23:14:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-HEC-with-props-conf-and-transforms-conf/m-p/343084#M63172</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2018-09-28T23:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using HEC with props.conf and transforms.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-HEC-with-props-conf-and-transforms-conf/m-p/583838#M102818</link>
      <description>&lt;P&gt;If&amp;nbsp; with INDEXED_EXTRACTIONS=JSON,&amp;nbsp;indexed extraction is working intermittently then it's&amp;nbsp; possible that json HEC&amp;nbsp; event payload is more than 512KB. It's known issue for HEC that for indexed extraction `&lt;EM&gt;maxEventSize`&amp;nbsp;&lt;/EM&gt; is not honored hence max json payload is 512KB. Fixed in Splunk 9.0 and above.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 12:59:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-HEC-with-props-conf-and-transforms-conf/m-p/583838#M102818</guid>
      <dc:creator>hrawat</dc:creator>
      <dc:date>2023-04-19T12:59:51Z</dc:date>
    </item>
  </channel>
</rss>

