Merge "Updating freezer-api elk mappings"

This commit is contained in:
Jenkins 2016-03-16 19:19:10 +00:00 committed by Gerrit Code Review
commit 6ba1df0e0a
1 changed files with 71 additions and 1 deletions

View File

@ -1,5 +1,6 @@
"""
Copyright 2015 Hewlett-Packard
(c) Copyright 2016 Hewlett Packard Enterprise Development Company LP
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -90,6 +91,30 @@ backups_mapping = {
"client_version": {
"type": "string",
},
"compression": {
"type": "string",
},
"log_file": {
"type": "string",
},
"proxy": {
"type": "string",
},
"ssh_key": {
"type": "string",
},
"ssh_username": {
"type": "string",
},
"ssh_host": {
"type": "string",
},
"ssh_port": {
"type": "long",
},
"storage": {
"type": "string",
},
"compression_alg": {
"type": "string",
},
@ -164,8 +189,14 @@ backups_mapping = {
"vol_snap_path": {
"type": "string",
},
"os_auth_version": {
"type": "string",
},
},
},
"backup_uuid": {
"type": "string",
},
"user_id": {
"index": "not_analyzed",
"type": "string",
@ -173,6 +204,14 @@ backups_mapping = {
"user_name": {
"type": "string",
},
"client_id": {
"index": "not_analyzed",
"type": "string"
},
"job_id": {
"index": "not_analyzed",
"type": "string"
},
},
}
@ -187,6 +226,9 @@ jobs_mapping = {
},
"job_actions": {
"properties": {
"action_id": {
"type": "string"
},
"freezer_action": {
"properties": {
"action": {
@ -198,6 +240,15 @@ jobs_mapping = {
"container": {
"type": "string"
},
"hostname": {
"type": "string"
},
"snapshot": {
"type": "boolean"
},
"storage": {
"type": "string"
},
"dry_run": {
"type": "boolean"
},
@ -245,7 +296,23 @@ jobs_mapping = {
},
"restore_from_host": {
"type": "string"
}
},
"ssh_host": {
"type": "string"
},
"ssh_port": {
"type": "long"
},
"ssh_key": {
"index": "not_analyzed",
"type": "string"
},
"ssh_username": {
"type": "string"
},
"proxy": {
"type": "string"
},
}
},
"mandatory": {
@ -256,6 +323,9 @@ jobs_mapping = {
},
"max_retries_interval": {
"type": "long"
},
"user_id": {
"type": "string"
}
}
},