copy in updated config file
@@ -8,8 +8,6 @@ title: "Config File"
The contents of the now-eliminated `scope_protocol.yml` configuration file reside in the `protocol` section of `scope.yml`.
-
-
### scope.yml Config File
Below are the default contents of `scope.yml`:
@@ -376,8 +374,8 @@ event:
# $SCOPE_EVENT_LOGFILE_NAME and $SCOPE_EVENT_LOGFILE_VALUE.
#
- type: file
- name: (\/logs?\/)|(\.log$)|(\.log[.\d])
- value: .*
+ name: (\/logs?\/)|(\.log$)|(\.log[.\d]) # matches the filename
+ value: .* # matches data read or written
# The console category includes writes to standard out and error and is
# intended for monitoring console output, especially in containerized
@@ -393,8 +391,8 @@ event:
# emitting binary data for console events.
#
- type: console
- name: (stdout)|(stderr)
- value: .*
+ name: (stdout)|(stderr) # matches the output stream
+ value: .* # matches data written
allowbinary: true
# The net category includes open and close events on network connections.
@@ -456,10 +454,12 @@ event:
# a single entry in the `headers` array.
#
- type: http
- name: .*
- field: .*
- value: .*
- headers: .* # yes, this should be singular but it's not.
+ name: .* # event name; http.req or http.resp
+ field: .* # matches field names; duration, http_status, etc
+ value: .* # matches field values
+ headers: # list of filters matched against header names
+ #- (?i)Accept # example of case-insensitive filter
+ #- "x-content-type-.*: no.*" # example of required quotes
# The metric category is very seldom used.
# If turned on, AppScope sends non-aggregated metrics out the event channel.
@@ -970,7 +970,6 @@ protocol:
# binary: true
# len: 5
-
# Custom configs
#
custom:
@@ -1061,4 +1060,5 @@ custom:
# enable: true
# EOF
+
```
