diff --git a/apps/terminal/backends/command/es.py b/apps/terminal/backends/command/es.py index 72a39d13c..678698ff6 100644 --- a/apps/terminal/backends/command/es.py +++ b/apps/terminal/backends/command/es.py @@ -32,7 +32,7 @@ class CommandStore(): hosts = config.get("HOSTS") kwargs = config.get("OTHER", {}) self.index = config.get("INDEX") or 'jumpserver' - self.doc_type = config.get("DOC_TYPE") or 'command_store' + self.doc_type = config.get("DOC_TYPE") or '_doc' self.exact_fields = {} self.match_fields = {}