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!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...