show journal
Syntax
show journal <file-path>
show journal <service-name>
show journal <unsigned-integer>
show journal <stream>
Description
Display information about journal files.
Options
| file path |
Display the contents of a journal file. Add file path to the command. For example, |
| service name |
Display the contents of a systemctl service. Add service name to the command. For example, |
| Unsigned integer |
Display the last n number of lines. For example, |
| stream |
Stream the data. |
Required Privilege Level
CLI Administrator
Sample Output
show journal
6show journal 6 2025-05-07 08:25:43 UTC May 07 08:24:42 root-sk etcd[972]: finished scheduled compaction at 175622 (took 59.383µs) May 07 08:25:43 root-sk sudo[597452]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/sdcli/system/commo nwrapper.sh '/usr/bin/sdcli/system/show-journal.sh "" "" "6" ""' -p "" -s 1 -m 1 -d 'show journal 6' May 07 08:25:43 root-sk sudo[597452]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) May 07 08:25:43 root-sk sudo[597464]: root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/python3 /usr/local /lib/python3.10/dist-packages/onpremcli/repair/tools/client/createaudit.py -c 'show journal 6' -d 'show journal 6' -o Re ad -s Success May 07 08:25:43 root-sk sudo[597464]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) May 07 08:25:45 root-sk sudo[597464]: pam_unix(sudo:session): session closed for user root $
Release Information
Command introduced in Juniper Security Director Release TBD.