All Projects → MTDL9 → vim-log-highlighting

MTDL9 / vim-log-highlighting

Licence: MIT license
Syntax highlighting for generic log files in VIM

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to vim-log-highlighting

clojure.vim
Clojure syntax highlighting for Vim and Neovim.
Stars: ✭ 23 (-85.98%)
Mutual labels:  syntax-highlighting, vim-plugin, vim-syntax
stan-vim
A Vim plugin for the Stan probabilistic programming language.
Stars: ✭ 41 (-75%)
Mutual labels:  syntax-highlighting, vim-plugin
Octopussy
Octopussy - Open Source Log Management Solution
Stars: ✭ 111 (-32.32%)
Mutual labels:  log-analysis, log
Vim Crystal
Vim filetype and tools support for Crystal language.
Stars: ✭ 326 (+98.78%)
Mutual labels:  syntax-highlighting, vim-plugin
siemstress
Very basic CLI SIEM (Security Information and Event Management system).
Stars: ✭ 24 (-85.37%)
Mutual labels:  log-analysis, log
Logparser
A toolkit for automated log parsing [ICSE'19, TDSC'18, DSN'16]
Stars: ✭ 620 (+278.05%)
Mutual labels:  log-analysis, log
vim-smt2
A VIM plugin that adds support for the SMT-LIB2 format (including Z3's extensions)
Stars: ✭ 35 (-78.66%)
Mutual labels:  syntax-highlighting, vim-plugin
Vim Js
💯The most accurate syntax highlighting plugin for JavaScript and Flow.js
Stars: ✭ 99 (-39.63%)
Mutual labels:  syntax-highlighting, vim-plugin
Vim Systemd Syntax
Syntax highlighting for systemd service files in Vim.
Stars: ✭ 57 (-65.24%)
Mutual labels:  syntax-highlighting, vim-plugin
Dhall Vim
Syntax highlighting for Dhall
Stars: ✭ 51 (-68.9%)
Mutual labels:  syntax-highlighting, vim-plugin
Laravel Log Viewer
🐪 Laravel log viewer
Stars: ✭ 2,726 (+1562.2%)
Mutual labels:  log, log-viewer
Kuroi.vim
A dark Vim colorscheme
Stars: ✭ 174 (+6.1%)
Mutual labels:  syntax-highlighting, vim-plugin
Logviewer
📃 Provides a log viewer for Laravel
Stars: ✭ 2,098 (+1179.27%)
Mutual labels:  log, log-viewer
Graylog2 Server
Free and open source log management
Stars: ✭ 5,952 (+3529.27%)
Mutual labels:  log-analysis, log-viewer
Analogy.LogViewer
A customizable Log Viewer with ability to create custom providers. Can be used with C#, C++, Python, Java and others
Stars: ✭ 172 (+4.88%)
Mutual labels:  log, log-viewer
VimConfig
Configuration files for Vi-IMproved.
Stars: ✭ 23 (-85.98%)
Mutual labels:  vim-plugin, vim-syntax
Rainbow levels.vim
A different approach to code highlighting.
Stars: ✭ 415 (+153.05%)
Mutual labels:  syntax-highlighting, vim-plugin
Vim Gdscript3
Syntax highlighting and completion for GDScript 3
Stars: ✭ 121 (-26.22%)
Mutual labels:  syntax-highlighting, vim-plugin
LogESP
Open Source SIEM (Security Information and Event Management system).
Stars: ✭ 162 (-1.22%)
Mutual labels:  log-analysis, log
log-target-file
Yii Logging Library - File Target
Stars: ✭ 19 (-88.41%)
Mutual labels:  log

Vim Log Highlighting

Log highlighting example

Overview

Provides syntax highlighting for generic log files in VIM.

Some of the highlighted elements are:

  • Dates and times
  • Common log level keywords like ERROR, INFO, DEBUG
  • Numbers, booleans and strings
  • URLs and file paths
  • IP and MAC addresses
  • SysLog format columns
  • XML Tags

Installation

VimPlug

Add Plug 'mtdl9/vim-log-highlighting' to your ~/.vimrc and run PlugInstall.

Vundle

Add Plugin 'mtdl9/vim-log-highlighting' to your ~/.vimrc and run PluginInstall.

Pathogen

$ git clone https://github.com/mtdl9/vim-log-highlighting ~/.vim/bundle/vim-log-highlighting

Manual Install

Copy the contents of the ftdetect and syntax folders in their respective ~/.vim/* counterparts.

Configuration

Once installed, the syntax highlighting will be enabled by default for files ending with .log and _log suffixes.

By default only uppercase keywords are recognized as level indicators in the log files. You can add additional log level keywords using the standard VIM syntax functions, for example by adding this to your .vimrc file:

" Add custom level identifiers
au rc Syntax log syn keyword logLevelError MY_CUSTOM_ERROR_KEYWORD

Likewise you can disable highlighting for elements you don't need:

" Remove highlighting for URLs
au rc Syntax log syn clear logUrl

Related Projects

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].