All URIs are relative to http://log.ano.yumimobi.com/api
Method | HTTP request | Description |
---|---|---|
elasticsearch_stats | GET /system/cluster/stats/elasticsearch | Elasticsearch information. |
mongo_stats | GET /system/cluster/stats/mongo | MongoDB information. |
system_stats | GET /system/cluster/stats | Cluster status information. |
ElasticsearchStats elasticsearch_stats()
Elasticsearch information.
This resource returns information about the Elasticsearch Cluster.
import time
import graylog
from graylog.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = graylog.SystemclusterstatsApi()
try:
# Elasticsearch information.
api_response = api_instance.elasticsearch_stats()
pprint(api_response)
except ApiException as e:
print "Exception when calling SystemclusterstatsApi->elasticsearch_stats: %s\n" % e
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MongoStats mongo_stats()
MongoDB information.
This resource returns information about MongoDB.
import time
import graylog
from graylog.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = graylog.SystemclusterstatsApi()
try:
# MongoDB information.
api_response = api_instance.mongo_stats()
pprint(api_response)
except ApiException as e:
print "Exception when calling SystemclusterstatsApi->mongo_stats: %s\n" % e
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterStats system_stats()
Cluster status information.
This resource returns information about the Graylog cluster.
import time
import graylog
from graylog.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = graylog.SystemclusterstatsApi()
try:
# Cluster status information.
api_response = api_instance.system_stats()
pprint(api_response)
except ApiException as e:
print "Exception when calling SystemclusterstatsApi->system_stats: %s\n" % e
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]