Splunk Search

HTTP Event Collector: automatic sourcetype detection

fiveturns
Engager

When using the HTTP Event Collector, is automatic sourcetype detection possible?

Every event at the moment appears to be getting "httpevent" as the source type. even though I'm not explicitly setting that sourcetype anywhere.

Has anybody managed to get the automatic detection working? Does anybody know if it's supported?

Tags (1)

hunters_splunk
Splunk Employee
Splunk Employee

Hi Fiveturns,

Yes, you can customize the sourcetype for HEC events. Please follow the instructions in the documentation here:
http://docs.splunk.com/Documentation/Splunk/6.6.0/Data/UsetheHTTPEventCollector#Configure_HTTP_Event...

Hope this helps.
Thanks!
Hunter

jpbaker22
Engager

I downvoted this post because did not address question

0 Karma

fiveturns
Engager

Hi Hunter,

The problem is I wanted splunk to perform auto source type detection based on the message. I know how to explicitly set the source type if I wanted to, and that seems to be what that article describes.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...