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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

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

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...