JC version 1.14.0 release includes new parsers for several commands, including date, wc, sum, cksum, hash, md5, md5sum, shasum, and more!
Category Archives: All Posts
Parsing Command Output in Nornir with JC
Use jc with Nornir to parse the output of commands run on remote hosts.
Parsing Command Output in Saltstack with JC
Use a jc Output and/or Serializer Module to parse the output of commands run on Saltstack Minions.
Parsing Command Output in Ansible with JC
Use the jc community.general Ansible filter plugin to parse the output of commands run on remote hosts.
JC Version 1.13.1 Released
JC version 1.13.1 includes custom parser plugins, ping parser, sysctl parser, tracepath parser, traceroute parser, more FreeBSD support, new packaging, and more!
More Comprehensive Tracebacks in Python
Python has great exception-handling with nice traceback messages that can help debug issues with your code. Here’s an example of a typical traceback message: I usually read these from the bottom-up to zero-in on the issue. Here I can see that my program is trying to pop the last item off a list called parsed_line,Continue reading “More Comprehensive Tracebacks in Python”
JC Version 1.11.1 Released
JC version 1.11.1 includes custom colors, dmidecode parser, enhanced netstat parser, more macOS support, new packaging, and more!
JC Version 1.10.2 Released
JC version 1.10.2 includes color support, axfr support for dig, and other parser updates.
Jello: The JQ Alternative for Pythonistas
jello works similarly to jq but uses the python interpreter, so you can iterate with loops, comprehensions, variables, expressions, etc. just like you would in a full-fledged python script.
JC Version 1.9.0 Released
JC version 1.9.0 now supports 50 parsers. New parsers include airport, file, ntpq, and timedatectl.