Knowledge Management

How to apply calculated fields depending on used index?

iancorrea
Path Finder

I have 5 different apps with different index on each apps and with same sourcetypes every apps. I have different calculated fields every apps that has only "per app" permission and my 6th app will be my main app that will search all my index. How will I apply my calculated fields on my 6th app when i make a query of different index. To explain more further, i will have this example...

App1: index=app1
App2: index=app2
App3: index=app3
App4: index=app4
App5: index=app5

On my 6th app, if I search "index=app1", I need the calculated fields that I make on App1. Is there any way to solve this kind of problem?

PS: I cannot make the permission of my calculated fields to Global because it will overlap to other apps because the sourcetype is same on all apps. Thanks 😃

0 Karma

gcusello
Esteemed Legend

Hi iancorrea,
you could try to create a calculated field for each app from the original field with a different name (e.g. my_field_app1) with global access properties.
Then you could use, in the sixth app, the new calculated fields, eventually renaming them, in your searches.

Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Splunk Lantern | Spotlight on Security: Adoption Motions, War Stories, and More

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

Splunk Cloud | Empowering Splunk Administrators with Admin Config Service (ACS)

Greetings, Splunk Cloud Admins and Splunk enthusiasts! The Admin Configuration Service (ACS) team is excited ...

Tech Talk | One Log to Rule Them All

One log to rule them all: how you can centralize your troubleshooting with Splunk logs We know how important ...