One program in the log management category is Graylog. Its task is to collect logs and to make them available to administrators centrally and in a processed form. The software thus supports the practical implementation of compliance in IT and makes administration more effective.
Graylog can access logs from software as well as from hardware. It is compatible with logs in the formats Syslog, GELF, JSON/REST URL, and RAW. Once it has been set up, logs are collected automatically and in real time. This makes it possible, for example, to collect access data from web and FTP servers or network logs from switches and modems. Graylog unifies the logs, which usually come in very different formats. Parsing lists the logs in a uniform way so that they can later be sorted by time or narrowed down to specific events, for example. Administrators can thus access current or older log files from any source quickly and without further effort. This function removes the need for a manual search, which also includes signing in to the respective service whose logs are to be accessed. On the one hand, this helps in immediate troubleshooting to identify the problem and to find a solution quickly. On the other hand, emerging sources of error can be identified and disruptions during operation can be prevented.
Today, a decentralized IT infrastructure plays as large a role as DevOps or continuous deployment, and log management has to respond to these conditions as well. Graylog can access logs from different sources. This includes logs that are created by applications in containers, on virtual systems, or on outsourced IT infrastructure. For this purpose, a log agent is set up on the system from which the logs are to be collected. These agents are available for almost all operating systems, such as the various Windows versions, numerous Linux derivatives, or CentOS. The local configuration determines exactly which applications or which hardware logs are collected from and sent over the network to the central Graylog service. There, the selected logs of all integrated systems are available, regardless of how extensive the company network is.
With the user management of Graylog, different user groups and accounts with different permissions can be created. This is particularly helpful in larger companies for assigning or separating areas of responsibility clearly. Indexing in Graylog is done with Elasticsearch. This leaves a lot of freedom in choosing the output format of the logs. Elasticsearch also serves as a user interface with search and analysis functions. Its main strength is its scalability. In small businesses, Graylog with Elasticsearch can even be run on laptops to keep a central overview of the logs. In large companies with several branch offices, extensive networks, and a comprehensive server landscape, Elasticsearch acts as the access point to all logs of the entire cluster.
Another advantage of Graylog is the dashboard. It presents the statistics graphically and thereby offers an accessible and easily understandable way into the classic, text-based log files. The access data of a website, for example, can be analyzed at a glance. The load on the web server at a certain point in time and the geographic origin of the requests can be queried as well. This allows conclusions about user behavior and reveals possible capacity problems of the hardware at peak times. It becomes possible to create forecasts and to identify which areas of the IT infrastructure should be upgraded. Unauthorized access or fraud attempts can also be detected with the help of log files. Searching for such events manually is very laborious and often not feasible. With automatic evaluation, however, such attempts can be detected quickly so that administrators can respond in a targeted way and avert damage. Automatic notifications, whose content can be defined freely, are helpful here. Actions can be defined for a certain number of failed logins or for the case that a defined limit of server load is exceeded. This can be a notification to the administrators or an automatic response. IP ranges, for example, can be blocked automatically when suspicious login attempts are identified. At dataliquid, we support you in connecting your applications and systems to log management based on Graylog. The Graylog user interface and the search functions of Elasticsearch then give you an overview of the state of your programs and hardware. You can create forecasts based on user behavior on your website and use the monitoring of access data to support security.