ListLogstashPipelines
In this article:
ListLogstashPipelines#
Description#
Request to get a list of Logstash data pipelines in an ELK service.
Request Parameters#
serviceId — The ID of the ELK service.
Type: String
Required: Yes
Response Elements#
logstashPipelines — A list of data pipelines.
Type: Lisf LogstashPipeline of objects
Examples#
Managing PaaS services in NGN Cloud via API requires a customized version of the boto3 library:
import boto3
session = boto3.Session(
aws_access_key_id="<AWS_ACCESS_KEY_ID>",
aws_secret_access_key="<AWS_SECRET_ACCESS_KEY>",
region_name="ngn",
)
paas_client = session.client(
'paas',
endpoint_url='https://paas.cloud.ngn.com.tr/',
)
pipelines = paas_client.list_logstash_pipelines(
serviceId='fm-cluster-C27426C0',
)
Or c2-paas utility from CROC Cloud API Client software suite:
c2-paas ListLogstashPipelines serviceId fm-cluster-C27426C0