Splunk Search

use timechart with dedup values

kirrusk
Communicator

I'm trying to count values of field in a time chart with every particular point of time using dedup.
like this ,
index = internal field1 = asterisk field2 = asterisk field3 = asterisk | dedup field3 | time chart count(field3) by field2

but it is giving only total count of (field3) in a row. I want total count at every particular point of time to display in time chart.

sorry for typos

0 Karma

woodcock
Esteemed Legend

It is very unclear what you mean, what you need, and what the problem is. Perhaps you can get what you heed by taking some part of this:

index="internal" AND field1="*" AND field2="*" AND field3="*"
| timechart count dc(field3) BY field2
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How much can you really learn in 3 minutes?

Observability can certainly be hard to understand – there's a lot of jargon and buzzwords and it seems to ...

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...