Splunk Search

dedup only 1 hr possible ?

sbnoobbb
Path Finder

I have a query that has a interval of few mins there are some duplicated results during that hour. When I use dedup it delete all the previous result and display the latest. Anyone met this problem? How can I only dedup results for every hour ?

Tags (1)
0 Karma
1 Solution

sbnoobbb
Path Finder

Solve by | transaction locationaccident maxspan=5m | bucket span=1h _time | dedup _time | chart ... by _time

View solution in original post

0 Karma

sbnoobbb
Path Finder

Solve by | transaction locationaccident maxspan=5m | bucket span=1h _time | dedup _time | chart ... by _time

0 Karma

sbnoobbb
Path Finder

Thanks will look at it!

0 Karma

linu1988
Champion

Use transaction to group the results per hour, then apply the dedup. Thanks

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

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 ...