Skip to content

Latest commit

 

History

History
94 lines (61 loc) · 2.34 KB

SystemprocessingApi.md

File metadata and controls

94 lines (61 loc) · 2.34 KB

graylog.SystemprocessingApi

All URIs are relative to http://log.ano.yumimobi.com/api

Method HTTP request Description
pause_processing PUT /system/processing/pause Pauses message processing
resume_processing PUT /system/processing/resume Resume message processing

pause_processing

pause_processing()

Pauses message processing

If the message journal is enabled, incoming messages will be spooled on disk, if it is disabled, you might lose messages from inputs which cannot buffer themselves, like AMQP or Kafka-based inputs.

Example

import time
import graylog
from graylog.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = graylog.SystemprocessingApi()

try: 
    # Pauses message processing
    api_instance.pause_processing()
except ApiException as e:
    print "Exception when calling SystemprocessingApi->pause_processing: %s\n" % e

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

resume_processing

resume_processing()

Resume message processing

Example

import time
import graylog
from graylog.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = graylog.SystemprocessingApi()

try: 
    # Resume message processing
    api_instance.resume_processing()
except ApiException as e:
    print "Exception when calling SystemprocessingApi->resume_processing: %s\n" % e

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]