Add a "Created By" Tag to objects created in/by Nerdio Manager

We were recently doing some clean-up in one of our demo environments and were trying to determine if something was still being used or not.

While some sections in Nerdio Manager have a place for "Description", not all of them do.
And, searching through the logs can be time consuming.
I was thinking we add a new tag to any object that's created with who sent the command in NMM.

Example:Β 
(Tag) Name: Created By
(Tag) Value: dstephenson@iLoveNerdio.com

It's not a "perfect" solution, but it's something "easy" that helps give us a starting point of knowing who to talk to.

Β 

5

Comments (6 comments)

0
Avatar
Johnny Lambert

Would there be a way to make the tag not deleteable? Just to prevent people messing with it?

0
Avatar
Dave Stephenson

Hmm. With tags, it's a bit difficult because if anyone has direct access to the Azure Portal, they'll be able to modify the tags.
(You can work around that with Azure Policy, but it could/would be a lot of work.)

Maybe if we make it a field in the NMM database, it couldn't be overwritten? πŸ€”
Our Dev team would need to look into the possibilities and see what is easiest.

What's your use-case/concern with someone changing that tag, Johnny Lambert?
Are you thinking someone will create something and then remove their name from it, so they don't get "blamed" for creating it?

0
Avatar
Johnny Lambert

Yeah, since creating a host pool or VM will have a direct cost impact. I think overall, maybe an easier way to import the JSON logs into something to easily view it? Or maybe just have something to more easily see the Nerdio logs over? I like how it is, and I'm pretty good with searching JSON logs in Sublime, and I think overall TAGs might be useful, but an easier way to search logs might be the overall solve.

Β 

0
Avatar
Dave Stephenson

Interesting. So, instead of looking at the logs in Nerdio or using Tags, you're looking to just manage logging in a syslog server?
We had another partner asking about pulling the NMM logs into another tool too.
We'll have to think that over. That may be an option we provide.

My "argument" for utilizing tags is that it's an Azure native feature that stays will the object until it is removed.
With logs (either in NMM or Azure), there's potentially a finite time that the logs are available.

However, because our features have to appeal to the "least common denominator" (a.k.a. the least technical person who uses the tool), we might "need" to do something simple like Tags or a field in the DB because quite a few people struggle reading JSON (me included if it's not formatted nicely πŸ˜†).
If we can do both, I think that would be even better!

I appreciate the conversation on this. It helps give our Product team options when they go to implement this feature.

Β 

0
Avatar
Randy Dover

I like the "Created By" tag. I almost always use it when deploying any resource in Azure, not just AVD.
I would like to see if Nerdio can be configured pull tags or "remember" tags. I have a few organizations that have required tags and I have to manually type the name and value in each time. In the Azure portal if I go to the name and start typing it will pull up a history, same with the value. Can Nerdio remember what was typed, or pull from Azure?

0
Avatar
Dave Stephenson

I think what you're wanting isΒ Tag Groups (currently an NME feature) and or Custom Tags (see related feature requests below), Randy Dover πŸ™‚.
I agree though, that being able to use Tag Templates and/or pull existing Tags from the Azure environment. I don't know if we'll be able to pull them real-time (with the API), but maybe if we cached the existing tags and then refreshed them every few hours, that could work . . . πŸ€”

Similar Ideas:

Please sign in to leave a comment.