how to send a message to external syslog
Posted: Wed Nov 26, 2025 11:16 am
Hi
now is possible to read a log in as400 with SQL and obtain
a syslog field compliance RFC5424
SELECT
message_id, message_timestamp, from_job,
message_tokens, message_text,
syslog_event
FROM TABLE (QSYS2.HISTORY_LOG_INFO(
START_TIME => CURRENT_TIME - 1 HOURS,
END_TIME => CURRENT_TIME,
GENERATE_SYSLOG =>'RFC5424'
) )
there is a way to send output to a external syslog server
which is listening on port 514 ?
Thank you
now is possible to read a log in as400 with SQL and obtain
a syslog field compliance RFC5424
SELECT
message_id, message_timestamp, from_job,
message_tokens, message_text,
syslog_event
FROM TABLE (QSYS2.HISTORY_LOG_INFO(
START_TIME => CURRENT_TIME - 1 HOURS,
END_TIME => CURRENT_TIME,
GENERATE_SYSLOG =>'RFC5424'
) )
there is a way to send output to a external syslog server
which is listening on port 514 ?
Thank you