I'm using Red Hat Enterprise Application Platform 6.4.2.GA
on following system:
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.1 (Maipo)
# uname -a
Linux X 3.10.0-229.7.2.el7.x86_64 #1 SMP Fri May 15 21:38:46 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
#
A new syslog handler
was added via Core
-> Logging
-> Handler
-> Syslog Handler
.
On remote host (where rsyslogd
is running), I'm seeing entries such as following:
# grep -c 'JBOSS\[' /var/log/messages
379
# grep 'JBOSS\[' /var/log/messages | tail -1
Aug 5 12:02:15 7dveap01 JBOSS[2615]: X is connected
#
Using journalctl(1)
, I'd like to query the systemd journal and unfortunately I'm not getting desirable (or any) results, here is command that I'm using:
# journalctl --user-unit=JBOSS
-- Logs begin at Mon 2015-07-20 10:14:13 EDT, end at Wed 2015-08-05 12:30:01 EDT. --
#
I can't figure out what I'm doing wrong(Any help is appreciate)