Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogAnalyticsAdapter ¶
func NewLogAnalyticsAdapter(route *router.Route) (router.LogAdapter, error)
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter defines a logspout adapter for azure log analytics.
type LogClient ¶
type LogClient struct {
// contains filtered or unexported fields
}
LogClient is the client for log analytics
func NewLogClient ¶
NewLogClient creates a log client
type ModuleMessage ¶
type ModuleMessage struct { V int `json:"version"` Time time.Time `json:"timeEmitted"` Level string `json:"level"` Data string `json:"msg"` ModuleName string `json:"moduleName"` ContainerID string `json:"containerID"` ContainerImage string `json:"containerImage"` Hostname string `json:"hostname"` IoTHubName string `json:"iothubname"` IoTHubDeviceID string `json:"iothubdeviceid"` }
ModuleMessage defines a log message from an IoT Edge module.
Click to show internal directories.
Click to hide internal directories.