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!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...