Questions tagged [syslog]

Syslog is a standard for logging program messages.

Syslog is a standard for logging program messages.Wikipedia

1162 questions
-1
votes
1 answer

How can i convert Syslog messages to columns

I have just got my hands on a Cisco firewall . The firewall is accessed by syslog . I am a new in using Syslog . From Syslog i can get outputs like this in a txt file . 08-03-2017 16:45:21 Local4.Info 192.168.1.1 %ASA-6-302013: Built outbound…
Farshid Rayhan
  • 1,134
  • 4
  • 17
  • 31
-1
votes
1 answer

How to rotate a log file in ubuntu on size basis hourly?

The configuration of my rsyslog file in logrotate : /opt/mapvariable/log/myapp { rotate 24 hourly maxsize 10k compress ifempty postrotate reload rsyslog >/dev/null 2>&1 || true …
ams
  • 315
  • 4
  • 17
-1
votes
1 answer

Implement a function which returns a pointer

I have implemented the syslog daemon service in my golang app. I used syslog.New in main package and it works but now, I want to export it to another package. package config import ( "log/syslog" ) func LogBook() ? { sysLog, _ :=…
icarbajo
  • 321
  • 2
  • 5
  • 17
-1
votes
1 answer

What does this message from syslog@localhost signifies?

Message from syslogd@saskappcu at Mar 18 13:24:54 ... kernel:BUG: soft lockup - CPU#30 stuck for 61s! [events/30:161] Message from syslogd@saskappcu at Mar 18 13:24:54 ... kernel:Process events/30 (pid: 161, ti=f4ea4000 task=f4e5faa0…
Akshaya
  • 3
  • 1
  • 6
-1
votes
2 answers

Include LEVEL into SysLog log file

Is it possibile to show the level (LOG_INFO, LOG_ERROR, ...) information passed to the "syslog" function into each log line? Thank you! Antonio
Antonio Petricca
  • 8,891
  • 5
  • 36
  • 74
-1
votes
1 answer

How can I persuade syslog output on console to include timestamps?

Consider the following program: #include int main() { openlog("test-app", LOG_CONS | LOG_NDELAY | LOG_PERROR | LOG_PID, LOG_USER); setlogmask(LOG_UPTO(LOG_DEBUG)); syslog(LOG_DEBUG, "Testing!"); } Note the use of…
Lightness Races in Orbit
  • 378,754
  • 76
  • 643
  • 1,055
-1
votes
1 answer

Making Syslog server Web-based

How can you make your syslog server become web-based so that you can check syslog from anywhere with secure manner? Can anyone please help?
jax
  • 728
  • 1
  • 11
  • 31
-1
votes
1 answer

iptables redirect udp syslog to another IP address Not forwarding

I have a goofy problem. I am putting in a new syslog collection server in a new facility. We have many different types of devices that we are collecting syslogs on the same port. So I have to redirect the individual IP to a new IP address. This…
-1
votes
1 answer

404 error page writing to syslog in asp

I have a custom 404 page that is written in classic ASP. I am trying to set up that when the page is hit, it should send a log through syslog. How do I write that out?
user1899829
  • 397
  • 1
  • 3
  • 14
-2
votes
1 answer

RFC 5424 and Syslog

When I print content of my log files in /var/log directory for instance head /var/log/messages it seems like the messages are not completley compliant with RFC5424 as described here. First obvious difference is that there is no version at the…
-2
votes
1 answer

Format Syslog data into JSON

I am looking for some advice on an easy way to convert Syslog data into JSON. Currently using a program written in Rust to transmit IoT sensor data over IOTA Tangle but would like to see if it is possible to send Syslog data too. I can manually…
keeno563
  • 1
  • 1
-2
votes
1 answer

Meraki and Syslog-NG

I've been struggling epically to export legible logs from my Meraki devices to a server running Syslog-NG OSE 3.30. No matter what source driver I use on the server, I see errors like this (identifying details changed): May 28 15:56:23 …
-2
votes
1 answer

How can syslog work over UDP if there are critical log messages (ALERT) that cannot be lost? Also log message order is important

Does syslog have any kind of reliable UDP protocol, that lost messages are re-send or something? Or can syslog be only useful over TCP? How does it solve the problem of a critical log message being lost over UDP? Or messages out of order?
CCCCoder3
  • 39
  • 3
-2
votes
3 answers

How to Write Syslog on linux using java

I want to write Syslog using in java program on linux system. I don't want to use any library.
Urvin Shah
  • 61
  • 1
  • 7
-2
votes
1 answer

syslog data valuable for machine learning?

Does anyone have experience with syslog data and machine learning or deep learning? Is syslog data rich enough to use in machine learning algorithms and gain insights? If so, what insights can be gained for it? Are there tools available currently…
1 2 3
77
78