Splunk Search

make the WAS app index independent

yannK
Splunk Employee
Splunk Employee

I do not want to use the index "websphere" for my data.
Instead of hardcoding index=websphere everywhere,
please use a macro that way we will be able to customize the index list.

example of macro : WAS_index
index=webshpere OR index=myindex OR index=myotherindex

0 Karma

vserebryany
New Member

I am not sure if this is a suggestion or already a solution. If the later I would very much like to see the more detailed explanation. I need to configure univ forwarders across number of cells and i need a flexible scriptable way of directing the inputs app to which index to send the data. Will macro work on UF 5.x. Thanks!

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...