All Apps and Add-ons

Splunk Add-on for Java Management Extensions: How to configure the add-on to write to the indexer instead of the search head?

splunkreal
Motivator

Hello guys,

I've this configuration in a test environment :

1 SEARCH HEAD < (dist. search) > 1 INDEXER

(no clustered environment)

I set up indexes on the indexer then I still added those (dummy) indexes on the search head for management reasons.

The problem is with the Splunk Add-on for Java Management Extensions (JMX) : it's still writing on the local index of the search head! How to tell it to write on the indexer instead?

Thanks!

* If this helps, please upvote or accept solution 🙂 *
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi realsplunk,
did you configured your Search Head to forward its logs to the Indexer?

  • [Settings -- Forward and Receiving]
  • Configure Forward -- New -- Indexer_IP:9997
  • Default Value for Forwarding
  • Splunk restart

After you can see to your Add-On to send logs the index you want.
Bye.
Giuseppe

splunkreal
Motivator

Good idea, thanks!

However where are then stored internal indexes?

* If this helps, please upvote or accept solution 🙂 *
0 Karma

aaraneta_splunk
Splunk Employee
Splunk Employee

Hi @realsplunk - Did cusello's answer help solve your question? If yes, please don't forget to click "Accept" below his answer to resolve this post. If no, please leave a comment with more feedback. Thanks.

0 Karma

splunkreal
Motivator

Hi Aareneta, I couldn't try it yet. Thanks.

* If this helps, please upvote or accept solution 🙂 *
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi realsplunk,
Splunk internal logs are stored in _internal index.
When Splunk doesn't find an index, it puts logs in index=main.
Every way, try this search
index=* sourcetype=yoursourcetype and verify if you have logs and in which index.
Bye.
Giuseppe

Get Updates on the Splunk Community!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...