Splunk Search

Why are All indexes not showing up in the UI dropdown when sourcetype is set custom?

samsign
Engager

our app's addon's Inputs.config  the sourcetype is set to custom name and the index is set to default. shown in below image

samsign_0-1693343961586.png

 

In the Add_on install flow .. The UI drop down to pick indexes is showing fewer than what are available

samsign_1-1693344039461.png

For example below shown indexes are not showing in the list.

samsign_2-1693344303462.png

 

The one difference I see is .. these indexes are created with App "_cluster_admin" the other are "search" .. 

How do we enable search option in the available indexes ?

samsign_3-1693344417348.png

 

Labels (1)
0 Karma

samsign
Engager

@gcusello  Thanks for the response.  

As an app creater we don't have control on the Indexes available on the Splunk Cloud on user environment.  In App's Input.config we set the index= default.  

during the app install flow the configuration shows the new input stream  .. which index, it should assign to..  .. how can we achieve

  • ability to show up all available indexes in the drop down
  • If the desired index is not in the available list .. how can we enable user to  input  a string and trigger a search
  • If user don't want to pick a index then.. the default should be selected 

 

Hope you got the clarity on my ask. 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @samsign,

As I said you have three solutions:

Ciao.

Giuseppe

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @samsign,

I suppose that you are trying to add the index to an Heavy Forwarder and not on Indexer.

If this is your situation, it's normal becase Indexes aren't local on the HF.

You have two solutions:

  • manually modify the inputs.conf file by SSH,
  • create an empty local index on the HF that you can use only for this configuration.

Ciao.

Giuseppe

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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