Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/paloaltonetworks/logfilehighlighting
- Owner: PaloAltoNetworks
- License: isc
- Created: 2022-05-04T22:38:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-03T15:53:25.000Z (over 2 years ago)
- Last Synced: 2023-08-01T12:18:51.665Z (over 1 year ago)
- Topics: adem, globalprotect, logging
- Language: YAML
- Homepage:
- Size: 1.14 MB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Palo Alto Networks - Log file highlighting
## Release 0.07Going 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)