Collecting Logs from DCS
This section describes the DCS structuring template details.
Structuring Template Details
- DCS audit log structuring template example
Table 1 Structuring template example Template Name
Example Log
DCS audit logs
{"time": 1640966500017, "instance_id": "199a1e5a-8a37-40b9-899e-0ab6805c69eb", "server_addr": "192.168.0.1", "role": "proxy", "client_addr": "10.0.0.1", "client_type": "0", "user": "default", "db": 1, "command_name": "DEL", "command_type": "string", "command_keys": ["key1", "key2", "key3"], "command_param": "DEL key1 key2 key3", "use_time": 500, "extend": ""}
- Structuring fields and description
Table 2 Structuring fields Field
Example
Description
Type
time
1640966500017
Time
long
instance_id
199a1e5a-8a37-40b9-899e-0ab6805c69eb
Instance ID
string
server_addr
192.168.0.1
Server IP
string
role
proxy
Node role
string
client_addr
10.0.0.1
Client IP
string
client_type
0
Client type
string
user
default
Account name
string
db
1
Database
long
command_name
DEL
Command
string
command_type
string
Command type
string
command_keys
[\"key1\",\"key2\",\"key3\"]
Command keys
string
command_param
DEL key1 key2 key3
Command content
string
use_time
500
Execution duration
long
extend
-
Extended information
string
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot