Logging

How To Manage Logfiles with Logrotate on Ubuntu 22.04 — step-by-step Linux tutorial on Progressive Robot

How To Manage Logfiles with Logrotate on Ubuntu 22.04

Logrotate is a system utility that manages the automatic rotation and compression of log files. If log files were not rotated, compressed, and periodically pruned, they would eventually consume all available disk space on a system. In this article, we will explore the default Logrotate configuration, then configure log rotation for a fictional custom application.

Read more
How To Install Elasticsearch, Logstash, and Kibana (Elastic Stack) on CentOS 7 — step-by-step Linux tutorial on Progressive Robot

How To Install Elasticsearch, Logstash, and Kibana (Elastic Stack) on CentOS 7

In this tutorial for CentOS 7, you will learn how to install all of the components of the Elastic Stack, a collection of open-source software produced by Elastic which allows you to search, analyze, and visualize logs generated from any source in any format, a practice known as centralized logging. You will install and configure the search engine Elasticsearch, the Kibana dashboard interface, and data processing component Logstash, in addition to the Filebeat data shipper.

Read more
How To Add the log Module to Nginx on CentOS 7 — step-by-step Linux tutorial on Progressive Robot

How To Add the log Module to Nginx on CentOS 7

In this guide, we will look at how to utilize Nginx’s logging module. We’ll set up separate log files for different server blocks and then customize the logging output. We’ll also add additional information about requests (in this tutorial’s example, the time it takes to serve a request) to the access log beyond what Nginx includes by default.

Read more
CHAT