Dashboards & Visualizations

Output of dashboard query is seen in Events section and not in Statistics and mode is getting changed to Fast mode

palshelk
New Member

Hi, 

Below is the dashboard query which works fine for EC2 Port Probe events but rest of the events are not displayed in the dashlet. when we check open in search option, we find events in the event column and not in statistics after changing the mode from fast to verbose. please help here.

index="aws_generic" source="aws.guardduty" detail.type=Discovery:S3/AnomalousBehavior*
| eval newtime=strftime(_time,"%m/%d/%y %H:%M:%S")
| rex field=host (?<service>.*):(?<cloudprovider>.*):(?<region>.*):(?<cluster>.*):(?<role>.*):(?<stagingarea>.*)
| stats sparkline(count) as history max(newtime) as "event time" by stagingarea detail.region detail.type detail.severity detail.description detail.accountId detail.id
| eval times=mvindex(times, 0, 2)
| sort - "event time" detail.severity
| table "event time","detail.accountId","detail.region","detail.severity","history","detail.type","detail.description"
| rename "event time" as "Event Time","detail.accountId" as "AWS Account ID","detail.region" as "AWS Region","detail.type" as "Finding Type","detail.severity" as "Severity","history" as "Event History","detail.description" as "Description"

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

I am not sure why you are getting different results in Fast and Verbose mode, but there appear to be some oddities with your search:

| eval newtime=strftime(_time,"%m/%d/%y %H:%M:%S")

This creates a string - what is the maximum of a string?

| stats ... max(newtime) as "event time"

Field times does not exist (after previous stats command)

| eval times=mvindex(times, 0, 2)

I am not sure whether these make a difference though

0 Karma

palshelk
New Member

Hi, 

Tried changing it but seems no luck!

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...