mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-06 08:04:13 +00:00
perf:Stored command records in ES support accurate searching.
This commit is contained in:
@@ -27,8 +27,8 @@ class CommandStore(ES):
|
||||
"type": "long"
|
||||
}
|
||||
}
|
||||
exact_fields = {}
|
||||
match_fields = {'input', 'risk_level', 'user', 'asset', 'system_user'}
|
||||
exact_fields = {'input', 'risk_level', 'user', 'asset', 'account'}
|
||||
match_fields = {'input'}
|
||||
keyword_fields = {'session', 'org_id'}
|
||||
|
||||
super().__init__(config, properties, keyword_fields, exact_fields, match_fields)
|
||||
|
||||
Reference in New Issue
Block a user