Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Migrating Linux to Microsoft Azure

You're reading from   Migrating Linux to Microsoft Azure A hands-on guide to efficiently relocating your Linux workload to Azure

Arrow left icon
Product type Paperback
Published in Jul 2021
Publisher Packt
ISBN-13 9781801071727
Length 210 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Toni Willberg Toni Willberg
Author Profile Icon Toni Willberg
Toni Willberg
Rithin Skaria Rithin Skaria
Author Profile Icon Rithin Skaria
Rithin Skaria
Arrow right icon
View More author details
Toc

Hands-on managing Linux on Azure

Linux logs can be ingested into the Log Analytics workspace. In this hands-on exercise, we will see how we can ingest the syslog from our migrated Linux machine into the Log Analytics workspace and analyze it using Kusto Query Language (KQL).

Syslog is an event logging protocol that is widely used in Linux. The messages sent by the applications may get stored on the local machine or delivered to a syslog collector. Using the Linux Log Analytics agent, we will configure the syslog daemon to forward these syslog entries to the agent, and the agent will then send the messages to the Log Analytics workspace, which is part of Azure Monitor. Here, we are using the Log Analytics agent to push the data to the Log Analytics workspace.

Figure 5.10 is a graphical representation of how data is sent to Azure Monitor from the Linux machine:

A graphical representation of the Linux machine sending Syslog messages to Azure Monitor

Figure 5.10: Sending syslog messages to Azure Monitor

The syslog collector supports the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime