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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

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