Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/paloaltonetworks/logfilehighlighting

Reading large amounts of log files is difficult. These Sublime Text files help highlight events in the log files.
https://github.com/paloaltonetworks/logfilehighlighting

adem globalprotect logging

Last synced: 2 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](images/example-highlighting1.png)
![Example screenshot 2](images/example-highlighting2.png)

## Installing
### MacOS
1. Create a new directory in `~/Library/Application\ Support/Sublime\ Text/Packages/`.

```bash
$ mkdir -p ~/Library/Application\ Support/Sublime\ Text/Packages/Palo\ Alto\ Networks
```

2. 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
* [Sublime Text](https://www.sublimetext.com)
* [Sublime Text Syntax](http://www.sublimetext.com/docs/syntax.html)