Getting Data In

Any idea why I cam getting global config errors in my HEC config?

daniel333
Builder

All,

I have the following inputs.conf on a clean install of Splunk. But when I restart the instance I get a message that says "All the tokens are currently disabled. They can be enabled in the Global Settings." What config am I missing here?

# inputs.conf
[http://pcf]
  disabled = 0
  index = pcf
  indexes = pcf
  token = aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaa

[http]
  disabled = 0
Tags (3)
0 Karma

maciep
Champion

did you create that inputs.conf manually? if so, in what directory? my guess is that your disabled=0 setting is in conflict with a disabled=1 somewhere else...and losing.

This could help you track it down, but I think HEC settings may get a little convoluted.

/opt/splunk/bin/splunk btool inputs list http --debug | grep disabled

It might be worth putting your inputs.conf in /opt/splunk/etc/apps/splunk_http/local ... or maybe at least enabling the http stanza there?

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 ...