You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lnav/docs/schemas/event-log-msg-detected-v1.s...

53 lines
1.7 KiB
JSON

{
"$id": "https://lnav.org/event-log-msg-detected-v1.schema.json",
"title": "https://lnav.org/event-log-msg-detected-v1.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Event fired when a log message is detected by a watch expression.",
"properties": {
"$schema": {
"title": "/$schema",
"type": "string",
"examples": [
"https://lnav.org/event-log-msg-detected-v1.schema.json"
]
},
"watch-name": {
"title": "/watch-name",
"description": "The name of the watch expression that matched this log message",
"type": "string"
},
"filename": {
"title": "/filename",
"description": "The path of the file containing the log message",
"type": "string"
},
"format": {
"title": "/format",
"description": "The name of the log format that matched this log message",
"type": "string"
},
"timestamp": {
"title": "/timestamp",
"description": "The timestamp of the log message",
"type": "string"
},
"values": {
"description": "The log message values captured by the log format",
"title": "/values",
"type": "object",
"patternProperties": {
"([\\w\\-]+)": {
"title": "/values/<name>",
"type": [
"boolean",
"integer",
"string"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}