Table of contents
๐ ธ๐ ฝ๐๐๐ พ๐ ณ๐๐ ฒ๐๐ ธ๐ พ๐ ฝ:Data science and machine learning both require data and more accurately a bunch of information. Logs and metrics are two great types of data collecting techniques. These ways don't leave single info without being unnoticed. Both these have different use cases and different way of representation. Over the internet, you can find different logs and metrics collecting as well as representing tools. Some of them will be suggested below in the article. You will also come to know about what google and Microsoft do with this enormous amount of data.
๐ ฑ๐ พ๐ ณ๐ ๐ พ๐ ต ๐๐ ท๐ ด ๐ ฑ๐ ป๐ พ๐ ถ:
๐ช๐ต๐ฎ๐ ๐ฎ๐ฟ๐ฒ ๐๐ต๐ฒ ๐๐ผ๐ด๐?
Log files are required to store different events that occurred Or occurring. The event can be like a login, visit a website, download of any kind of media, installing an application etc... Windows basically has Data science and machine learning both require data and more accurately a bunch of information. Logs and metrices are two great types of data collecting techniques. These ways don't leave single info without being unnoticed. Both these have different use cases and different way of representation. Over the internet, you can find different logs and metrics collecting as well as representing tools. Some of them will be suggested below in the article. You will also come to know about what google and Microsoft do with this enormous amount.
Windows events logs have different logs like:
๐๐ฝ๐ฝ๐น๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป ๐ฒ๐๐ฒ๐ป๐ ๐น๐ผ๐ด๐::The application log records events related to different windows system components., like different driver sand buil-in interface elements present in the system.
๐ฆ๐๐๐๐ฒ๐บ ๐ฒ๐๐ฒ๐ป๐๐ ๐น๐ผ๐ด๐:: The system log records event's related to programs installed on the system.
๐ฆ๐ฒ๐ฐ๐๐ฟ๐ถ๐๐ ๐ฒ๐๐ฒ๐ป๐ ๐น๐ผ๐ด๐:: This records the logs related to logging in attempts and resource access.
๐ช๐ต๐ฎ๐ ๐ฎ๐ฟ๐ฒ ๐ ๐ฎ๐๐ฟ๐ถ๐ฐ๐ฒ๐?
Metrics are basically evolved from the word measurement. Measurement of different hardware and system required to perform any task. For example, when you play a movie on your laptop different requirements occur like a monitor for display, speaker for audio, RAM to run the movie, Graphics for better performance. The measurement or amount of all these requirements measurement or amount of all these requirements is stored in a file which is called metrics. Metrics are collected and stored at a fixed or specific time.
๐ฆ๐ฒ๐ฒ ๐ณ๐ถ๐ฟ๐ฒ๐๐ฎ๐น๐น ๐น๐ผ๐ด ๐ณ๐ถ๐น๐ฒ ๐ถ๐ป ๐๐ถ๐ป๐๐ ::
# vi /var/log/firewalld
log command
๐ฅ๐ฒ๐ฝ๐ฟ๐ฒ๐๐ฒ๐ป๐๐ฎ๐๐ถ๐ผ๐ป ๐ผ๐ณ ๐๐ผ๐ด๐ ๐ฎ๐ป๐ฑ ๐ ๐ฎ๐๐ฟ๐ถ๐ฐ๐::
All the logs and matrics files have a way of representation or storing the data. This data is stored in a unique fashion so that it could be used further get information.
Each data unit is seoarated by some kind of delimiter like a comma, semicolon, tab, quotes etc... This representation is resolved by using general expressions.
๐๐ผ๐ผ๐ด๐น๐ฒ ๐ฎ๐ป๐ฑ ๐ ๐ถ๐ฐ๐ฟ๐ผ๐๐ผ๐ณ๐ ๐๐๐ฒ ๐ฐ๐ฎ๐๐ฒ::
Microsoft best use of logs is to troubleshoot the computer. These logs help Microsoft to diagnose the problem and resolve it. On the other hand, Google uses history to make things like advertisement and content more personalize and useful. Different events are maintained for different tasks to be performed. Like if you face any problem with the system application, then the log system generated files will be checked.
Both Google and Microsoft have different tools to monitor logs and metrics over the cloud platform GCP and AZURE.
๐ ฒ๐ พ๐ ฝ๐ ฒ๐ ป๐๐๐ ธ๐ พ๐ ฝ:
A log is a computer generated file that captures activity within the operating system. They improves the accuracy of the model. Metrics are the vital signs that tell you how your devics and applications are performing. Therefore, both of these are called as data collecting techniques.