Skip to content

Commit f009073

Browse files
author
seolmin
committed
feat: add error message field in cloud logging
Signed-off-by: seolmin <seolmin@megazone.com>
1 parent 7be383f commit f009073

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/cloudforet/monitoring/manager/metadata_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def get_data_source_metadata():
3838
}),
3939
TextDyField.data_source('User Name', 'proto_payload.authenticationInfo.principalEmail'),
4040
DateTimeDyField.data_source('Event Time', 'timestamp'),
41-
TextDyField.data_source('Event Name', 'log_name')
41+
TextDyField.data_source('Event Name', 'log_name'),
42+
TextDyField.data_source('Error Message', 'proto_payload.response.error.message')
4243
]
4344
)
4445
return metadata

0 commit comments

Comments
 (0)