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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...