Splunk Search

Calculated field

VijaySrrie
Builder

Hi Team,

How to write a calculated field for below 

| eval action=case(like("request.path","auth/ldap/login/names"),"success")

Names field will be changeing
Above one is not working

Labels (1)
0 Karma
1 Solution

yuanliu
SplunkTrust
SplunkTrust

Assuming request.path is a field name, you are looking for 

| eval action=case(like('request.path',"auth/ldap/login/names"),"success")

 

View solution in original post

0 Karma

yuanliu
SplunkTrust
SplunkTrust

Assuming request.path is a field name, you are looking for 

| eval action=case(like('request.path',"auth/ldap/login/names"),"success")

 

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...

Enterprise Security Content Update (ESCU) | New Releases

In March, the Splunk Threat Research Team had 2 releases of security content via the Enterprise Security ...