chronicle-app / chronicle-shell

Shell connectors for Chronicle-ETL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chronicle::Shell

Gem Version

Shell importer for chronicle-etl

Usage and examples

# install chronicle-etl and then this plugin
gem install chronicle-etl
chronicle-etl plugins:install shell

# output commands since 2 weeks ago
$ chronicle-etl --extractor shell:command --schema chronicle --since 2w --loader json

# Show recent commands sorted by frequency of use
$ chronicle-etl --extractor shell:command --loader table --limit 500 --fields command --silent | sort | uniq -c | sort -nr

Available Connectors

Extractors

  • shell:command - Extract shell history from bash or zsh

About

Shell connectors for Chronicle-ETL

License:MIT License


Languages

Language:Ruby 98.3%Language:Shell 1.7%