Kibana - different time range within dashboard - kibana

I have discovered Kibana last week, I find this tool very useful but.. I can't help but wonder how can I bypass Kibana's limitation to one time range for whole dashboard (https://github.com/elastic/kibana/issues/3578)?
I need to present data for different time ranges on one page. It will include pie charts, data tables etc..

Unfortunately, you can't do that without changing Kibana's code to create a solution of your own.
Here is the github issue tracking the request:
https://github.com/elastic/kibana/issues/3578

Related

Scraping Spotify Top 200 streaming data with R

novice R user here. I'm looking to scrape a large amount of data on daily streaming volumes on songs that are on Spotify's Top 200 charts for a research project I am involved with. Basically, I would like to write a script to scrape all info for tracks in the top 200 on a given day, such as today's chart, and have this done for every day for a number of years, across a number of countries. I used some code from a guide that I followed previously to successfully scrape said data, but it is now not working for me.
I previously followed this guide pretty much word for word. While this originally worked, it now returns an empty tibble. I suspect that the problem may have to do with the fact that Spotify have re-developed their charts site since my last attempt. The site is different in appearance, but importantly the html node names appear to be different as well. My hunch is that this is what is causing the issue.
However, I am not at all sure if this is the case. Would appreciate it greatly if I could have some guidance on what I would need to do differently to achieve my aims, and whether it is indeed still possible to scrape these charts.
Cheers

How to do Grafana Dynamic Singlestat Panels?

I've got metrics in Graphite showing response time for various organizations. The list of organizations can change on the fly. I want panels in Grafana to appear for any origanization who's response time is over a certain threshold. Was thinking the Singlestat panels was the right panel to use. Question is how to make them appear dynamically? Is a scripted dashboard the right approach?
If a scripted dashboard is the correct solution, can anyone recommend a Grafana cloud/service provider that supports scripted dashboards? The current one I have been testing out does not support scripts. Note that I am not really tied to Graphite as the backend since this project is in proof of concept phase. Just need the backend to also be a service. Don't want to roll the backend myself. Thanks.
As far as I know, it is not possible right now.
We had a similar use case in my organisation, and here is what we did.
You can define a template variable for your organizations, and then use SingleStat panel with “Repeat Panel” on this variable, but that will display panels for all of your organizations. Filtering based on a criteria is a requested feature.
Alternatively, you can use the Table panel for your use case.
Choose Table panel
In “Metrics”, enter your metric organizations.*.response_time (or whatever more complicated you need, applyByNode can be handy for such cases)
In “Options”
“To Table Transform”: choose “Time Series aggregations”
“Columns”: Avg, or Current (depending on your needs)
“Coloring”: use thresholds to paint in red or something anything above your desired response-time threshold.
Sort the Table per the Number column.
Ta-da! Your organisations needing attention will be at the top of the table and highlighted.
In the lack of true filtering, this worked for us. Hope it will work for you too :)

input controls for easy filtering in kibana dashboard?

I have successfully used kibana (4.3.1) to make a dashboard with several visualizations. Great! Now I would like to add some input controls to allow filtering. I know that you can manually enter filters in the query bar, for example 'myCol:[low TO high]' but this is problematic for a couple of reasons. First, the syntax is a little too advanced for casual users (although I could use the metadata visualization to document the syntax). Second, the query bar goes away when exporting the dashboard via iframe.
I have tried using the metric visualization to display a min and max values. Unfortunately, the metric visualization is read only.
I have tried a bar chart to allow range filtering but my users will need to select very specific ranges that result in selection areas of only a few pixels. This is error prone and not precise enough.
Any other ideas on how to create input controls for easy filtering? I was hoping find some sort of dial that is tied to a column to allow users an easy way to apply filters.
Thanks,
Nathan
Check working with filters section in the documentation. Selecting a filter changes dashboard URL and includes snippet like (filters:!((meta:(disabled:!t,index:'myIndex_*',key:MyTermToFilter,negate:!f,value:'MyValueToFilter'). Once you have all the filters you want your users to change in the URL, after they navigate to that URL they will be able to enable/disable them in the UI

Visualizing system load average with Kibana 4.1

I have a Kibana search that returns the load average in a field called metric_value_number. This indexed field has a format of Number, and a Numeral.js format pattern of "0,0.[00]". This is default values.
Here is a screenshot of my search with sample data
When I try to make a visualization with a sum-aggregation, it gets aggregated to zero. This applies to Visualization types of at least Line chart, Area chart and Metric.
How can I properly visualize the system average load with the data I have?
Found this thread, because I had some trouble myself getting our load visualized. However, it turns out I had to type cast to number first by using %{NUMBER:load_1:float} and actually needed an average aggregation.
Had to delete the Logstash index and "reload the field list" in Kibana to get it working.
Tried to reproduce your problem by using your settings. Unfortunately for you, I got it working. I am currently using Kibana Version 4.1.2-snapshot
Build 7500.

How to compare two page's UV/PV data and whole traffic in Google Analytics?

Say I install GA successfully on my website site.com
I have two url:
site.com/page-a
site.com/page-b
I can see detailed information of each in "Content"->"All Pages". But I don't know how to compare them? I remember the old version of GA can do this but now I just don't know how to do.
I also want to know how to compare the data with the whole site's data.
Thanks very much for any kind of tips!
It would be possible if you create two segments for each page and apply that segment using page filter this way you can compare data between two pages.

Resources