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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...