This example filters log file entries by starting tag and sends them to a remote listener. The listener prints the logs it receives to terminal.
cd path/to/simstream/examples/logfile_checkerpython log_streamer.pycd path/to/simstream/examples/logfile_checkerpython log_consumer.pycd path/to/simstream/examples/logfile_checkerchmod 700 generate_logs.sh./generate_logs.shThis will write logs to test.txt. The Publisher will continuously check for new logs, filter based on the [STATUS] and [ERROR] tags, and send the filtered results to the RabbitMQ server. The Consumer will receive the filtered log entries and print them to the terminal.