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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...