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!

Index This | How many sides does a circle have?

  March 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...