SumoSwissKnife
Sublime Text Swiss Knife For Sumo Logic
Details
Installs
- Total 55
- Win 22
- Mac 24
- Linux 9
Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
SumoSwissKnife
Your Sublime Text Swiss Knife For Sumo Logic.
Inspired by SublimeText-SQLTools
Write your Sumo with smart completions, including all the metadata Sumo Logic to offer, execute Sumo Logic queries, format your queries' results in many different formats, with multi org connection manager.
Installation
- Download the repository SumoSwissKnife-master.zip
- Unzip the contents to ~/Library/Application Support/Sublime Text 3/Packages/SumoSwissKnife
- Create a Sumo Logic AccessID/AcessKey pair
- Start sublime, then from the command palette execute sumo: Setup Connection
- Open/Create new, Sumo query file with .sumo, select the newly created connection, and you are good to go
Features
Started it as a syntax highlight but then extended it to: * Highlight keywords, right click for further information and Sumo Docs link * Run queries * Get all metadata (collectors, source categories, sources, users, roles, FERs, views and saved queries (personal folder)) * Output in major formats including but not limited to (CSV, Jira, Grid, Github, HTML etc.) * Autocompletion including sumo metadata * Bueatify fields, highlight one or more fieleds (e.g number_of_users) right click SumoSwisKnife > Beatify selected field(s), then it be alised to %“Number Of Users”
Give it a go!
- Create new file with “.sumo” extension
- Command Palette > Sumo: Setup Connections (Then add your AccessId/AccessKey)
- Select your connection
- try query:
| count by _sourceCategory
- Command Palette > Sumo: Run Current File Query
- Select time range
- Customize it if needed
- You may change the outpu format Command Palette > Sumo: Change Results Format
TODO
Due to python threading limitation, future plan to replace the metedata chache generator by golang based cli, to be used as stanalone as well as a hook for this plugn