Python 100 project #41: Syslog Post to Slack – Content Filtering

Following up the last project, I created another function so that my syslog server can post slack upon rejection of client request due to the content filtering.

 

Output Example:

 

Here is the new modified syslog_server.py with new function and some rearrangement of the function: