Coder Social home page Coder Social logo

paloaltonetworks / logfilehighlighting Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 1.0 1.17 MB

Reading large amounts of log files is difficult. These Sublime Text files help highlight events in the log files.

License: ISC License

YAML 100.00%
globalprotect logging adem

logfilehighlighting's Introduction

Palo Alto Networks - Log file highlighting

Release 0.07

Going through log files can be a pain.

The idea behind this repository is to highlight errors within the log files such that time spent troubleshooting can be kept to a minimum.

This is my first attempt at trying to use Sublime Text and it's syntax highlighting feature.

Improved features

Better Highlighting for:

  • HIP Checks
  • Gateway latency checking
Latency (ms) Measurement Color
0 - 169ms great latency green
170 - 399ms ok latency yellow
> 400ms bad latency red
  • PKI entry checking
  • network change highlighting
  • Authentication cookie highlighting
  • IPv4 and IPv6 address highlighting

Example Screenshots

Example screenshot 1 Example screenshot 2

Installing

MacOS

  1. Create a new directory in ~/Library/Application\ Support/Sublime\ Text/Packages/.
$ mkdir -p ~/Library/Application\ Support/Sublime\ Text/Packages/Palo\ Alto\ Networks
  1. Extract the *.sublime-syntax files into this new directory.

Windows

  1. Create a new directory in %APPDATA%\Sublime Text\Packages.
  2. For this example, the new directory name is Palo Alto Networks.
  3. Extract the *.sublime-syntax files into this new directory.

Syntax Highlighting Capabilities

ADEM Log files

Endpoint logs

Release: 0.03

Improved features

  • Better handling of JSON format
  • Better handling of PKI log entries

File names

  • File name: palo_alto_networks_dem_agent.log or palo_alto_networks_dem_agent.1.log

To use in Sublime Text

To activate:

  1. Click view
  2. Syntax
  3. Palo Alto Networks
  4. PAN ADEM Endpoint

ION logs

  • File name: adem or adem.*

To activate:

  1. Click view
  2. Syntax
  3. Palo Alto Networks
  4. PAN ADEM ION Logs

GlobalProtect Log Files

  • File name: PanGPS.log or PanGPA.log

To activate:

  1. Click view
  2. Syntax
  3. Palo Alto Networks
  4. PAN GlobalProtect Logs

Reference files

logfilehighlighting's People

Contributors

thescriptguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

logfilehighlighting's Issues

[Community Health Assessment] Changes needed

Health Check Pass Score More Info
Contains a meaningful README.md file 20 / 20 More info
SUPPORT.md file exists 20 / 20 More info
Repo has a description 15 / 15 More info
Has a recognized open source license 15 / 15 More info
Has a descriptive repo name 15 / 15 More info
Required topics attached to repo 15 / 15 More info
CONTRIBUTING.md file with contribution guidelines 0 / 5 More info
Has custom issue and pull request templates 0 / 5 More info

Current score: 100
Target threshold: 100
Total possible: 110

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.