command
Version:
v0.0.0-...-808247b
Opens a new window with list of versions in this module.
Published: Sep 13, 2022
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Elastic API
tutorials / databases / elastic
API Documentation:
CURL commands
-v
Verbose
-u "elasticUser:elasticPass"
-k
Ignore unsafe certificate
-X GET
to use http method GET
First set the environment variables as desired:
$ ES_AUTH="elastic:<password>"
$ ES_OPTS='-vkX GET'
$ ES_HOST=https://localhost:9200
Try some commands:
$ curl -u $ES_AUTH $ES_OPTS "$ES_HOST/_security/privilege?pretty"
$ curl -u $ES_AUTH $ES_OPTS "$ES_HOST/_all/_mapping?pretty"
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.