Skip to content
Jason Antonacci edited this page Sep 4, 2015 · 4 revisions

Welcome to the vmware-swingline wiki!

Purpose

Swingline helps you spend less time on log search and more time on log review. VMware vSphere storage performance issues require reviewing multiple ESXi host's log bundles, correlating events, and educating both customer and vendors. We need an automated method to accelerate review, generate results suitable for collaboration, and do quick statistical analysis. Swingline!

Requirements

Swingline works with Python 2.6.x and should work with Python 2.7.x on Linux.
Use pip to install Python modules [Dataset](https://dataset.readthedocs.org/en/latest/# # ), XlsxWriter and argparse.

Usage

swingline.py [-h] [-e [{all,default,none,csv,json,xlsx,summary}]] [-b [BUNDLE_DIR]] [-r [RPT_DIR]] [-t [TMP_DIR]] [-l [LOG_DIR]] [-v] [-s] [-q] [--version]

optional arguments:

-h, --help show this help message and exit
-e , --export [{all,default,none,csv,json,xlsx,summary}] : export report(s) in specified format - default is XLSX and Summary
-b , --bundle_dir [BUNDLE_DIR] : vm-support bundle extracted directory - default is cwd
-r , --rpt_dir [RPT_DIR] : export report(s) in directory - default is cwd
-t , --tmp_dir [TMP_DIR] : create temporary file(s) in directory - default is ~
-l , --log_dir [LOG_DIR] : log to file in directory - default is console
-v, --debug : console logging level debug
-s, --silent : console logging level is none
-q, --quiet : console logging level is warning and higher
--version : version information

Clone this wiki locally