This is a Golang SDK for Alibaba Cloud [Log Service](https://sls.console.aliyun.com/).
API Reference :
* [Chinese](https://help.aliyun.com/document_detail/29007.html)
* [English](https://intl.aliyun.com/help/doc-detail/29007.htm)
[](https://travis-ci.org/aliyun/aliyun-log-go-sdk)
[](https://coveralls.io/github/aliyun/aliyun-log-go-sdk?branch=master)
# Install Instruction
### LogHub Golang SDK
```
go get github.com/aliyun/aliyun-log-go-sdk
```
# Example
### Write and Read LogHub
[loghub_sample.go](example/loghub/loghub_sample.go)
### Use Index on LogHub (SLS)
[index_sample.go](example/index/index_sample.go)
### Create Config for Logtail
[log_config_sample.go](example/config/log_config_plugin.go)
### Create Machine Group for Logtail
[machine_group_sample.go](example/machine_group/machine_group_sample.go)
# For developer
### Update log protobuf
`protoc -I=. -I=$GOPATH/src -I=$GOPATH/src/github.com/gogo/protobuf/protobuf --gofast_out=. log.proto`
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mozillazg/kube-audit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server