Splunk Search

I am want to group together similar pattern of data , and plot a pie chart to see the percentage of it.

anu1729
Loves-to-Learn Lots

Below is the query I am  trying to use to get the result but, its giving error  for eval statement. Could anyone please help me here.

index="application_name" | spath logger | search logger=" logging.transcation.filter "| spath event | search event = "responseActivity"| search requestURI IN (/login,/api/v1/user/profile,/api/v1/app/version,/api/v1/user/profile/pickey,/api/v1/home/reseller/*) | eval requestURI=case((requestURI="/api/v1/home/reseller/*"), "/api/v1/homepage")

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

There is nothing wrong with the eval statement as you have shared it. Could there be a different eval statement in your query?

0 Karma

anu1729
Loves-to-Learn Lots

@ITWhisperer  no this is only eval command I using here .

 

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...