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

Avoid double quote scaping powershell

I have a command output (json) stored in a posershell variable and want to send it as syslog to a remote device. The output looks like this: {"Event":{"EventData":{"CommandLine":"\"C:\\Windows\\system32\\nslookup.exe\"…
Richard
  • 63
  • 1
  • 9
-1
votes
1 answer

Cannot find Logstash Index in Kibana

I am trying to setup a central Logging solution for Syslog-UDP Logging data with ELK stack in the docker environment. I tried to setup a docker-compose.yml with the oss versions of the ELK-Stack. After firing docker-compose up, I expected to see the…
-1
votes
2 answers

Crontab add message to syslog

I would like to add message after every step in crontab, something like: 15 23 * * * sudo ifconfig wlan0 down 2>&1 | logger -t WiFi_Down 15 9 * * * sudo ifconfig wlan0 up 2>&1 | logger -t WiFi_UP So in syslog should appear only "Wifi_Down" and…
zuku
  • 9
  • 2
-1
votes
2 answers

Extract data from syslog with rsyslog

I'm actually working on Syslog Server in CentOS 7. I would like to create a dynamic file from the user variable on the message part. So, in my example, if the message part is : 30-Jan-2022 11:50:10 HOSTNAME ... pri=5 confid=01 slotlevel=2…
-1
votes
1 answer

How to mirror udp traffic between two hosts to a third remote k8s host in a readable manner?

Use case: Onpremise log server traffic need to be replicated to a cloud based log server. What works : Device A can send logs to log Server B over UDP 514. Server B and cloud based log server C are reachable to each other but on different network. A…
Rushikesh J
  • 685
  • 1
  • 7
  • 14
-1
votes
1 answer

QRadar no listening on 514 port

I install a fresh QRadar community, and have configured a syslog event source. But QRadar is not listening on the 514 port (no TCP nor UDP) Do you have any idea ? Here is the output of netstat: [root@localhost ~]# netstat -nlp|grep 514 tcp6 0 …
Franofcholet
  • 81
  • 1
  • 3
  • 7
-1
votes
1 answer

How to send additional parameters from syslog to logstash like message or some addtional name

I want to send additional parameters like message from syslog in omfwd format and also need to know what filter i can set on logstash to read this additional parameter Syslog configuration: ..... action(type="omfwd" Target="1.1.1.1" Port="1234"…
-1
votes
1 answer

Syslog server not displaying sonic wall firewall logs

We have configured syslog in sonic wall firewal... in firewall packets are forwarding to syslog server that is centos but in the syslog server we are unable to findout where the logs have been stored.
karthik sl17
  • 19
  • 1
  • 7
-1
votes
2 answers

What is Linux service/daemon file logging best practice apart from syslog?

I think syslog is really a good choice for service. Besides syslog, is there any other file logging best practice ? Is writing file to /tmp or /var/log directly appropriate?
linrongbin
  • 2,967
  • 6
  • 31
  • 59
-1
votes
2 answers

How to write end of file with new line in linux?

I want to write, a script output into logfile at the end with new line.. with this command, it replace the file. echo "hai" > /tmp/syslog.txt but I need add "hai" with existing file content at the end with new line.. thanks in advance..
-1
votes
2 answers

how to send only specific files to remote server using rsyslog

I am new to rsyslog. I have multiple servers(rsyslog servers) sending syslog messages to a remote server(syslog-ng server). Right now, I am sending everything to the remote server. I want to filter out and send logs from specific files to the remote…
Meet101
  • 711
  • 4
  • 18
  • 35
-1
votes
1 answer

Syslog max parameter size

I'm configuring Syslog layout and I'm wondering if I can set a max string size for a parameter, so the output won't be to long. For example: I would like the log…
mas
  • 1
  • 3
-1
votes
1 answer

syslog NG not starting up when specifying an ip address but works as a catch all and write to file setup

I am trying to setup a syslog NG server where i could collect all the logs. now ive managed to create the settings where the server will collect all the logs from all the servers and write it to a single file. but i was wondering if its possible to…
-1
votes
1 answer

Log all terminal commands in file

I've tried this solution: https://askubuntu.com/a/858319 It works good but the only trouble with syslog is that commands from SCREEN can't be logged. If someone tried anything else, or knows better way to log all inputted commands in Linux…
Viktor Khilin
  • 1,760
  • 9
  • 21
-1
votes
2 answers

DB2 Logs export from iseries

Is there a way to export logs from a DB2 database on Iseries Power 8 to a syslog collector like graylog please? thanks, Bryan
Bryan
  • 1
  • 1