These examples provide details for most of the use cases introduced earlier.
Run Firefox from the AppScope CLI, and view results on a terminal-based dashboard:
scope firefox
scope dash
hello
to the Datadog server at ddog
:scope run -m udp://ddog:8125
ddoghost
, using an environment variable and all other defaults:LD_PRELOAD=/opt/appscope/libscope.so SCOPE_METRIC_DEST=udp://ddoghost:8125 nginx
SCOPE_EVENT_DNS=true LD_PRELOAD=./libscope.so curl https://cribl.io
myHost.example.com
on port 9000, using the config file at /opt/appscope/scope.yml
:scope run -u /opt/appscope/scope.yml -- curl https://cribl.io
Example config file:
event:
enable: true
transport:
type: tcp
host: myHost.example.com
port: 9000
Send HTTP events from Slack to a Splunk server at myHost.example.com
:
scope run --passthrough -- slack
Example config file:
event:
enable: true
transport:
type: tcp
host: myHost.example.com
port: 8083
...
watch:
- type: http
name: .*
field: .*
value: .*