Time
7 hours 58 minutes
Difficulty
Intermediate
CEU/CPE
8

Video Transcription

00:00
welcome back. And this episode we're going to take a look at a subset feature of azure monitor called Log Analytics.
00:07
My objectives include understanding, log analytics and understanding. Also had a configure log Analytics.
00:14
So what is it? Log Analytics. Log Analytics is a tool used to write and execute queries against our log data found on azure Monitor.
00:22
As a mention, it is a feature of azure monitor, and the agents are installed on cloud and on purposes. Resource is, and they send data toe azure monitor to store the collected data.
00:34
Gathering. This data from our resource is requires agents to me, installed on the resource itself. For this, we have the log analytics agent. This agent was developed not only for cloud compute resource is but also for on premises physical on virtual machines.
00:49
This means you can have an all in one cloud based monitoring solution for your cloud and on purposes servers. You can even install this agent on. Compute resource is located another cloud platforms. Besides Azure,
01:00
the log analytics agent is also shared across other measure service is that were bundled under the operations management. Sweet ROMs such as azure security center azure automation.
01:10
The Log Analytics agent is available both as a Windows and Lennox agent
01:15
when it's installed on Windows. It's the Microsoft monitoring Agent or MM ES and installed on Lenox. It's listed as the O. M s Lennox agent.
01:25
As I mentioned, the Log Anna Leagues agent can also be installed on on premises service. This records the server to be able to make outbound connections over TCP for 43 and also have tea less 1.2 enabled on the server.
01:40
When you go to download the agent inside the Log Analytics workspace, you have the option of selecting the Windows or Lennox's version. And when you do, you're given the workspace i D for the Log Analytics workspace, as well as a primary and secondary key to authenticate against the service.
01:57
This will allow the agent to collect an upload from your own premises servers.
02:01
Now that we have some basics down, let's jump over to the azure portal and take a look at our Log analytics workspace
02:08
back in our azure portal. Before we go look at our Log analytics workspace. I want to go take a look at some of the extensions on our virtual machines just to show you what it looks like before and after we install them.
02:21
Let's go check out V M o too.
02:24
Click under settings and extensions. You can see we have the O. M s extension right here, which connects to our azure Log analytics workspace.
02:36
Let's go back and take a look at V M 03
02:42
Even see, we currently do not have any extensions installed that connects to our log analytics workspace.
02:49
Now let's go take a look at creating a Log analytics workspace and connecting some of our resources into it.
02:54
I've already favorited the long analytics workspace over on the left hand side.
03:00
First, let's take a look at creating a log Analytics workspace.
03:07
Create one. You will need to give it a name.
03:09
Select a subscription and a resource group as well as a location pretty similar to other azure Resource is that we've credit in the past.
03:17
I'm gonna close out of creating one
03:20
and go ahead and go back to the existing one. Already have.
03:28
You can see on our overview page. One of our getting started with Log Analytics steps is to connect data sources,
03:36
so let's go down and take a look at our work space data sources.
03:39
We go into virtual machines.
03:45
It's going to pull in all the virtual machines available. In our current description, you can see we have some of them, like V M 01 and no to which are already connected. And other ones like 80 Connect a one and BMO three, which are not connected, which we also just saw when he looked at V. M O three's extension. Let's go ahead and click on V M 03
04:03
to install the agent on this virtual machine and connected to this Log Analytics workspace. It's a simple as clicking on the connect button.
04:12
This will start the deployment of the Lenox O. M s extension onto that virtual machine.
04:17
While that is finishing deploying, let's go take a look at some advanced settings where we can deploy agents to our on premises servers.
04:28
Here we can look at additional resource is that we connect, such as Windows servers. We can download the 32 or 64 bit version of the agent as well as the workspace I D and Keys will need in order to connect the agent when we're installing it to this Lock Analytics workspace
04:45
again. Remember, fromthe slides. Thesis server will need outbound axis over TCP for 43 as well as used Teal s 1.2.
04:57
We have the same option for our clinic servers By downloading the agent and having the workspace i d. In keys we can use
05:05
as well as connecting azure storage accounts. And once we have the agents installed, we can define what type of data we want to extract from them.
05:15
For example, Windows event logs in performance counters, as well as Lennox performance counters and CeCe locks.
05:23
We can also dive a little bit deeper and gather information from our I s locks on Windows servers
05:30
going back to her over you. Page One other thing we can look at is the activity lock.
05:35
Remember, the activity log contains other actions that are taken inside the tenet, such as actions on virtual machines or inside the subscription.
05:45
Here. I'm gonna change our filter
05:47
to the last week as well as change our resource to all resource is and remove our sick our resource group filter.
05:57
You can see the type of actions that are created in here, such as creating or updating version machines or creating an updating metrics. You can think of this as taking a look into the administration activities that are occurring inside the tenant
06:12
that does it for a demo. Let's jump back to the slides and wrap this up.
06:16
Coming up next, we're gonna talk a little bit about Azure adviser and cost management inside our tenant. See you in the next episode.

Up Next

AZ-300: Microsoft Azure Architect Technologies

Azure Solution Architects are responsible for taking business requirements and turning them into solutions. This course provides an introduction into Azure, Microsoft’s cloud platform.

Instructed By

Instructor Profile Image
Jeff Brown
Instructor