You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pipeline/outputs/skywalking.md
+19-17Lines changed: 19 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,30 @@
1
1
# Apache SkyWalking
2
2
3
-
The **Apache SkyWalking** output plugin, allows to flush your records to an [Apache SkyWalking](https://skywalking.apache.org/) OAP. The following instructions assumes that you have a fully operational Apache SkyWalking OAP in place.
3
+
The _Apache SkyWalking_ output plugin lets you flush your records to an [Apache SkyWalking](https://skywalking.apache.org/) OAP. The following instructions assume that you have an operational Apache SkyWalking OAP in place.
| port | TCP port of the Apache SkyWalking OAP | 12800 |
11
-
| auth_token | Authentication token if needed for Apache SkyWalking OAP | None |
12
-
| svc_name | Service name that fluent-bit belongs to | sw-service |
13
-
| svc_inst_name | Service instance name of fluent-bit | fluent-bit |
14
-
| workers | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`0`|
7
+
This plugin supports the following parameters:
8
+
9
+
| Parameter | Description | Default |
10
+
|:--------- |:----------- |:-----------|
11
+
|`host`| Hostname of Apache SkyWalking OAP. |` 127.0.0.1`|
12
+
|`port`| TCP port of the Apache SkyWalking OAP. |`12800`|
13
+
|`auth_token`| Authentication token if needed for Apache SkyWalking OAP. |_none_|
14
+
|`svc_name`| Service name that Fluent Bit belongs to. |`sw-service`|
15
+
|`svc_inst_name`| Service instance name of Fluent Bit. |`fluent-bit`|
16
+
|`workers`| The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`0`|
15
17
16
18
### TLS / SSL
17
19
18
20
The Apache SkyWalking output plugin supports TLS/SSL.
19
21
For more details about the properties available and general configuration, see [TLS/SSL](../../administration/transport-security.md).
20
22
21
-
## Getting Started
23
+
## Get started
22
24
23
-
In order to start inserting records into an Apache SkyWalking service, you can run the plugin through the configuration file:
25
+
To start inserting records into an Apache SkyWalking service, you can run the plugin through the configuration file.
24
26
25
-
### Configuration File
27
+
### Configuration file
26
28
27
29
In your main configuration file append the following:
28
30
@@ -56,19 +58,19 @@ pipeline:
56
58
{% endtab %}
57
59
{% endtabs %}
58
60
59
-
## Output Format
61
+
## Output format
60
62
61
63
The format of the plugin output follows the [data collect protocol](https://github.com/apache/skywalking-data-collect-protocol/blob/743f33119dc5621ae98b596eb8b131dd443445c7/logging/Logging.proto).
62
64
63
-
For example, if we get log as follows,
65
+
For example, if the log is as follows:
64
66
65
67
```json
66
68
{
67
69
"log": "This is the original log message"
68
70
}
69
71
```
70
72
71
-
This message is packed into the following protocol format and written to the OAP via the REST API.
73
+
This message is packed into the following protocol format and written to the OAP using the REST API.
72
74
73
75
```json
74
76
[{
@@ -81,4 +83,4 @@ This message is packed into the following protocol format and written to the OAP
0 commit comments