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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...