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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...