Splunk Search

Getting duplicate values

ChhayaV
Communicator

hi,

this is my query

index=tm_idx host="server" sourcetype="TM_Test_10"  
| rex field=msg "(?i)TM1\sserver\sload\stime\s\(secs\)\s\=\s(?P<timetakentostart>\w+)" 
| where timetakentostart!="" 
| stats sum(timetakentostart),values(timetakentostart) by date_month

values gives me unique value of the field but i want duplicates also. How can i get it ?

Thanks and Regards

Tags (2)
0 Karma
1 Solution

Ayn
Legend

Use list instead of values.

View solution in original post

Ayn
Legend

Use list instead of values.

Get Updates on the Splunk Community!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...