All URIs are relative to http://log.ano.yumimobi.com/api
Method | HTTP request | Description |
---|---|---|
node | GET /system/cluster/node | Information about this node. |
node_0 | GET /system/cluster/nodes/{nodeId} | Information about a node. |
nodes | GET /system/cluster/nodes | List all active nodes in this cluster. |
NodeSummary node()
Information about this node.
This is returning information of this node in context to its state in the cluster. Use the system API of the node itself to get system information.
import time
import graylog
from graylog.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = graylog.SystemclusterApi()
try:
# Information about this node.
api_response = api_instance.node()
pprint(api_response)
except ApiException as e:
print "Exception when calling SystemclusterApi->node: %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]
NodeSummary node_0(node_id)
Information about a node.
This is returning information of a node in context to its state in the cluster. Use the system API of the node itself to get system information.
import time
import graylog
from graylog.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = graylog.SystemclusterApi()
node_id = graylog.Object() # Object |
try:
# Information about a node.
api_response = api_instance.node_0(node_id)
pprint(api_response)
except ApiException as e:
print "Exception when calling SystemclusterApi->node_0: %s\n" % e
Name | Type | Description | Notes |
---|---|---|---|
node_id | Object |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeSummaryList nodes()
List all active nodes in this cluster.
import time
import graylog
from graylog.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = graylog.SystemclusterApi()
try:
# List all active nodes in this cluster.
api_response = api_instance.nodes()
pprint(api_response)
except ApiException as e:
print "Exception when calling SystemclusterApi->nodes: %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]