Splunk Enterprise

How to view the Indexes.conf parameters from a SPL statement?

itsmevic
Communicator

Hello Splunkers! 

     How would one view the parameters of the indexes.conf by using a SPL statement?  The below SPL statement doesn't seem to work.  Any help is greatly appreciated! 

| rest splunk_server=<hostname>/services/configs/conf-indexes
| transpose

Labels (1)
Tags (1)
0 Karma

m_pham
Splunk Employee
Splunk Employee

I copied your SPL and it didn't have a space between the endpoint and splunk_server values. Can you try this?

| rest splunk_server=<my_hosts> /services/configs/conf-indexes
0 Karma

Stefanie
Builder

The query works for me. Are you putting a space between the hostname and /services/configs/conf-indexes? 

 

Maybe another option is to use the commandline and use btool? 

$SPLUNK_HOME/bin/splunk btool indexes list

 

itsmevic
Communicator

Let me try the query again, maybe I fat-fingered it.  

0 Karma

itsmevic
Communicator

I would totally agree with you on any other occasion; however,  If I had access to the backend, I def would be running your CLI suggestion, but I do not, so I need to do this through the front end.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...