To define a LogStream connection, simply set the
SCOPE_CRIBL environment variable specifying a transport type, IP address, and port. For example:
You must supply a host name or IPv4 address, along with an optional port number. If you omit the port number, AppScope will attempt to connect on the default port
On the LogStream side, a built-in AppScope Source receives data from AppScope by default. You can change its configuration or create additional AppScope Sources as needed.
When AppScope establishes a LogStream connection, this sets several AppScope configuration parameters, some of which override settings in any configuration file or environment variable. Any configuration override is logged to AppScope's default log file.
Configuration settings that are potentially overridden include:
The following configuration elements are event watch types which are enabled by default when a LogStream connection is defined:
These event watch types can be overridden by a configuration file or by environment variables.
Other configuration elements are not modified by a LogStream connection.
The AppScope Source streams HTTP payloads to LogStream, whether the payloads originate as HTTP/1.1 or HTTP/2 traffic. LogStream then converts the payloads to HTTP events.
Separately, the AppScope library can convert HTTP/1.1 (not HTTP/2) payloads to HTTP events. This is mainly useful for streaming HTTP events to destinations other than LogStream.
AppScope supports TLS over TCP connections.