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!

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...