Splunk Search

SPL

uagraw01
Motivator

Hello ,

I am not getting any result while executing below query. Can you please help me to know what i am doing wrong with the eval command with if condition below.

 

IMG_20201119_221004.jpg

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @uagraw01,

the first eval has a space before parenthesis.

Anyway, if you continue to haven't results, debug your search deleting one by one the rows from the end finding the one with problems.

In addition:

  • "| fields *" isn't necessary;
  • how can you have mvindex in the field host?
  • what's the meaning of "| stats values(*) AS *" ?

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...