Skip to content

BoredHackerBlog/cli_loganalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

What is this

This github repo provides resources and examples for doing log analysis via command line. This repo specifically focuses on using bash and/or *nix system. This is also "documentation" for myself.

Audience

This is mostly targeted at people in infosec and people who may do sysadmin/networking work but this may be useful for anyone else that needs to do quick data analysis via command line.

Requirements

You need a bash shell, you need to be able to install tools, and know some basic linux commands. Some understanding of different log types is required. I'm using Ubuntu and its default shell.

Usage

You should be able to clone this github repo and start following along for the example part or you can copy and paste commands

Basics

  • Basic commands, their usage, and resources
  • Additionally, this section talks about common log types

Examples

  • This goes through actual log analysis and answering questions

More tools

jq

https://stedolan.github.io/jq/

tv

https://github.com/alexhallam/tv

ripgrep

https://github.com/BurntSushi/ripgrep

lnav

https://lnav.org/

goaccess

https://goaccess.io/

angle-grinder

https://github.com/rcoh/angle-grinder

References and resources

About

command line log analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published