Getting Data In

Overwrite App-default EVAL in props.conf with FieldAlias

Mockjin
Explorer

Hello *

how can i overwrite the default eval definition for field app in props.conf?

default/props.conf

 

...
EVAL-app = "Blue Coat ProxySG"
...

 

I try to overwrite this field with following in local/props.conf

 

...
FIELDALIAS-app             = x_bluecoat_application_name as app
...

 

We use a distributed Environment so i changed this in SH and HF app. But no change to the results.

What am i doing wrong?

Labels (3)
0 Karma
1 Solution

venkatasri
SplunkTrust
SplunkTrust

Hi @Mockjin 

As per precedence EVAL executes after FIELDALIAS hence though you created a alias as 'app' same is being overridden with EVAL-* expression in default/ dir.

Can you try this in local/props.conf and deploy the changes to SH and restart.

EVAL-app = x_bluecoat_application_name

----

An upvote would be appreciated and Accept solution if this reply helps !

 

View solution in original post

0 Karma

venkatasri
SplunkTrust
SplunkTrust

Hi @Mockjin 

As per precedence EVAL executes after FIELDALIAS hence though you created a alias as 'app' same is being overridden with EVAL-* expression in default/ dir.

Can you try this in local/props.conf and deploy the changes to SH and restart.

EVAL-app = x_bluecoat_application_name

----

An upvote would be appreciated and Accept solution if this reply helps !

 

0 Karma

Mockjin
Explorer

Hi @venkatasri ,

 

your solution worked for me.  Thanks 🙂

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...