Splunk IT Service Intelligence

Glass table and past status

suresh364
New Member

For all the processes the last status is written to an input lookup table every 3 minutes from the log files.

But there are some daily processes, since they run once per day, before the current day's process runs, the status reflects the last run from yesterday.

In this case how do I reflect the current status for that period selected in the Glass table.

To illustrate,

Process runs at 11 AM daily.

On 3/3 before 11 AM it should not reflect the status of the 3/2 run.

Also when some other period is selected in the Time Range, how to reflect that day's status

Thanks

Tags (2)
0 Karma

skoelpin
SplunkTrust
SplunkTrust

You should use some conditional logic in your base search before ITSI processes it. An example would be

| eval epoch_today=strptime(now(), "%Y-%m-%d")
| eval epoch_yesterday=relative_time(now(), "-1d@d" )
| eval day_check=if('epoch_today'<'epoch_yesterday',"Yesterday","Today")
| eval execute=if(day_check=='Today',<KPI Metric>,"N/A")
0 Karma

lloydknight
Builder

Hello @suresh364

So you want to know the status of the Process, which i assume is a "KPI" inside the Glass Table, that updates every 11AM daily?

Can you please explain it further?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...