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!

Stay Connected: Your Guide to February Tech Talks, Office Hours, and Webinars!

💌 Keep the new year’s momentum going with our February lineup of Community Office Hours, Tech Talks, ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Incident Response: Reduce Incident Recurrence with Automated Ticket Creation

Culture extends beyond work experience and coffee roast preferences on software engineering teams. Team ...