--- title: SolarWinds overview: Adapter to deliver logs and metrics to Papertrail and AppOptics backends location: https://istio.io/docs/reference/config/adapters/solarwinds.html layout: protoc-gen-docs number_of_entries: 3 ---
The solarwinds adapter enables Istio to deliver log and metric data to the
Papertrail logging backend and the
AppOptics monitoring backend.
Configuration format for the solarwinds adapter.
Example config usage:
apiVersion: "config.istio.io/v1alpha2"
kind: solarwinds
metadata:
name: handler
namespace: istio-system
spec:
appoptics_access_token: <APPOPTICS SAMPLE TOKEN>
papertrail_url: <PAPERTRAIL URL>
papertrail_local_retention_duration: <RETENTION PERIOD FOR LOGS LOCALLY, Optional>
metrics:
requestcount.metric.istio-system:
label_names:
- source_service
- source_version
- destination_service
- destination_version
- response_code
requestduration.metric.istio-system:
label_names:
- source_service
- source_version
- destination_service
- destination_version
- response_code
requestsize.metric.istio-system:
label_names:
- source_service
- source_version
- destination_service
- destination_version
- response_code
responsesize.metric.istio-system:
label_names:
- source_service
- source_version
- destination_service
- destination_version
- response_code
tcpbytesent.metric.istio-system:
label_names:
- source_service
- source_version
- destination_service
- destination_version
tcpbytereceived.metric.istio-system:
label_names:
- source_service
- source_version
- destination_service
- destination_version
logs:
solarwindslogentry.logentry.istio-system:
payloadTemplate: '{{or (.originIp) "-"}} - {{or (.sourceUser) "-"}} [{{or (.timestamp.Format "2006-01-02T15:04:05Z07:00") "-"}}] "{{or (.method) "-"}} {{or (.url) "-"}} {{or (.protocol) "-"}}" {{or (.responseCode) "-"}} {{or (.responseSize) "-"}}'
Describes how to represent an Istio log entry in Solarwinds AppOptics
Describes how to represent an Istio metric in Solarwinds AppOptics