Getting Data In

Newbie question: Push changes from UI to Indexers

ssdarkside2
Explorer

I used Azure/Splunk Enterprise deployment to set up Splunk on my Azure instance.

I then did this:

  1. Settings > Show All Settings
  2. Create an index via Settings > Indexes (Type: Events, ensured it is enabled)
  3. Create an HTTP Event Collector via Settings > Data Inputs > HTTP Event Collector
  4. Attempt to run a curl to the hec Public IP Address Azure Resource that was created

I get:

{"text":"Invalid token","code":4}

Based on what I was reading, I need to push the change out to the Indexers.

So here's my questions:

  • Can I do that through the UI?
  • Do I need to update each of the indexers manually?
  • Is there an alternative location for setting this up I am missing?

Thanks for helping a newbie!

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

When you set up HEC on the search head, Splunk added a stanza to inputs.conf for you.  Copy that stanza to indexes.conf in an app and install that app on your indexers (use the Cluster Manager if you have one).  All indexers should then have the same HEC settings.

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

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

When you set up HEC on the search head, Splunk added a stanza to inputs.conf for you.  Copy that stanza to indexes.conf in an app and install that app on your indexers (use the Cluster Manager if you have one).  All indexers should then have the same HEC settings.

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

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...