Skip to Main Content
Hands-On Linux Administration on Azure
book

Hands-On Linux Administration on Azure

by Frederik Vos
August 2018
Intermediate to advanced content levelIntermediate to advanced
410 pages
9h 18m
English
Packt Publishing
Content preview from Hands-On Linux Administration on Azure

Getting the data

In the Advanced settings section of this resource, you can add performance and syslog data sources. You can access all the data via the log search, using a special query language. If you are new to this language, you should visit https://docs.loganalytics.io/docs/Learn/Getting-Started/Getting-started-with-queries and https://docs.loganalytics.io/index.

For now, just execute the query:

search *

To see whether there is data available, limit the search to one virtual machine:

search * | where Computer == "centos01"

Or to get all the syslog messages, as a test, you can reboot your virtual machine, or play with this:

logger -t <facility>. <priority> "message"

Execute the following query in syslog to view the results:

Syslog | ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Linux Administration on Azure - Second Edition

Hands-On Linux Administration on Azure - Second Edition

Rithin Skaria, Kamesh Ganesan, Frederik Vos
Linux: Powerful Server Administration

Linux: Powerful Server Administration

Uday Sawant, Oliver Pelz, Jonathan Hobson, William Leemans
Red Hat Enterprise Linux 8 Administration

Red Hat Enterprise Linux 8 Administration

Miguel Pérez Colino, Pablo Iranzo Gómez, Scott McCarty

Publisher Resources

ISBN: 9781789130966Supplemental Content