Splunk Search

How to track the state of an object in Splunk for use in grouping events?

motobeats
Path Finder

I am trying to figure out how we can track the state of some object in Splunk and use that state to group the objects in historical searches.

An example: I want to track the disk errors reported by VMs grouped by the hypervisor they are on at the time. If this was just for real-time, I would use a lookup table, but I don't know how to approach this problem if I want to check errors over the last week and the VMs are dynamically moving from one hypervisor to another. I can get the event logs to follow the movements, but don't know how to apply that to a follow on search.

0 Karma
1 Solution

somesoni2
Revered Legend

I believe what you want can be achieved by using Timebased lookup, where it's possible to attaché the state based on the time period in which the event occurred. See more information here

http://docs.splunk.com/Documentation/Splunk/6.2.5/Knowledge/Addfieldsfromexternaldatasources#Set_up_...

View solution in original post

somesoni2
Revered Legend

I believe what you want can be achieved by using Timebased lookup, where it's possible to attaché the state based on the time period in which the event occurred. See more information here

http://docs.splunk.com/Documentation/Splunk/6.2.5/Knowledge/Addfieldsfromexternaldatasources#Set_up_...

motobeats
Path Finder

This is what my research turned up too. Thanks for the confirmation. Plan to try the approach in the future.

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with William Searle

The Splunk Guy: A Developer’s Path from Web to Cloud William is a Splunk Professional Services Consultant with ...

Major Splunk Upgrade – Prepare your Environment for Splunk 10 Now!

Attention App Developers: Test Your Apps with the Splunk 10.0 Beta and Ensure Compatibility Before the ...

Stay Connected: Your Guide to June Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...