ElasticSearch metric, but now it's very similar to fall, big steps are almost identical, but Metric
B is about metrics on your system, such as CPU Disclosure Network, whereas fall it's about rating
locales to download the installer for your operating system of using Debian based Ubuntu twenty point
zero four.
You can see that at that link.
So it's like self-managed and select your OS.
I've already prepared my commands, so I'm just going to copy those to clipboard.
I'm going to use the same server where I put file bait.
That was my mom's cure server.
OK, so clear paste.
So I don't like the seven point sixteen point one AMD64 and press enter again, and it's now using the
package manager to install it.
So it should be there now we can test that is most likely not running.
There we go, so it's loaded, but not active control C to get out of that.
OK, we can see what modules it has enabled disabled.
Copy that?
Mitre Peak Modules List.
OK, so it's a very small default, but there's lots of different modules that you can enable.
Most of them are disabled, but on metric system is already enabled by default, so I don't have to
enable it.
But what I will do is also enable the Linux module because I'm using Linux.
So metric beat modules enable Linux enabled Linux.
Let's check the modules list.
Enabled Linux, a system that's not essential, but I'm just showing it as possible.
OK, very good.
Go to the bottom now.
I'm going to edit the metric, beat women to point it to my ElasticSearch.
So that is in the CD 8c metric folder, less like, say, like file, but it's got assigned modules,
the directory.
It's also got its own why html.
So we'll edit that.
So sudo nano match repeat y eml.
OK?
Scroll down.
I'm not using Cabana.
Terry, the host of my ElasticSearch server, was 10 one three three zero six nine two hundred.
Today, I'm not using that or that or that.
Very good control.
Yes.
To save and to start metric beat.
OK, take a step as a good active running in faith, I just pressed the right arrow, very good control.
So to get out of that now, I've already set up the appropriate firewall rules in the last video, but
you should make sure that your metric beat service can query your ElasticSearch server by running if
you Kirkman's, for example.
Curl, the IP address of your ElasticSearch server, which mine was ten point one three three zero six
nine two and I got a response, excellent.
Also want to know what index was created when this metric beat started up to that?
The score cat slash indices.
Here it is Cat indices until a year ago, there's the new index metric beat seven sixteen point one
and today's date, so I'll be carrying a new data source that points to at least metric beat 716.
So open Cortana data sources this at a data source.
ElasticSearch the URL.
And one three three zero six nine, two hundred and I go down my index name was Metric 716 Dot Star,
so that means I can set up metric weights version seven point sixteen on many servers and point them
to my ElasticSearch server there and read all of those in Gravano.
OK, version seven 10 plus.
OK, save and test.
Very good index.
OK?
And also, before I save it, I'm actually going to rename it to metric based.
So ElasticSearch metric beat like that.
So.
Scientist Yeah.
Oh good.
Now go to explore and we can select that from dropdown.
Excellent.
And we can see lots of data coming through already, so that's possible to query now.
Let's look at logs and it would go see lots of information.
So the information we're going to find here is a bit different.
It's not about log files is about the performance of our server goes to CPU, memory, file descriptors
open and various other things, and we can create a quite interesting dashboard from that and more do
that in the next video.
Excellent metric beat.