ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sumo​Swiss​Knife

Sublime Text Swiss Knife For Sumo Logic

Details

Installs

  • Total 43
  • Win 18
  • Mac 17
  • Linux 8
Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6
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 0 0
Mac 0 0 0 0 1 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 1 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.

Preview

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