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!

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, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...