input controls for easy filtering in kibana dashboard? - kibana

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

Related

Application Insights Dashboard - Set Graph Dimensions?

I am currenty setting up a new dashboard in application insights to monitor our applications in detail. To do so, I am logging custom events from my application, and using a log query, I generate a Stacked Column Chart. Like so:
Chart. Notice that I am grouping on multiple dimensions, and the generated chart lets me pick which Dimension I want. (As documented here: https://learn.microsoft.com/en-us/azure/azure-monitor/log-query/charts#multiple-dimensions)
Now, when I pin this chart to my dashboard, I lose the ability to pick the dimension I want to see there. (Dashboard chart) Is there some way to retain this, or do I have to create and pin multiple charts, one for each dimension?
You are right. Changing the dimensions of existing parts are not supported yet.
We plan to support this in the future.
I'll ask here once we add this support.

How to analyze multiple query parameters in Google Analytics

I'm setting up Google Analytics for a website where a user can find an event to attend (concerts, plays, etc.). The results can be filtered by 5 different parameters.
So, unfiltered results would look like: example.com/event-finder/
And filtered results showing concerts in January or February would look like: example.com/event-finder?type=concert&month=jan,feb
I'm struggling to figure out the best way to use the query parameters in Google Analytics to analyze filtering behavior.
Example questions I'd want to be able to pull answers for:
What percentage of results were filtered by type?
What percentage of results were also sorted by month?
What is the most common type filtered by?
I have full access to both Google Analytics and Tag Manager but I suspect I shouldn't do this with events or custom dimensions and that there's got to be a way to use the query parameters to do this in a clean way.
I've tried to use a new view and site search to group the types of filters. Seems like it could work, but seems hacky and limited.
I've considered pushing those values into custom dimensions, but that too seems like overkill.
I've considered pulling content reports into Google Sheets and sorting through things there, but I'm 1) not entirely sure how I'd do that and 2) suspect there may be an easier approach.
Let me know if you have any questions or need more clarification. Thanks!
Have you tried to use "category parameters" when configuring site search (admin -> view settings)? You could set the "type" as a category parameter. You can also enter multiple parameters in there.
Check this screenshot of site search configuration

Google Analytics Absolute Change Sort in Custom Reports

I have a problem with my Custom Reports in Google Analytics. I'm trying to compare periods but it seems impossible to use Absolute Change sort within Custom Reports. Instead, the same option is available in classic reports. Is absolute change sort option available for custom report? Thank you in advance for your help.
Edit: Unfortunately I can't attach any photo, but I will try to explain better. As you surely know in Google Analytics I can compare data with a previous period. Analytics allows the user to sort the compared data through several Sort Types. There are three Sort Types available: Default, Absolute Change and Weighted. Each one of these takes into account different algorithms to sort data. You can switch to a different sort type just by using the drop-down menu placed beside "Secondary Dimension", above the results table. So, I checked out that In Custom Reports the "Absolute Change" option is never made available: when I try to switch from Default to Absolute type, the entry "Absolute Change" is disabled, so I can't select it. It seems to be a trivial feature of Analytics, and I'm not sure whether it is a limitation of custom reports, or maybe if I configured something wrong.

Making independent graphs for different event types

The application insights APIs let you record custom events for user-defined purposes. They also let you record custom properties on those events.
The Application Insights chart control on the Azure Portal however, appears to have some annoying limitation.
Let's say we have two event names:
Login: A user logged in.
Work: The application started some expensive background job, which happens independently of any user action on various conditions.
Then I likely don't want those event types to be series in the same chart. In particular, I may want to do a grouping by user or something similar in case of Login, but that would make no sense for the Work type.
They really have nothing to do with each other and I'd like to have them in different charts.
I do, however, want them to be in the same chart control (the whole white rectangle thing that groups charts together and where you set the time scope and filters on).
The following missing features would each solve the problem:
If it was allowed to set a filter on individual charts rather than only the chart control as a whole.
If each event name would appear as a distinct metric to select.
I know there's also Analytics, but then I still don't have the new chart in the same old chart control.
Is there another option I overlooked?
There's no way to do this in any one specific metrics explorer window, like you said, filters apply to the whole window.
But you can do this by creating a dashboard, and pinning individual metrics explorer charts (or grids, or whatever) to that dashboard.
make a new dashboard, and name it something distinctive
create one of the charts you want with the right filters in a standard metrics explorer part.
pin that chart to the dashboard created in step 1.
repeat steps 2 and 3 to create each chart with its own settings
go to that dashboard, and resize / configure each chart the way you want it

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 :)

Resources