Getting Data In

Configure Universal forwarder to monitor a file and send to splunk cloud via HEC

brat_1990
Engager

Configure Universal forwarder to monitor a file and send to splunk cloud via HEC.
By using curl, I'm able to hit the splunk cloud and I'm able to see the result but not sure how to configure Universal forwarder.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

See https://docs.splunk.com/Documentation/Forwarder/9.1.2/Forwarder/Configureforwardingwithoutputs.conf#... for the settings to use to send HEC from a UF.

---
If this reply helps you, Karma would be appreciated.
0 Karma

brat_1990
Engager

Hi @richgalloway , thanks for replying but even after following the mentioned steps it is not working.

[httpout]
httpEventCollectorToken = $...=
uri = https://xxx.splunkcloud.com:8088

am i missing anything here?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please elaborate on "it is not working".  What results are expecting and what results do you get?  Are you seeing anything at all from the UF in Splunk Cloud or is it just the monitored file that you don't find?  How are you checking for the data?  Have you looked at splunkd.log on the UF for clues?

I have edited your last reply to remove information anyone could have used to send random data to your Splunk Cloud instance.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...