Update BIG-IP system syslog config with python and bigrest

Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’.

Short Description

This script will allow you to update your BIG-IP system syslog configs, just add hosts to the host list variable and it will iterate through them.

How to use this Code Snippet

# No arguments, though can be customized to pass them
python bigip_syslog.py

Code Snippet Meta Information

  1. Version: 0.1
  2. Coding Language: python 3.10.6 w/ bigrest module

Full Code Snippet

bigip_syslog.py (Gist on GitHub)

Note: username and password set as variables in this demo script. Would advise using environment variables or a credential vault for production use.

Published Oct 19, 2022
Version 1.0

Was this article helpful?

No CommentsBe the first to comment