Grafana Dashboard with JSON APIs. visualize JSON, CSV, Graphql, XML in grafana

Поделиться
HTML-код
  • Опубликовано: 5 окт 2020
  • Infinity datasource: github.com/yesoreyeram/grafan...
    Infinity datasource document : yesoreyeram.github.io/grafana...
    Dashboard JSON : grafana.com/grafana/dashboard...
    For support, queries and bugs visit github.com/yesoreyeram/grafan...
  • НаукаНаука

Комментарии • 109

  • @pupdoggify
    @pupdoggify 3 года назад +8

    I downloaded your plugin, it’s awesome! Simple and to the point...thank you for all the hard work!

  • @gabrielmalaluan3530
    @gabrielmalaluan3530 2 года назад

    Thanks, bro! You just saved me. I'm using JSON API until I found this video using Infinity.

  • @asep-supriyadi
    @asep-supriyadi Месяц назад

    Bro, you are our hero! Thanks for created this datasource

  • @yesoreyeram
    @yesoreyeram  2 года назад +3

    Hope this is useful. If you have questions or looking for more examples , refer the plugin documentation and GitHub discussions.
    GH discussions : github.com/yesoreyeram/grafana-infinity-datasource/discussions
    Plugin documentation : yesoreyeram.github.io/grafana-infinity-datasource
    Thanks.

  • @anishabraham7701
    @anishabraham7701 2 года назад +1

    Beautiful

  • @Chuckle10
    @Chuckle10 2 года назад +1

    Great Job buddy. Keep doing more

  • @sudheejsudhakaran9532
    @sudheejsudhakaran9532 3 года назад

    excellent work

  • @rosako
    @rosako 2 года назад

    Nice video! Thanks a lot!

  • @njpaps
    @njpaps 2 года назад +1

    Amazing!

  • @gused1128
    @gused1128 3 года назад

    Hola, me ha funcionado bien en el computador que se ha instalado, pero al llevarlo a un html con un frame no lo visualiza ya sea en la misma red local ni en el vps privado, hay alguna forma de hacerlo funcionar, te agradezco si me ayudas

  • @maxfiialkovskyi5346
    @maxfiialkovskyi5346 Год назад

    awesome! thanks!

  • @ercymirandaneto
    @ercymirandaneto Год назад

    Thanks!

  • @rosadyhalid8172
    @rosadyhalid8172 2 года назад

    Thank you for sharing 👌👍. I am looking for how to get value/data from array.
    Example JSON type array inside another JSON array. It is known as an array of arrays or a multi-dimensional JSON array.
    🙏🙏

  • @viniciuskalwamssantos8459
    @viniciuskalwamssantos8459 Год назад

    E se no lugar de country tivesse um valor numerico que, relacionada a 4 outras colunas. Algo como: " collum primary :{ 1 : { collum:"value" , 2.collum:"2.value" , 3.collum: "3.value"} , 2: { collum :"value" , 2.collum:"2.value" , 3.collum:"value" }, 3.{...} , ... , n:{ collum:"value" , 2.collum: "2.value" , 3.collum: "3.value"}}, como usar o plug-in quando a API retorna valores neste formato?(exemplo: API Alpha Vantage)

  • @G0nz0uk
    @G0nz0uk 23 дня назад

    This is great. However I need to first user basic authentication to get the bearer (token) and then run the API URL to get my JSON info, can this plugin do that?

  • @maskladyvlogs
    @maskladyvlogs 3 месяца назад

    Hello Sir
    did you work on Apache Ambari metrics data source migration from AngularJS to React

  • @palmarisiva
    @palmarisiva 3 года назад

    Thank you for the plugin. I am looking for the time interval support which comes along with Grafana in other plugins. How is it possible with Infinity plugin? For example, to display the data only during the last 2 days.

    • @palmarisiva
      @palmarisiva 3 года назад +2

      Got the answer from the discussion forum. github.com/yesoreyeram/grafana-infinity-datasource/discussions/84

  • @shantanusingh6347
    @shantanusingh6347 Год назад

    How did you get Demo Data source in the drop down? Can I do it now? Can you guide, please?

  • @user-ip4gq9rv4p
    @user-ip4gq9rv4p 11 месяцев назад

    how can I display data in multiple rows instead of colums?

  • @rkbejawar6280
    @rkbejawar6280 2 года назад

    Hi Sriram, Can we link two panels, I mean I want to change the Pie Chart when filtering the table values ? Is that possible with this plugin ?

    • @yesoreyeram
      @yesoreyeram  2 года назад

      Yes possible via variables and data links.

  • @sandeeppatil5925
    @sandeeppatil5925 Год назад

    Thanks for this, If one wants to show ongoing live data , how will one be able to do it. Is there a way that the REST API gets called every 5 mins and the modified json is shown in graph ? Kindly advise

    • @yesoreyeram
      @yesoreyeram  Год назад

      plugin doesn't track the data. It just returns the data whatever returned by the API. You can use grafana's time variables in addition to your API to filter your data. Also Grafana's timepicker can be set to auto refresh every 5 mins so you get data refreshed every 5 mins.

  • @sugumar1402
    @sugumar1402 Год назад

    Hello!
    Do you also have videos on how to create dashboard based on Netbox data? Basically we have custom fields in netbox using which would like to create dashboards.

  • @abidali77
    @abidali77 3 года назад

    I'm unable to add the infinity datasource in my corporate Grafana instance. Can I do the same with simple-json?

    • @yesoreyeram
      @yesoreyeram  3 года назад

      What problem you are getting. Since last week you can add this now from.grafana plugin catalog.

  • @harinikalyanasundaram8580
    @harinikalyanasundaram8580 Год назад

    Hi, Collectionlookup gives only the first list item in the variables. Other list items are not getting displayed with this plugin. Example - CollectionLookup(proxxx,6878,abcd,11328,$Application) gives 6878,none. This does not display other items. Can you please help?

    • @yesoreyeram
      @yesoreyeram  Год назад

      Do you mind creating a GitHub ticket? RUclips is not a place for support requests.. 😂

  • @schoesa
    @schoesa 2 года назад

    Hi Sriram. Thank you for this quick introduction to infinity plugin. Looks great for many use cases. I have one question. Is it possible to show real-time data from an API? I have a use case where I need to show realtime data from a Kafka topic in a dashboard.
    There is an other official Grafana plugin called SimpleJson. What is the difference between your plugin and this one? Thanks in advance.

    • @yesoreyeram
      @yesoreyeram  2 года назад +1

      Simple json datasource is a legacy plugin and that will expect your data to be in certain timeseries format grafana and expect endpoints such as search/query etc.
      This infinity plugin doesn't have any requirement for such endpoints or formats. Works with most of the data formats and endpoints.

    • @yesoreyeram
      @yesoreyeram  2 года назад +1

      Showing data as a real-time/streaming is not possible with the plugin atm. Just point in time data it can show.

    • @pastmortem
      @pastmortem Год назад

      @@yesoreyeram g

  • @praveenasomidi9707
    @praveenasomidi9707 19 часов назад

    How to count the different values in same column? Ex: i have 3 apples, 5 bananas and 6 strawberries in one fruit column. Using infinity datasource i want to represent in a pie chart which represents 3 apples,5 bananas and 6 strawberries of one column . Can you please help me with this?

  • @canaldojukiti
    @canaldojukiti 3 года назад +1

    Hi! Thanks for share this video. Is it possible to use Infinity datasource reading an API with JTW authentication?

    • @yesoreyeram
      @yesoreyeram  3 года назад

      With the current version it is not possible. I am willing to add those. Are you interested in any specific API? Proving more details at the github repp is appreciated as I reguralrly follow there

  • @rkbejawar6280
    @rkbejawar6280 2 года назад

    Hi Sriram, Good Day! Can we read JSON via HTTP link from a file which is stored in AWS S3 bucket ? where do we need to provide key id and secret key ? I tried different ways, seems not working for me.

    • @yesoreyeram
      @yesoreyeram  Год назад

      I haven't tried. Probably you can't do that with the current version.

  • @shabanashaik6689
    @shabanashaik6689 3 года назад

    Hi Sriram
    Instead of adding url, can I add a json file from my local machine?
    I chose inline option instead of url and pasted the data from the json file but it isn't taking the data.
    Appreciate if you could help!
    Thank you

    • @yesoreyeram
      @yesoreyeram  3 года назад

      For security reasons, that is not allowed yet. But you can simply do it by serving your local file with web sever like nginx then access it by url.

    • @yesoreyeram
      @yesoreyeram  3 года назад

      What error you are getting when doing it inline? You can post it the plugin github page for support.

  • @parihar-shashwat
    @parihar-shashwat 2 года назад

    Can we do basic auth with JSON data source? I have added basic auth in settings of data source but seems like its not taking the credentials from there.

    • @yesoreyeram
      @yesoreyeram  2 года назад

      Create a GitHub issue with details on how to reproduce it.

  • @raghunath8494
    @raghunath8494 2 года назад

    Hi sriram, do we have option to use grafana variable in infinity data source?

    • @yesoreyeram
      @yesoreyeram  2 года назад

      Yes. Grafana variables should work. In case if something doesn't, create a GH issue with details.

  • @SleepySight
    @SleepySight 5 месяцев назад

    How we can do it with 2OAuth RestAPI?

  • @omarcruz6326
    @omarcruz6326 2 года назад

    Hi Siriam.
    This is a great video and ... that's more or less what I was looking for :)
    I need to make API calls and based on the response, make a nice dashboard.
    I saw that as data source you defined an "Infinity" but when I try today, the infinity is not available. There is a way to achieve something like that with Prometheus? Thanks for the great work :)

    • @yesoreyeram
      @yesoreyeram  2 года назад +1

      Hi Omar. Have you installed the plugin ? You can find instructions here in grafana.com/grafana/plugins/yesoreyeram-infinity-datasource/

    • @omarcruz6326
      @omarcruz6326 2 года назад +1

      @@yesoreyeram I didn't find this before !!!
      Thanks Mate !!!
      I Like and Subscribe to your channel 👌

  • @ackinito
    @ackinito 2 года назад

    Excellent video Sriram. The only issue is that the heroku api link is no longer functional. Do you have an alternative link? Thank you!

    • @yesoreyeram
      @yesoreyeram  2 года назад

      Which heroku link ? Demo instance is available in grafana-infinity-datasource.herokuapp.com/d/try/try?orgId=1&editPanel=2 (btw, it is a hobby instance . So expect it available only for demo purposes )

  • @technics6215
    @technics6215 Год назад

    What if my csv files have names that starts with date (2022-12-20.csv for example) and they are stored locally?

    • @yesoreyeram
      @yesoreyeram  Год назад

      Local files not supported. You have to expose the files via local web server such as nginx

    • @technics6215
      @technics6215 Год назад

      You mean not supported by what? I finally managed this. There is a CSV plugin that works with local files. It is not very efficient (eats tons of RAM) but works.

  • @ayeshadhool3924
    @ayeshadhool3924 2 года назад

    hey your video is very helpful good job.
    furthermore I am looking for JSON timeseries data plotting on grafana. do you have any idea for that ?

    • @yesoreyeram
      @yesoreyeram  2 года назад

      Have you checked the docs and GitHub discussions? They have more examples.

  • @vbessonow
    @vbessonow 2 года назад

    how to build time series from CSV ?
    getting Data does not have a time field

    • @yesoreyeram
      @yesoreyeram  2 года назад

      By design, grafana won't save/track any data. It will just fetch and display data. If your data doesn't have historical data/timestamp you can't plot it time series

  • @thiagogomesmachado
    @thiagogomesmachado 3 года назад +1

    Hi, I'm from Brazil and I really liked the video. with this version it is not possible to consume data from an api with authentication via token? which version of the plugin or grafana? can you do otherwise? Thank you very much. Great video.

    • @yesoreyeram
      @yesoreyeram  3 года назад +1

      Api token via headers you can do. But things like OAUTH are not yet supported. Glad you liked the video.

    • @yesoreyeram
      @yesoreyeram  2 года назад +2

      With the recent version, now oauth is also supported.

    • @thiagogomesmachado
      @thiagogomesmachado 2 года назад

      @@yesoreyeram hey man. Thanks! I will see the new version!!

  • @SurPaul
    @SurPaul 3 года назад

    When I do everything according to the instructions, but for any request, Grafana Cloud gives me a 404

    • @yesoreyeram
      @yesoreyeram  3 года назад

      You may need to remove the URL from the data source config. I thing I am going to deprecate the URL from the data source config section.

  • @road2one
    @road2one 3 года назад

    great job can you do triggers and alerts also

    • @yesoreyeram
      @yesoreyeram  3 года назад

      Alerts are not currently supported. The plugin is slowly getting there. For the alerts to be supported, the plugin require backend component. I am still in the process of migrating it to backend component.

  • @brahmadarapaneni4561
    @brahmadarapaneni4561 10 месяцев назад

    nice vedio, how to authenticate our own api here, as it asks authentication

  • @sncmudi
    @sncmudi 2 года назад

    Hi Sriram,How to link this panels to the dashboard time range so that panels will be interactive.

    • @yesoreyeram
      @yesoreyeram  2 года назад

      Data filtering based on grafana needs to happen at api itself. Infinity doesnt filter data or react based on time range.
      In order to filter the data based on dashboard time range, you need to pass the grafana time range in your API url using grafana global variable syntax. Assuming your API supports filtering of data based on time range.
      More details, create a discussion in GitHub repo

    • @sncmudi
      @sncmudi 2 года назад

      @@yesoreyeram thank you so much for your reply.

  • @MYusuf-nb6vh
    @MYusuf-nb6vh 10 месяцев назад

    I want to try following your video, but unfortunately, the Covid 19 API has already been discontinued

  • @roylisanudin7823
    @roylisanudin7823 2 года назад

    data [
    {
    id : "222",
    class : "Platinum",
    area : "Aceh",

    avail : [
    - {
    av_id : "112",
    Stat : "red",
    sla : 11
    } ,
    - {
    av_id : "11",
    Stat : "blue"
    sla : 1
    }
    ]
    }
    ]
    Hello, how can i call value from avail in rows/root (URL) ?
    I need a way without going through the "Inline" source, I want it auto via URL

    • @sahiljaiswal13
      @sahiljaiswal13 2 года назад +1

      Hello buddy, I also had the same issue now, but I got the solution and thought I should share with you as well. Try this.
      $._items.[avail] in the Roots/Rows field.
      $._items is the main root node and returns all the data and by using .[avail] you will be able to go to a sub node.

  • @akashjindal1991
    @akashjindal1991 3 года назад

    Hi Sriram, its gives me an error "Object(...) is not a function" . Could you please help out?

    • @yesoreyeram
      @yesoreyeram  3 года назад

      I think you are trying with grafana 8. I am.working on a updates for grafana 8 which I will release by tomorrow.. in case if you got it for grafana 7, report a bug in github

    • @akashjindal1991
      @akashjindal1991 3 года назад

      @@yesoreyeram Thanks, Now with the help of support version i am able to use it. However, is there a way to use a basic auth based json api? i have tried using it with advanced feature in which i added the username and password of the application. But it still doesn't connect. Any way out? I have tried simpleJson and other json plugin too but no luck.

    • @yesoreyeram
      @yesoreyeram  3 года назад

      Yes you can. In advanced mode, you need to give only the domain name in the url on the config section. And in the query give the remaining url. Basically the plugin will join both the url to form the full url.

  • @maheswarigr458
    @maheswarigr458 2 года назад

    Hi.. Is there any way to. Load mutiple csv files with name headers in it?

    • @yesoreyeram
      @yesoreyeram  2 года назад

      No. But you can add multiple queries in Grafana

    • @yesoreyeram
      @yesoreyeram  Год назад

      BTW, see if this alternative helps. github.com/yesoreyeram/grafana-infinity-datasource/discussions/404

  • @Gabriel-gbl13
    @Gabriel-gbl13 2 года назад

    Hello!
    I Miss the Azure-Datasource plugin developed by you

    • @yesoreyeram
      @yesoreyeram  2 года назад

      I too..

    • @yesoreyeram
      @yesoreyeram  Год назад

      Btw, you can use infinity to connect any azure API urls.

  • @Gabriel-gbl13
    @Gabriel-gbl13 2 года назад

    Works with azure monitor queries?

    • @yesoreyeram
      @yesoreyeram  2 года назад

      Yes with the recent support oauth client credentials support they work.

  • @mardibero
    @mardibero 2 года назад

    is this taking the json info in real time?

    • @yesoreyeram
      @yesoreyeram  2 года назад

      Yes. Infinity doesn't store any data.

  • @deepaksingh-fx1fx
    @deepaksingh-fx1fx 2 года назад

    is it possible to monitor multiple remote pcs ? using grafana? how?

  • @mardibero
    @mardibero 2 года назад

    Thank you, can this support alerts?

    • @yesoreyeram
      @yesoreyeram  2 года назад

      Alerts are not supported at the moment.

    • @mardibero
      @mardibero 2 года назад

      @@yesoreyeram thank you, is it planned to implement this feature in the short term? With alerts this plugin is just perfect

    • @yesoreyeram
      @yesoreyeram  Год назад +1

      From 1.0.0 of the plugin, it supports alerts. ( You need to select backend parser in the query editor for the alerts to work )

  • @debayudhmitra9432
    @debayudhmitra9432 2 месяца назад

    HELLO SIR PLEASE SHOW HOW TO IMPORT A EXCEL OR CSV FILE PLEASE

  • @gunasekarik147
    @gunasekarik147 2 года назад

    I have installed grafana,, there is no demo option in it

  • @anishachoudhury_
    @anishachoudhury_ Год назад

    Great but you have only showed GET request.

    • @yesoreyeram
      @yesoreyeram  Год назад

      POST is also possible. Check documentation or give a try. Have you tried?

    • @anishachoudhury_
      @anishachoudhury_ Год назад

      @@yesoreyeram I have tried the POST request and it worked but like Postman it doesnt show the new repo on Github nor it shows the updated table with the previous repos. I am using the Github API

    • @anishachoudhury_
      @anishachoudhury_ Год назад

      So its just creating a dummy json content. But I want to make a POST request in github url.

  • @akhia6661
    @akhia6661 2 года назад

    I need to visualise JSON data from logstash to opensearch to grafana
    can you maybe please help me with this?
    Like can we hop on a call?

    • @yesoreyeram
      @yesoreyeram  Год назад

      // JSON data from logstash to opensearch to grafana
      You should use opensearch plugin. Not infinity plugin for your usecase

  • @justhustle5172
    @justhustle5172 Год назад

    Hi is anyone facing a similar issue:
    Fetch error: 404 Not Found Instantiating localhost:8080/public/@emotion/css Loading localhost:8080/public/plugins/yesoreyeram-infinity-datasource/module.js Loading plugins/yesoreyeram-infinity-datasource/module when trying to create a datasource?

    • @yesoreyeram
      @yesoreyeram  Год назад

      Can you create a github ticket with reproduction steps? Appears that the plugin wasn't installed properly