Dashboard tile that runs a PowerShell script that we can override

My use case is for pulling account lockouts from Splunk into SquaredUp which is easy enough, but I then want to be able to query that information for further details based on a locked out username.

One thought it a SCOM task from the SquaredUp server that runs PowerShell to query Splunk’s API and use the ‘override paramaters’ option to insert the username - would this work, or is it even possible?

Running an on demand SCOM Agent Task on a perspective will allow you to enter an override. Task button top right:

image

Opens task panel:

You just need to ensure you are viewing an object of the class the task targets.

Using the SCOM Task tile on a dashboard/perspective won’t let you override unfortunately.

We recently implemented tasks from the Alert list too, so building a monitor to query Splunk for locked accounts would allow you to do this from an alert list:

That being said, the table tile has a search box for external data, so pulling back the data the searching for a user should work? Example below from Log Analytics:

There’s active work to implement “Dashboard Variables” in Cloud though, which will no doubt be of interest!

2 Likes