Questions tagged [Syslog] (14)

1
answer

Why not create a syslog file after rotation?

After log rotation rsyslog not syslog. Only syslog1 The file /etc/logrotate.d/rsyslog/var/log/syslog { rotate 7 daily missingok notifempty delaycompress compress postrotate /usr/lib/rsyslog/rsyslog-rotate endscript } After running logrotate -df /etc/logrotate.conf in /var/log only:-rw-r--r-- 1 syslog adm 39743 Nov 13 14:4...
lizeth asked April 1st 20 at 17:21
1
answer

Not sent logs to syslog-ng, what are you doing wrong?

Colleagues, help to solve the problem. Set up centralized collection of logs to the server with syslog-ng. I do not understand what you're doing wrong, point in the right direction to solve the problem.The config on the server:/etc/syslog-ng/syslog-ng.conf@version:3.21 @include "scl.conf" # syslog-ng configuration file. #...
javon74 asked March 31st 20 at 15:11
3
answers

As in C++ to pull the logs from syslog?

As in C++ it is best to get the logs from /var/log/syslog with is that at such a time ?
jaren63 asked March 31st 20 at 14:41
3
answers

How in python to parse /var/log/syslog realhomemade?

Need in a loop to process each new row of the /var/log/syslog. How it competently to make? Interested in another point relating to log rotation: each day, the syslog file is transferred to syslog.1, and the new logs are written to syslog clean. How to make at this point, the script "not broken"
Blair_Dicki asked March 25th 20 at 13:33
1
answer

How to pull a variable from the log line syslog-ng?

How to make the message:Jun 17 17:38:02 server2.test nginx: test.ru 192.168.1.121 - [17/Jun/2019:17:38:02 +0300] UNIX-TIME-1560782282.938 "GET / HTTP/1.1" 200 fell into file at path /var/log/test.EN/nginx_ac.log ? Ie the point is that in we a domain name (in this case test.ru) the log was in a folder named domain name ? Dom...
Joel37 asked March 24th 20 at 09:59
0
answer

How to configure prtg for syslog in mikrotik?

Welcome. Give recommendations for settings of the sensor in prtg syslog to receive log from Mikrotik. Now I have configured the sensor: an inclusion filter: severity[0-7] and all The piled logs, but for example this log as below, log misses. Jun 4 08:01:30 10.10.1.1 system,error,critical login failure for user admi from 192...
Loy11 asked March 23rd 20 at 18:59
3
answers

How best to organize the collection of logs on a Syslog Mikrotik for gateway?

Good afternoon. The challenge is collecting logs to a single Syslog server with the following attaching to Zabbix. The problem is that a Syslog server is behind a gateway and Syslog-server identifies as one ip address. Maybe like that you can configure logging on Mikrotik or transformation in others.
Tierra asked March 20th 20 at 12:17
1
answer

How to monitor a text file with The Dude?

The network uses The Dude on Mikrotik for monitoring devices, services, and services. A self-service terminal on Windows 7. The software that controls the terminal, writes the logs in a text form. The challenge is to monitor these logs to pull out some error messages and issue alerts in The Dude. As far as I understand, he...
Lucius_Sporer asked March 18th 20 at 22:03
1
answer

How to protect input to graylog?

In Graylog3 created input to which arrives the log from the device and I still don't understand how to protect this input, because anyone can send terrabyte junk logs in my system of collecting logs. In the documentation about this word, the transmission of syslog occurs without authorization, filtering by IP is nowhere, a...
margarette74 asked March 17th 20 at 12:16
2
answers

Forward logs in the Cloud there are services?

Hello! have remote server (HP DL 360 Gen8 servers) which periodically crashes due to the fall is not saved log and hard to find the reasons. I would like to temporarily somewhere to forwarding logs ILO in the cloud. Can someone met such services ??
Winifred.Donnelly asked March 16th 20 at 14:22