All Apps and Add-ons

Checkpoint time-stamp in future

pgsery
Explorer

The checkpoint time-stamp stored in scom_event/alert_checkpoint is getting set in the future. When the powershell script sets the checkpoint, it uses the most recent date/time from the event log data (or alert data). The new checkpoint will be in the future if any client machine clock is misconfigured in the future. This prevents new data from being processed because the script only processes events newer than the checkpoint (TimeGenerated > $event_cp).

A simple fix would use the scom server's clock to set the checkpoint. That solution would, I thnik, duplicate results for clients with clocks misconfigured in the future. However, this would be less onerous than the current situation.

Tags (1)

pgsery
Explorer

I partially solved the problem by substituting the timeadded for timegenerated field. Timeadded is the time the scom db records an event.

0 Karma
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...