Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.88 KB

File metadata and controls

62 lines (42 loc) · 1.88 KB

Graylog

Graylog

Graylog is a leading centralized log management solution built to open standards for capturing, storing, and enabling real-time analysis of terabytes of machine data.

Installation

Start all services with exposed data directories:

docker-compose up

Configuration

Graylog open and use login and password:

user: admin
password: admin

Now you are not sending data to Graylog, so you need to configure an input. This will tell Graylog to accept the log messages. Go back to the Graylog console open in your browser and click System -> Inputs. Then select Syslog UDP and click Launch new input. Fill out the circles with the values in the screen shown below.

allow_override_date: true
bind_address: 0.0.0.0
expand_structured_data: false
force_rdns: false
number_worker_threads: 8
override_source: <empty>
port: 12201
recv_buffer_size: 262144
store_full_message: false

Possible problems

you can have a situation when after receiving a message in Graylog your message code will be broken. For fix this

x�%�A � ����Z�L��2�bJ�2�q��=����wC��)��a�
�����r�\�+��r̥.�1��:�.;5��k�5u����v������C�������

The reason is collector_sidecar output into the wrong INPUT format(syslog type). Create a new type INPUT(GELF) and change collector_sidecar output to the new INPUT,everything is OK!

Resources:

Graylog documenttation

gelf-php

Messy code in messages

Author

Dykyi Roman, e-mail: [email protected]