Splunk Search

Need simple search help

jayrodef
Explorer

Hello all, I haven't taken as much time to understand the splunk search capabilities as I should. I'm reading up today, however I need to get this search functional is quickly as possible. Basically, I have data with a User and DeviceId which have many events. I'd like to get a search that shows User with DeviceId per hour and the number of events, so something like:

1pm

testuser deviceID123 200events

2pm testuser2 deviceID456 100 events

I'm not sure if that'll explain it or if you need more detail. Appreciate any help you can offer, thanks.

Tags (1)
1 Solution

fox
Path Finder

index= | eval user_device=userid."_".deviceid | timechart span=1h count by user_device

View solution in original post

fox
Path Finder

index= | eval user_device=userid."_".deviceid | timechart span=1h count by user_device

jayrodef
Explorer

Thanks so much, you guys are quick. I'm actually reading through that link now. Thanks again.

0 Karma

southeringtonp
Motivator

Also take a look at the Search Reference and the included cheat sheet - http://www.splunk.com/base/Documentation/latest/SearchReference/SearchCheatsheet

fox
Path Finder

index= insert your index name here

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...