Merge "add search param in index.rst & fix json file name & sore params"
This commit is contained in:
commit
aa9210c9c2
@ -12,4 +12,7 @@ OpenStack Log API V1 (CURRENT)
|
|||||||
.. custom config document.
|
.. custom config document.
|
||||||
.. include:: custom-config.inc
|
.. include:: custom-config.inc
|
||||||
|
|
||||||
|
.. search log document.
|
||||||
|
.. include:: search-params.inc
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
# variables in path
|
# variables in path
|
||||||
|
|
||||||
# variables in query
|
# variables in query
|
||||||
param_type:
|
index_type:
|
||||||
description: |
|
description: |
|
||||||
the type of parameter, such as host_name, level, program_name, module_name
|
the type of elasticsearch index, flog:Openstack log, slog:the host OS log
|
||||||
in: query
|
in: query
|
||||||
required: true
|
required: false
|
||||||
type: string
|
type: string
|
||||||
module_name:
|
module_name:
|
||||||
description: |
|
description: |
|
||||||
@ -15,9 +15,9 @@ module_name:
|
|||||||
in: query
|
in: query
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
index_type:
|
param_type:
|
||||||
description: |
|
description: |
|
||||||
the type of elasticsearch index, flog:Openstack log, slog:the host OS log
|
the type of parameter, such as host_name, level, program_name, module_name
|
||||||
in: query
|
in: query
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
@ -36,5 +36,5 @@ Response
|
|||||||
**Example: JSON request**
|
**Example: JSON request**
|
||||||
|
|
||||||
|
|
||||||
.. literalinclude:: ./samples/search-log/search-params-show-response.json.json
|
.. literalinclude:: ./samples/search-log/search-params-show-response.json
|
||||||
:language: javascript
|
:language: javascript
|
||||||
|
Loading…
Reference in New Issue
Block a user