All URIs are relative to http://log.ano.yumimobi.com/api
Method | HTTP request | Description |
---|---|---|
fields | GET /system/fields | Get list of message fields that exist |
Map fields(limit=limit)
Get list of message fields that exist
This operation is comparably fast because it reads directly from the indexer mapping.
import time
import graylog
from graylog.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = graylog.SystemfieldsApi()
limit = graylog.Object() # Object | Maximum number of fields to return. Set to 0 for all fields. (optional)
try:
# Get list of message fields that exist
api_response = api_instance.fields(limit=limit)
pprint(api_response)
except ApiException as e:
print "Exception when calling SystemfieldsApi->fields: %s\n" % e
Name | Type | Description | Notes |
---|---|---|---|
limit | Object | Maximum number of fields to return. Set to 0 for all fields. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]