type
:"elasticsearch"
name
: str, requiredhosts
: list of Host, required
url
: str, requiredport
: intusername
: strpassword
: strheaders
: dict
DATA_PROVIDERS: [
type: 'elasticsearch'
name: '<name>'
hosts: '<hosts>'
,
...
]
domain
: str, requiredname
: str, requiredsearch_method
:search
ormsearch
, requiredbody
: dict forsearch
or list formsearch
, requiredindex
: str (required forsearch
)parameters
: dict
DATA_SOURCES: [
domain: '<domain>'
name: '<name>'
search_method: '<search_method>'
body: '<body>'
index: '<index>'
parameters: '<parameters>'
,
...
]
Data will correspond to the field _source
of the API response.
See API documentation for :