2020-05-09 07:04:39 +02:00
{
2020-09-24 22:12:43 +02:00
"$schema" : "https://lnav.org/schemas/format-v1.schema.json" ,
2020-05-09 07:04:39 +02:00
"openstack_log" : {
2020-05-13 18:38:41 +02:00
"title" : "OpenStack log format" ,
"description" : "The log format for the OpenStack log files" ,
"url" : "http://docs.openstack.org/openstack-ops/content/logging_monitoring.html" ,
2020-05-09 07:04:39 +02:00
"regex" : {
"std" : {
2020-12-30 22:49:29 +01:00
"pattern" : "^(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}.\\d{3}) (?<pid>\\d+) (?<level>\\w+) (?<logger>\\S+) \\[(?<tid>[^\\]]+)\\] (?<body>.*)"
} ,
"mod-std" : {
"module-format" : true ,
"pattern" : "^(?<level>\\w+) (?<logger>\\S+) \\[(?<tid>[^\\]]+)\\] (?<body>.*)"
2021-04-28 23:06:14 +02:00
} ,
"keystone" : {
2022-09-12 16:18:26 +02:00
"pattern" : "^[(](?<logger>[^)]+)[)]: (?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2},\\d{3}) (?<level>\\w+) (?!\\()(?<body>.*)"
2021-04-28 23:06:14 +02:00
} ,
"keystone-debug" : {
"pattern" : "^[(](?<logger>[^)]+)[)]: (?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2},\\d{3}) (?<level>\\w+) [(](?<user>[^)]+)[)] (?<body>.*)"
2020-05-09 07:04:39 +02:00
}
2020-05-13 18:38:41 +02:00
} ,
2021-04-28 23:06:14 +02:00
"timestamp-format" : [
"%Y-%m-%d %H:%M:%S.%L" ,
"%Y-%m-%d %H:%M:%S,%L"
] ,
2020-05-13 18:38:41 +02:00
"level-field" : "level" ,
2020-05-09 07:04:39 +02:00
"level" : {
2020-12-30 22:49:29 +01:00
"critical" : "CRITICAL" ,
2020-05-13 18:38:41 +02:00
"error" : "ERROR" ,
"info" : "INFO" ,
"warning" : "WARNING" ,
"trace" : "TRACE" ,
2020-05-09 07:04:39 +02:00
"debug" : "DEBUG"
2020-05-13 18:38:41 +02:00
} ,
2020-05-09 07:04:39 +02:00
"value" : {
"tid" : {
2020-05-13 18:38:41 +02:00
"kind" : "string" ,
2020-05-09 07:04:39 +02:00
"identifier" : true
2020-05-13 18:38:41 +02:00
} ,
2020-05-09 07:04:39 +02:00
"pid" : {
2020-05-13 18:38:41 +02:00
"kind" : "string" ,
2020-05-09 07:04:39 +02:00
"identifier" : true
2020-05-13 18:38:41 +02:00
} ,
2020-05-09 07:04:39 +02:00
"logger" : {
2020-05-13 18:38:41 +02:00
"kind" : "string" ,
2020-05-09 07:04:39 +02:00
"identifier" : true
2021-04-28 23:06:14 +02:00
} ,
"user" : {
"kind" : "string" ,
"identifier" : true
2020-05-09 07:04:39 +02:00
}
2020-05-13 18:38:41 +02:00
} ,
2020-05-09 07:04:39 +02:00
"sample" : [
{
"line" : "2014-10-28 10:42:22.772 23623 INFO neutron.wsgi [req-40743023-00ed-441c-9d0a-19b8167ea0ad None] 10.1.255.252 - - [28/Oct/2014 10:42:22] GET /v2.0/floatingips.json?fixed_ip_address=80.0.0.9&port_id=b4291e0e-a941-4663-9379-7af6471e983f HTTP/1.1 200 208 0.008971"
2021-04-28 23:06:14 +02:00
} ,
{
"line" : "(sqlalchemy.orm.mapper.Mapper): 2021-04-27 06:25:32,122 INFO (User|user) Identified primary key columns: ColumnSet([Column('id', String(length=64), table=<user>, primary_key=True, nullable=False)])"
} ,
{
"line" : "(sqlalchemy.pool.QueuePool): 2021-04-28 16:37:00,355 DEBUG Connection <pymysql.connections.Connection object at 0x7fd88717d0d0> being returned to pool"
2020-05-09 07:04:39 +02:00
}
]
}
2021-04-28 23:06:14 +02:00
}