Tüm eklentilerin veya belirtilen bir eklentinin ayrıntılı bilgilerini sorgular.
Hata Ayıklama
İstek üstbilgileri
Bu işlem yalnızca ortak istek üstbilgilerini kullanır. Daha fazla bilgi için bkz. Ortak istek üstbilgileri.
İstek sözdizimi
GET /openapi/logstashes/{InstanceId}/plugins HTTP/1.1
İstek parametreleri
| Parametre | Tür | Konum | Gerekli | Açıklamalar | Açıklama |
| InstanceId | String | Path | Evet | ls-cn-oew1qbgl**** | Örnek ID'si. |
| name | String | Query | Hayır | logstash-filter-clone | Eklenti adı. |
| page | Integer | Query | Hayır | 10 | Eklenti listesindeki sayfa numarası. Varsayılan değer: 1. Minimum değer: 1. Maksimum değer: 200. |
| size | Integer | Query | Hayır | 3 | Her sayfada döndürülecek giriş sayısı. Minimum değer: 1. Maksimum değer: 200. |
| source | String | Query | Hayır | USER | Eklenti kaynağı. Geçerli değerler:
|
Yanıt parametreleri
| Parametre | Tür | Örnek | Açıklama |
| RequestId | String | 99407AB-2FA9-489E-A259-40CF6DCC**** | İstek ID'si. |
| Result | Array of Result | Döndürülen sonuçlar. |
|
| description | String | The clone filter is for duplicating events. | Eklenti açıklaması. |
| specificationUrl | String | https://xxx.html | Eklenti belgelerinin adresi. |
| state | String | INSTALLED | Eklenti durumu. Geçerli değerler:
|
| source | String | SYSTEM | Eklenti kaynağı. |
| name | String | logstash-filter-clone | Eklenti adı. |
Döndürülen veriler ayrıca aşağıdaki parametreleri içerir.
|
Parametre |
Tür |
Örnek |
Açıklama |
|
Headers |
Struct |
Yanıtın üstbilgisi. |
|
|
└X-Total-Count |
Integer |
131 |
Döndürülen eklenti sayısı. |
└ sembolü, bir alt parametreyi gösterir.
Örnekler
Örnek istekler
GET /openapi/logstashes/ls-cn-oew1qbgl****/plugins?name=logstash-filter-clone&page=10&size=3&source=USER HTTP/1.1
Host:elasticsearch.aliyuncs.com
Content-Type:application/json
Başarılı yanıt örnekleri
JSON biçimi
HTTP/1.1 200 OK
Content-Type:application/json
{
"Result" : [ {
"name" : "logstash-filter-clone",
"state" : "INSTALLED",
"source" : "SYSTEM",
"description" : "The clone filter is for duplicating events. A clone will be created for each type in the clone list.",
"specificationUrl" : "https://www.elastic.co/guide/en/logstash/6.7/plugins-filters-clone.html"
}, {
"name" : "logstash-filter-csv",
"state" : "INSTALLED",
"source" : "SYSTEM",
"description" : "The CSV filter takes an event field containing CSV data, parses it, and stores it as individual fields (can optionally specify the names). This filter can also parse data with any separator, not just commas.",
"specificationUrl" : "https://www.elastic.co/guide/en/logstash/6.7/plugins-filters-csv.html"
}, {
"name" : "logstash-filter-date",
"state" : "INSTALLED",
"source" : "SYSTEM",
"description" : "The date filter is used for parsing dates from fields, and then using that date or timestamp as the logstash timestamp for the event.",
"specificationUrl" : "https://www.elastic.co/guide/en/logstash/6.7/plugins-filters-date.html"
} ],
"RequestId" : "40C0570B-AB40-48BA-8CAE-66EA230A****",
"Headers" : {
"X-Total-Count" : 131
}
}
Hata kodu
Hata kodlarının listesi için API Error Center adresini ziyaret edin.