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

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...