Dashboards & Visualizations

Need help creating a dashboard showing log validation in each environment from different indexes

abhi4
New Member

create dashboard where it can show the per day logs ingestion corresponding to it's relevant environment which shows the count of logs per day into it's related environment but i am facing issues while creating dashboard..please help ..thanks in advance.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi abhi4,
did you tried to run a simple search as

index=* | timechart span=1d count by index

?
Bye.
Giuseppe

0 Karma

Richfez
SplunkTrust
SplunkTrust

What actual problem are you having? What have you done so far?

Thanks,
-Rich

0 Karma

abhi4
New Member

Thanks for your reply, i tried with query..
index=*index_name host=hostname| eval application = replace(sourcetype, "_log", "") |
eval length = len (domain_name) |
eval env= ( if(len(domain_name)==11, substr(domain_name,4,4), if(len(domain_name)==12,substr(domain_name,5,4), "undefined"))) |
dedup application env , domain_name | timechart span=1d count(application) by env

It showing me the count of each day but not getting in environment wise..like test 1, test2 test3 ..!

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...