SkyWalking

The Apache SkyWalking output plugin, allows to flush your records to a Apache SkyWalking OAP. The following instructions assumes that you have a fully operational Apache SkyWalking OAP in place.

Configuration Parameters

TLS / SSL

Apache SkyWalking output plugin supports TLS/SSL, for more details about the properties available and general configuration, please refer to the TLS/SSL section.

Getting Started

In order to start inserting records into an Apache SkyWalking service, you can run the plugin through the configuration file:

Configuration File

In your main configuration file append the following Input & Output sections:

[INPUT]
    Name cpu

[OUTPUT]
    Name skywalking
    svc_name dummy-service
    svc_inst_name dummy-service-fluentbit

Output Format

The format of the plugin output follows the data collect protocol.

For example, if we get log as follows,

{
   "log": "This is the original log message"
}

This message is packed into the following protocol format and written to the OAP via the REST API.

[{
  "timestamp": 123456789,
  "service": "dummy-service",
  "serviceInstance": "dummy-service-fluentbit",
  "body": {
    "json": {
      "json": "{\"log\": \"This is the original log message\"}"
    }
  } 
}]

Last updated