Git Product home page Git Product logo

grafana-quick-log-panel's Introduction

grafana-quick-log-panel

Grafana Quick Log Panel Plugin

grafana-quicklog-panel plugin usage video

Options

1) Latest at bottom

Possible to see log line as natural log message like tail -f ....

2) Multiline mode

If the field line has \n then a multiline button will be added, and the lines will be collected.

3) Custom css

Possible to add custom inline css to the panel. Each row has custom class name. To check your current class list, please inspect your DOM.

Example:

.ql-name-message{flex-grow:1;max-width:54%;}.ql-data-multiitem-button{color:green !important;}

4) Value include list

Possible to add extra css for the values. Only need to type the filter text and separate the css with || double pipe. Syntax: foo bar ||color:red;. foo bar is the search text, color:red; is the custom css. For the custom css do not need to use {} curly brackets.

Example:

foo bar ||color:red;

5) Share

Possible to share current option to another quick-log panel on other dashboard.

6) Custom mapper

Possible to add custom field mapper. During the rendering on each field the custom mapper will be called.

Example:

(filed) => { 
   return filed.name + filed.val;
} 

7) Quick search

During the list browsing possible to quick filter the current list. Type the text. The search text and value lines are converted to lowerCase.

Getting started

  1. Install dependencies

    yarn install
  2. Build plugin in watch mode

    yarn watch
  3. Build plugin in production mode

    yarn build

Docker build

docker build --build-arg GRAFANA_API_KEY=${GRAFANA_API_KEY} .

Learn more

grafana-quick-log-panel's People

Contributors

ui3o avatar

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.