All URIs are relative to http://X.X.X.X/seldon-deploy/api/v1alpha1
Method | HTTP request | Description |
---|---|---|
read_application_logs | POST /applicationlogs | Read application container logs from elastic search. |
ApplicationLogsResponse read_application_logs(body)
Read application container logs from elastic search.
from __future__ import print_function
import time
import seldon_deploy_sdk
from seldon_deploy_sdk.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: OAuth2
configuration = seldon_deploy_sdk.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = seldon_deploy_sdk.ApplicationLogsApi(seldon_deploy_sdk.ApiClient(configuration))
body = seldon_deploy_sdk.ApplicationLogsParams() # ApplicationLogsParams | ApplicationLogs
try:
# Read application container logs from elastic search.
api_response = api_instance.read_application_logs(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ApplicationLogsApi->read_application_logs: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | ApplicationLogsParams | ApplicationLogs |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]