https://signoz.io logo
#support
Title
# support
h

humblecoder

02/06/2023, 8:38 PM
Hi All, So, I came across SIGNOZ while looking for a “structured logging” tool similar to WANDB (but NodeJS-compatible). I realize the domains are different, but I’m still curious. I’d like to be able to log things like . . .
logger.log(‘txProcessed’,{txhash:..., startTime: ..., endTime:...})
logger.log(‘stockPrice’,{ticker:..., timeStamp: ..., price:...})
. . . and query the data for relevant features and time-related values. Obviously, I could simply create a DB with JSON tables and go nuts, but I’d rather use existing tooling (with helpful dashboards) to do the logging. Is this something SigNoz is capable of, and can someone point me in the right direction (docs or tutorials)? Best!
s

Srikanth Chekuri

02/07/2023, 2:45 AM
Is structured logging the main thing you are looking for? Depending on the environment you can follow one of these guides and collect and send the logs https://signoz.io/docs/userguide/logs/. You will have to put some (json) parser in place. @nitya-signoz can help you if you need some how to write non trivial stuff.
n

nitya-signoz

02/07/2023, 3:49 AM
Yeah, if you are already using a structured logging format like json, you should be up and running with
json_parser
as pointed above.
h

humblecoder

02/08/2023, 6:06 PM
Ok, thanks. Do you mean inside
otel-collector-config.yaml
? Yeah, my goal is to focus on structured logging with the hopes of extracting relevant data over time. I’m discovering that Signoz makes log grabbing convenient, but is a bit aggressive. I just took a look at GrayLog and it provides stream HTTP endpoints that can be used to “scope” submissions. I’d like to do the following with SigNoz if at all possible: - Turn off all the “noise” at the root, not just in UI. Don’t collect everything. Only specific folders. - Support logs that get rotated (although I imagine this is possible by simply specifying a directory). - Direct HTTP submission (via POST. Think push not pull). I’ll read through the docs more closely, but in an effort to save time, can you point me to any direct links or instruction on these items?