Other Usage

Azure API credentials Expiring in 6 months

Kwabena13
Engager

The Credentials used to connect the Splunk TA for Azure was set to expire in 6 months from now. I would like to get an alert created for that in Splunk so we can update this a week before it expires so it does not take us by surprise.

I do not want to set a personal reminder just in case someone else is in the role by then.

Thanks for your help.

 

Labels (2)
0 Karma

marnall
Motivator

You could make a lookup containing the unix time when the API key expires, along with columns describing the key and where to renew it. Then you could make an alert in Splunk that checks if that unix time is X days away

e.g.

| inputlookup when_keys_expire.csv
``` 7*24*60*60 = 1 week worth of seconds ```
| where expirytime > (now() - 7*24*60*60)

The downside to this is that you would have to manually set the lookup table separately when applying a new key.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...