Splunk Search

Props config is not taking effect, trying to rename fields

oleg106
Explorer

Hello,

I am trying to rename some fields pre-index using props.conf and it's not working.  Props below.

[onelogin:event]
EVAL-app_name = app
EVAL-src_ip = ipaddr


Also tried using FIELDALIAS to no avail.  The props file is  local  dir on the HF (/opt/splunk/etc/apps/splunk_ta_onelogin/local).  

bt debug shows the intended config ..

/opt/splunk/etc/apps/splunk_ta_onelogin/local/props.conf [onelogin:event]
/opt/splunk/etc/apps/splunk_ta_onelogin/local/props.conf EVAL-app_name = app
/opt/splunk/etc/apps/splunk_ta_onelogin/local/props.conf EVAL-src_ip = ipaddr

Also tried putting the props file in system local, no effect.  How do I troubleshoot this?  Thanks!

 

Labels (1)
0 Karma

codebuilder
Influencer

Did you cycle Splunk after making changes?

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

venkatasri
SplunkTrust
SplunkTrust

Hi @oleg106 

EVAL, FIELDALIAS are works during search-time hence they shall be deployed to SearchHead not HF.

---

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

Tags (2)
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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