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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...