DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Enterprise AI Trend Report: Gain insights on ethical AI, MLOps, generative AI, large language models, and much more.

2024 Cloud survey: Share your insights on microservices, containers, K8s, CI/CD, and DevOps (+ enter a $750 raffle!) for our Trend Reports.

PostgreSQL: Learn about the open-source RDBMS' advanced capabilities, core components, common commands and functions, and general DBA tasks.

AI Automation Essentials. Check out the latest Refcard on all things AI automation, including model training, data security, and more.

Related

  • Dynatrace Perform: Day Two
  • Azure Cognitive Search Unveiled: Building Intelligent Search Solutions With AI
  • A Framework for Maintaining Code Security With AI Coding Assistants
  • Navigating the Technological Landscape of FinTech

Trending

  • Building a Sustainable Data Ecosystem
  • Top Secrets Management Tools for 2024
  • The Power of Generative AI: How It Is Revolutionizing Business Process Automation
  • The Future of Kubernetes: Potential Improvements Through Generative AI
  1. DZone
  2. Data Engineering
  3. AI/ML
  4. Efficient ITSM Incident Resolution: Leveraging Azure AI Services for Quick Solutions

Efficient ITSM Incident Resolution: Leveraging Azure AI Services for Quick Solutions

This tutorial explores leveraging Azure AI Search for historical ITSM incident data, facilitating incident resolution in IT Service Management.

By 
venkataramaiah gude user avatar
venkataramaiah gude
·
Feb. 12, 24 · Tutorial
Like (2)
Save
Tweet
Share
1.6K Views

Join the DZone community and get the full member experience.

Join For Free

ITSM Incident Management Process

Service desks are utilized by customers to report IT issues in enterprise applications. Most service issues are resolved by Level-1 teams (service desk) by providing knowledge base (KB) articles. Level-1 support resources identify important keywords and determine if the incoming request is similar to any historic ticket. 

With existing incident resolution notes, Level-1 resources can resolve incidents promptly. Otherwise, they create incidents with all mandatory fields, such as Configuration Item (CI), Short Description, and Description in ticketing tools like ServiceNow. As part of the incident management process, an incident ticket is created and forwarded, along with relevant information, to a Level-2 team, who are subject matter experts (SMEs) for the incident. 

The SME attempts to resolve the incident using their expertise. Level-1 personnel use keyword searches along with human intelligence to identify the potentially responsible Configuration Items (CIs) and select one to create a ticket. The incident ticket is then forwarded to Level-2 support to diagnose the problem in the selected CI. If the identified CI is incorrect, the ticket is bounced back and forth between Level-1 and Level-2 support. If any code change is required, external support (Level-3) is contacted. After resolving the problem, the customer is informed, and the incident ticket is closed with proper resolution notes.

Integrating ITSM Ticketing Data With Azure AI Services

The ITSM process serves as an underlying data storage framework for the Configuration Management Database (CMDB). The Level-1 support team searches based on the CI and with a short problem description to retrieve historical ticket resolutions. Keyword searches with human intelligence are limited, and responses are also limited in ticketing tools. 

The evolution of Azure AI will address this issue and provide quicker resolution, primarily at Level 1 support. Azure Search service will provide fast search results with simple text queries in the index search explorer. Ticket information can be downloaded with an Incident number, short description, description, and resolution notes as columns in an Excel sheet and filtered based on the CI name. Create an index for each CI name in the ticketing tool.

Azure AI Search service will address this issue with simple scripting. Create an index in Azure AI for each CI and upload the downloaded Excel data into Azure. Map the aforementioned Excel columns with the index fields. All fields are searchable and traceable in the Azure index.

Steps To Create a Cognitive Search Service

  1. Goto Azure portal and Search Azure AI Services.
  2. click AI Search, then click Create.
  3. Provide basic information as per requirement.
  4. Click review + create.

Please find the screenshots below.

cognitive search

create a search service

Steps To Create Indexes in AI Search Service

  1. Click on Add Index.
  2. Click on id and edit name, type, and configure attributes.
  3. Select Analyzer as English-Microsoft from the drop-down list.
  4. Select the Add field for all the columns to map.

Please find the screenshots below.

add index

create index

edit field

Python
 
from azure.search.documents import SearchClient
from azure.core.credentials import AzureKeyCredential
import pandas as pd
import re
import json

# Define your Azure Cognitive Search settings
service_name = ''
index_name = ''
admin_key = 'YOUR_ADMIN_KEY'  # Replace with your actual admin key
endpoint = "https://{service_name}.search.windows.net/"

credential = AzureKeyCredential(admin_key)

# Fill the File Path to Load the Excel data into a DataFrame. 
file_path = ''
df = pd.read_excel(file_path)

# indexing logic

  #initialize the client
  search_client = SearchClient(endpoint=endpoint, index_name=index_name, credential=credential)

  #upload data to the Azure Cognitive Search
  data = [ ]

for_,row in df.iterrows():
       data.append({
            "@search.action": "upload",
            "TicketNumber": row["TicketNumber"]),
            "ShortDescription": row["ShortDescription"],
            "Description": row["Description"],
            "ResolutionNotes": row["ResolutionNotes"] 
})

  response = search_client.upload_documents(data)

 


Run Instructions

Open a command prompt or terminal, navigate to the directory where you saved the Python file, and run the script using Python.

Conclusions and Future Work

L1 support resources can search index-wise in the search explorer with simple text to retrieve all ticket information in a few seconds. With this knowledge, they can provide quick resolutions within a minimum time. The power of Azure AI can significantly impact customer satisfaction. We can create an application to chat like a human to retrieve cognitive search data using OpenAI within Azure AI Studio.

AI azure IT

Opinions expressed by DZone contributors are their own.

Related

  • Dynatrace Perform: Day Two
  • Azure Cognitive Search Unveiled: Building Intelligent Search Solutions With AI
  • A Framework for Maintaining Code Security With AI Coding Assistants
  • Navigating the Technological Landscape of FinTech

Partner Resources


Comments

ABOUT US

  • About DZone
  • Send feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: