Splunk IT Service Intelligence

Glass table and past status

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

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

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