mirror of https://github.com/tstack/lnav
[format] use the module level for a message
parent
787b33f45c
commit
2996a90afa
@ -1,30 +1,4 @@
|
|||||||
Jun 3 07:00:23 Tim-Stacks-iMac.local sudo[2326]: stack : TTY=ttys002 ; PWD=/ ; USER=root ; COMMAND=/bin/ls
|
Jun 3 07:00:23 Tim-Stacks-iMac.local sudo[2326]: stack : TTY=ttys002 ; PWD=/ ; USER=root ; COMMAND=/bin/ls
|
||||||
key 53:53 ^
|
msg :
|
||||||
word 53:58 ^---^ stack
|
format :
|
||||||
val 53:58 ^---^ stack
|
null
|
||||||
pair 53:58 ^---^ stack
|
|
||||||
key 61:64 ^-^ TTY
|
|
||||||
sym 65:72 ^-----^ ttys002
|
|
||||||
val 65:72 ^-----^ ttys002
|
|
||||||
pair 61:72 ^---------^ TTY=ttys002
|
|
||||||
key 75:78 ^-^ PWD
|
|
||||||
path 79:80 ^ /
|
|
||||||
val 79:80 ^ /
|
|
||||||
pair 75:80 ^---^ PWD=/
|
|
||||||
key 83:87 ^--^ USER
|
|
||||||
word 88:92 ^--^ root
|
|
||||||
val 88:92 ^--^ root
|
|
||||||
pair 83:92 ^-------^ USER=root
|
|
||||||
key 95:102 ^-----^ COMMAND
|
|
||||||
path 103:110 ^-----^ /bin/ls
|
|
||||||
val 103:110 ^-----^ /bin/ls
|
|
||||||
pair 95:110 ^-------------^ COMMAND=/bin/ls
|
|
||||||
msg : stack : TTY=ttys002 ; PWD=/ ; USER=root ; COMMAND=/bin/ls
|
|
||||||
format : # : TTY=# ; PWD=# ; USER=# ; COMMAND=#
|
|
||||||
{
|
|
||||||
"col_0": "stack",
|
|
||||||
"TTY": "ttys002",
|
|
||||||
"PWD": "/",
|
|
||||||
"USER": "root",
|
|
||||||
"COMMAND": "/bin/ls"
|
|
||||||
}
|
|
||||||
|
@ -1,35 +1,4 @@
|
|||||||
Jun 3 07:02:37 Tim-Stacks-iMac.local sudo[2717]: stack : TTY=ttys002 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/env VAR1=foo ls
|
Jun 3 07:02:37 Tim-Stacks-iMac.local sudo[2717]: stack : TTY=ttys002 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/env VAR1=foo ls
|
||||||
key 53:53 ^
|
msg :
|
||||||
word 53:58 ^---^ stack
|
format :
|
||||||
val 53:58 ^---^ stack
|
null
|
||||||
pair 53:58 ^---^ stack
|
|
||||||
key 61:64 ^-^ TTY
|
|
||||||
sym 65:72 ^-----^ ttys002
|
|
||||||
val 65:72 ^-----^ ttys002
|
|
||||||
pair 61:72 ^---------^ TTY=ttys002
|
|
||||||
key 75:78 ^-^ PWD
|
|
||||||
path 79:80 ^ /
|
|
||||||
val 79:80 ^ /
|
|
||||||
pair 75:80 ^---^ PWD=/
|
|
||||||
key 83:87 ^--^ USER
|
|
||||||
word 88:92 ^--^ root
|
|
||||||
val 88:92 ^--^ root
|
|
||||||
pair 83:92 ^-------^ USER=root
|
|
||||||
key 95:102 ^-----^ COMMAND
|
|
||||||
path 103:115 ^----------^ /usr/bin/env
|
|
||||||
wspc 115:116 ^
|
|
||||||
sym 116:120 ^--^ VAR1
|
|
||||||
word 121:124 ^-^ foo
|
|
||||||
wspc 124:125 ^
|
|
||||||
word 125:127 ^^ ls
|
|
||||||
val 103:127 ^----------------------^ /usr/bin/env VAR1=foo ls
|
|
||||||
pair 95:127 ^------------------------------^ COMMAND=/usr/bin/env VAR1=foo ls
|
|
||||||
msg : stack : TTY=ttys002 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/env VAR1=foo ls
|
|
||||||
format : # : TTY=# ; PWD=# ; USER=# ; COMMAND=#
|
|
||||||
{
|
|
||||||
"col_0": "stack",
|
|
||||||
"TTY": "ttys002",
|
|
||||||
"PWD": "/",
|
|
||||||
"USER": "root",
|
|
||||||
"COMMAND": "/usr/bin/env VAR1=foo ls"
|
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
Jan 3 09:47:02 veridian sudo: timstack : TTY=pts/6 ; PWD=/auto/wstimstack/rpms/lbuild/test ; USER=root ; COMMAND=/usr/bin/tail /var/log/messages
|
Jan 3 09:47:02 veridian sudo: timstack : TTY=pts/6 ; PWD=/auto/wstimstack/rpms/lbuild/test ; USER=root ; COMMAND=/usr/bin/tail /var/log/messages
|
||||||
Mar 24 14:02:50 bigproduct-web1 tomcat.log: 127.0.0.1 - - "GET /includes/js/combined-javascript.js HTTP/1.1" 200 65508 4.386
|
Mar 24 14:02:50 bigproduct-web1 tomcat.log: 127.0.0.1 - - "GET /includes/js/combined-javascript.js HTTP/1.1" 200 65508 4.386
|
||||||
|
Mar 24 14:02:50 bigproduct-web1 tomcat.log: 127.0.0.1 - - "GET /bad.foo HTTP/1.1" 404 65508 4.386
|
||||||
Mar 24 14:02:51 bigproduct-web1 automount[7999]: lookup(file): lookup for opt failed
|
Mar 24 14:02:51 bigproduct-web1 automount[7999]: lookup(file): lookup for opt failed
|
||||||
Mar 24 14:26:01 --- last message repeated 2 times ---
|
Mar 24 14:26:01 --- last message repeated 2 times ---
|
||||||
|
Loading…
Reference in New Issue