logo

NJP

Intelligent Search for ServiceNow CMDB

Import · Dec 14, 2022 · video

[Music] foreign [Music] it's Justin thank you for watching and welcome to my house that's Justin's house in this video I want to talk about cmdb intelligent search and that is new in Tokyo and I'm gonna start with a deprecation notice if you look at the release notes in Tokyo for cmdb you'll see that the cmdb search is being prepared for future deprecation so if you're using or dependent upon cmdb search pay attention to this video I think you're going to like what you see a lot better than how CND search worked and you're going to be able to use this new intelligence search for a better experience so let's hop over to my showcase instance here there it is and we're going to go to the cmdb workspace to start and front and center on the new cmdb workspace is going to be this new intelligent search and one of the biggest features about this intelligent search is the use of natural language to query the cmdb so when I say natural language I'm talking about you just typing in show me all the windows servers or show me all the windows servers that were created last month or something like that and so you can use your natural language now there is some configuration that you can do to improve improve the relationships between things in your cndb and other parts of your servicenow platform so I want you to pay attention to the documentation for this new cmdb intelligent search obviously I have not talked long enough for the cmdb workspace to open there we go it finally opened I've got some alerts I'm going to dismiss those I was doing some other stuff so who knows what that did but this is what I'm talking about search right here in the middle we've got cmdb search in the workspace in addition to everything else down here below so I've got all of my cmdb stuff that I'd expect here and I've got the ability to come in here and use natural language to ask them for things now there are some search tips you can see their single table search where you just say show me the applications there's multi-table certs show me all or search show me all services that run on a Linux servers for example there's some Advanced filtering these are the following keywords that you can use to narrow so it is not and or empty not empty stuff that you should be used to seeing an example show me all servers in Iowa whose name contains sap and then relationships this is the part where I'm saying you might need to go do some configuration around implicit relationships in order to improve the search results that come back when you're using this new intelligent search but let's get into the demo part here I'm going to do show me Docker containers show me dockered containers is going to query the cmdb and hopefully come back with all the docker containers that the cndb is aware of I'm going to get a list view of those and there they are I can tell by the container ID that these are Docker containers and I've got about 31 of them now I'll highlight here at the top above my head on this one we can give feedback to the intelligent search mechanism model of whether that was what I expected or not so there's still some training going on right I imagine there's some machine learning going on for some of this but let's show you another one I'm gonna do show me all database all databases on oh I can't spell databases on Windows servers okay so this one should throw me a pop-up to confirm oh you want databases on Windows servers and you're like yes thank you very much smart application and it will then open the search results for all of the databases that are residing on Windows servers when it opens the results page so you can see the actual results and we should have all the databases on the left hand side and all the windows servers on the right hand side and I actually tested this before I recorded this and it worked that time but it didn't work this time so let's try one more here show me all or I'm going to say show me configuration items located in San Diego so located is one of those key words there yes I want to see the fit configuration items but a key thing is I want to see the ones that are in San Diego I hope this one has results because I tested this one too and this is me so it did find not just where the location was San Diego but even where the street address had San Diego in the location so that is a win in my book I've got all my search results they're 381 items I'll just go to the eighth page here make sure that we're still in that location of San Diego and there we go that we definitely are in that location last one I'm going to show you um on this one next second to last one show me software installed on servers oh it's my recent search see you can tell I practiced to make sure this worked show me software installed on servers I'm going to search and we're looking for servers with software installations gonna view those search results and I should see instances of software are installed software applications related to the windows servers or to the servers that they're installed on so you can see here this server has SQL Server standard installed this server has Exchange Server Enterprise installed this virtual machine has SQL Server Enterprise Edition core installed okay so that's again another one now interestingly on this particular query there were a lot of results so we got some buttons to load all the results or load more results just some performance there to only show certain things to make sure we're getting what we want now this is the last one on this screen I'm going to show you show me all Linux servers running Ubuntu OS okay I was like I was trying to trip up the system and see if it doesn't know what OS means and so it prompted me with confirming you're looking for Linux servers yes and what I'm hoping to see is a list of Linux servers that are running Ubuntu and sure enough it actually worked I've got operating system as a column and they are all Linux Ubuntu and I can even see the OS version and manufacture for those 18 servers that came back from that query all right we're not done yet I've got one more thing because this cmdb intelligence search shows up one more place and is right behind my head if you look at here query Builder and your quick links on your cndb workspace query Builder is going to take you to a different application where you can build and save cmdb queries for future use for sharing with other people who might need to query the cmdb and might not have a great understanding of how things are related all the relationships between things and so you can set them up save them and they'll be there for someone to use which you can see right here tickets on servers running postgresql kubernetes Cloud Foundry whatever I'm gonna do new and we're just gonna go demo for YouTube and I'm gonna keep this as a sort of cmdb query I'm not going to do the service mapping and the intelligent search that I just showed you in the workspace is actually right here at the top so if I were to come up here and type I want to see virtual the scenes created there it is that I tested it at first course created more than one year ago I can come in here and search for that and not only will it actually build out in cmdb or inquiry Builder the actual stuff here but I've got the filters being applied you can see there just above my head it automatically applied a filter for checking the created date is more than a year ago or greater than a year ago so if I run this I should see any virtual machines that were created more than one year ago simply by typing in that natural language into the cmdb intelligence search and there they are there's my servers I'm actually seeing a Windows Server maybe pause a little bit so maybe I need to fix it but they were created more than a year ago no they weren't that was June of this year okay so they're probably some uh changes I can make there but it didn't quite work like I wanted for that but the main point here was to show you that I've got intelligence search on this particular piece here and I guess I could go and adjust this created relative to uh yeah the drop downs are actually empty there we go after one year ago actually that's the right filter so I'm not sure why the search results don't match that criteria because that's exactly what it says but anyways I'll leave that for some more troubleshooting if you think you know what's wrong please leave me a comment Down Below in the comments what I want the takeaway to be for you is cndb search is being deprecated in the future it's still there you want to start using the cmdd intelligence search you can get to it from the workspace you can get to it from query Builder like we just did there at the end I hope you found this video helpful if you did please like Please Subscribe or share with somebody who you think might be interested in querying their cmdb in servicenow in an intelligent way using natural language woods and until next time don't forget to always be learning [Music] [Applause]

View original source

https://www.youtube.com/watch?v=yp72yfIK3zQ