#support

Request for Signoz CLI Tool to Browse Logs

TLDR Joakim inquires about a CLI tool for browsing Signoz logs and the process of querying the service. Ankit highlights the absence of a CLI tool and asks about the potential use cases. Joakim proposes building the tool themselves.

Powered by Struct AI
+11
Aug 15, 2023 (1 month ago)
Joakim
Photo of md5-5a1c98be6f285d3e6ee489e3083b0c20
Joakim
02:26 PM
Hi, I was wondering if there's a cli tool for browsing logs collected by signoz? Alternatively, is there a process for sending queries to the query service directly? As far as I can tell that requires a jwt, and it's not completely clear how to obtain that (except by fishing it out of the browser session, but that's obviously not very nice)
Ankit
Photo of md5-dbe7088320fe1d922707613e02f3420d
Ankit
02:28 PM
API_KEY works but that's in enterprise plan
Joakim
Photo of md5-5a1c98be6f285d3e6ee489e3083b0c20
Joakim
02:44 PM
👍 Does that also mean that there's currently no cli tool?
Ankit
Photo of md5-dbe7088320fe1d922707613e02f3420d
Ankit
03:58 PM
not yet...what are the usecases? I want to keep notes and build when when we have enough compelling use cases
Joakim
Photo of md5-5a1c98be6f285d3e6ee489e3083b0c20
Joakim
09:07 PM
Mainly to tail logs and the ability to pipe to eg jq for further mapping/extraction... I personally find most logging UIs pretty bad (and sorry to say it, that includes signoz) because presentation is often very verbose, selecting what to show is cumbersome, and in general not very nice compared to tail/grep/jq/etc
09:08
Joakim
09:08 PM
Some of it can be handled through a better UI, but for some cases it's also just much nicer with a command line tool
09:08
Joakim
09:08 PM
I don't mind building it myself though, if it's possible