Questions tagged [syslog]

Syslog is a standard for logging program messages.

Syslog is a standard for logging program messages.Wikipedia

1162 questions
0
votes
1 answer

How to send a message to a remote syslog by using syslog.h

The following code send a message to the file /var/log/syslog. I have a remote server which is listening in port 514(rsyslog). Is there any way to change this code so it will send a message to the remote server? #include #include…
RoiHatam
  • 876
  • 10
  • 19
0
votes
2 answers

removing \r as they go into syslog file

I have an app being written to work both on Linux and Windows. For portability, new line is taken as \r\n. This app is logging some useful information to debug. It is the syslog which logs the information in Linux. When open the syslog file, all the…
syam
  • 267
  • 1
  • 4
  • 11
0
votes
2 answers

Processing syslog output to csv with python

I need help with taking log events from my siem and processing them into a csv file that can be ingested into hadoop for further processing. Below is sample from the siem and the desired result. I'm working in python but I'm not as experienced as i…
0
votes
0 answers

printk stopped writing to after booting into new compiled kernel

I have compiled latest Linux kernel version (3.7.6) on my VMware machine and was able to successfully boot into new kernel, however for some reason I am not able to view printk messages from kernel in syslog (I am checking /var/log/messages ),…
asio_guy
  • 3,667
  • 2
  • 19
  • 35
0
votes
1 answer

Can we change the log message format in sysklogd (similar to creating templates in rsyslog)

I have to send data from rsyslog in a format like this Eg: fac:kern HELLO pri:info HELLO May 5 14:06:31 nitish-VirtualBox kernel: Kernel logging (proc) stopped. So i created a new conf file called "my.conf" in /etc/rsyslog.d/ and added the…
Nitish P
  • 43
  • 9
0
votes
2 answers

Implement syslog to remote host in Windows service

I've been looking to implement sending log data to a remote Syslog host from my Windows service, so far the only decent library based option I have found is the UDP remote Syslog sender in the POCO net library. I'm interested in Syslog with TLS as…
Earl Sven
  • 251
  • 4
  • 14
0
votes
2 answers

Flex / AIR - Can it receive SYSLOG notices?

Is there a way for Flex / AIR to receive syslog notices from devices such as cisco switches etc? Does anyone know of any information I can read or sites to look at?
medoix
  • 1,189
  • 2
  • 16
  • 36
0
votes
1 answer

syslog.conf configuration to log only into a custom log file,

I am using syslog in my application, I have created a rule in syslog.conf file to log data from my application in to specific file. But it is also writing in to the standard syslog file, i dont want that. Can anybody please tell me to how to make…
fkhan
  • 1
  • 1
0
votes
1 answer

Syslog4j - remove prefix from the message

Sample code: final SyslogIF syslog = Syslog.getInstance(props.getProperty("protocol")); final SyslogConfigIF config =…
Sudhanshu Umalkar
  • 4,174
  • 1
  • 23
  • 33
0
votes
1 answer

PAM "pam_unix.so" authentication sometimes fails

I'm having some trouble with PAM. I have a tomcat webapp that uses PAM to authenticate. During install we make a symbolic link in /etc/pam.d to the /etc/pam.d/sshd file. This has always worked. Recently I added a way for users to authenticate each…
mlathe
  • 2,375
  • 1
  • 23
  • 42
0
votes
3 answers

How to define an additional Java log level?

The standard Java logging defines the following log levels: SEVERE (highest) WARNING INFO CONFIG FINE FINER FINEST This is incompatible to RFC 5424, because it lacks a NOTICE level between INFO and WARNING. Java lacks some additional log levels…
ceving
  • 21,900
  • 13
  • 104
  • 178
0
votes
1 answer

Using Syslog functionality in Graylog2

I have Graylog2 v 0.9.6 installed, its syslog server is listening on UDP port 33000. Below is its configuration: # On which port (UDP) should we listen for Syslog messages? (Standard: 514) syslog_listen_port = 33000 syslog_protocol = udp #…
Hussain Pirosha
  • 1,358
  • 1
  • 11
  • 19
0
votes
1 answer

Using logAnalyzer with log4j syslog appender

I am trying to send syslog messages from my web application to RSYSLOG and then view them in logAnalyzer. I manage to see the logs but the following fields are not shown in the main table: Facility, Sevirty, ProcessID. They do appear in the…
0
votes
1 answer

Gearmand not starting properly, getting "multiple occurences" returned

Gearmand ran for about a day before I tried to restart it and it wouldn't come back up. Getting the following and the syslog doesn't have anything in it that refers to gearman. ~$ /etc/init.d/gearman-job-server stop && /etc/init.d/gearman-job-server…
Chris
  • 417
  • 1
  • 6
  • 14
0
votes
1 answer

syslog-ng install finished without the needed files

I downloaded syslog-ng OSE from the site (version 3.4.0alpha3) successfully run ./configure make make install but I've got no /etc/syslog-ng.conf nor /etc/init.d/syslog-ng What might be the reason? env is centos 6.3
roi
  • 39
  • 6