4. Run Demo
Now that the mechanics of the environment are understood, it is time to use it.
Start Collector#
Run the following command to start the collector:
. /workspaces/$RepositoryName/.env
/workspaces/$RepositoryName/dynatrace-otel-collector --config=/workspaces/$RepositoryName/config.yaml
Generate syslog Data#
Open a new terminal and generate a single syslog message and send to the collector:
python3 /workspaces/$RepositoryName/syslog_generator.py --host 127.0.0.1 --port 54526 --file /workspaces/$RepositoryName/sample_log_lines.log --count 1