Giter VIP home page Giter VIP logo

Comments (2)

soorajshankar avatar soorajshankar commented on May 26, 2024

Is there any way to do that right now? Or any plan to support it in the future?
Interesting! It's not possible at the moment, but It should be easy to implement - I'll give it a shot soon.

BTW could you explain a little bit on what kind of services are you trying to see? like any sample of logs (hiding all sensitive info) which comes from different services? Asking this to understand if there is a common pattern so that we can build a few ways to better read the logs- may be a set of separators or parsers for the better reading, filtering, processing etc.

from logscreen.

Khaaz avatar Khaaz commented on May 26, 2024

If i'm speaking about my ideal "simple" visualisation tool. I would want

  • tab per "service" (or per logfile or whatever), that just shows plain logs (with maybe options for searching but doesn't have to be too much)
  • global tab with some filtering.
    • check / uncheck the service you want to be displayed
    • each log shows which service it's from
    • way to filter, do search and aggregation:
      • requestId
      • correlationId
      • userId
      • groupId

For the way my logs are structured right now, it's not necessary optimum for correct visualisation in tools like that so i'll probably do more work on the structure later.
But as far as I can tell various way of filtering are:

  • log plain json object
  • key=value format
  • logs with separators like : ; | /

Here some examples of my logs right now (again, I don't think they are "ideal" logs, pretty sure it would be pretty sure for tools like datadog and other log aggregators):

For example:

image

I basically log IN and OUT bound request, with headers and request content/body;
image

An option to hide part of the log (like you have a key data that you can hide or not) could also be a cool addition

from logscreen.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.