Kibana 3 - Extract the query automatically then use it in a watcher - kibana

I am trying to create a watcher based on a Kibana 3 dashboard. Meaning I want the watcher to run the same query as the dashboard. Is there any automated way (using some sort of api) to copy the query from kibana?
In my research i found a manual way of doing so, by clicking on the "Inspect" button in the dashboard documents visualization.
A picture of the Inspect button : http://i.imgur.com/by7IMk7.jpg
Any ideas?

Related

Displaying grafana metrics dashboard for every user account

My team and I are working on a prop-tech product. It is a property management app, and we want to display the property KPIs for every property owner in their accounts. We are thinking of Grafana to create the visualizations. However, I am not sure how we can display the KPIs in every user's dashboard. Can anyone suggest a way around this? Or is there any other tool that can help in this problem?
We tried embedding the Grafana link onto our fronted, but the problem comes when we have too many users that embedding becomes tedious. Please help

Progress 4GL - How to create infinite scroll browse

We are using an older character based version of QAD's MFG/PRO running on Progress version 10.1. On one of the shipping tables, I've to create a browse that will display all records in a scrollable browse (sort of infinite scroll browse). It will display first 10 records initially, but user will be able to scroll up or down in the browse, which should load previous or next record (up or down arrow key).
I was wondering how something like this can be achieved. Preloading a temp-table with millions of records doesn't seem like a good idea, querying the database for every up or down arrow key press sounds equally bad. Does DEFINE BROWSE provides a way to achieve this? Is there a way to code lazy loading type scenario?
Also, how the scenario would change if instead of a browse showing data from a single table, will combine data from multiple tables?
Any help/pointers in this regard will be helpful. Also, if some best practices can be shared.
You can look at the END and OFF-END events in the browse widget. This will alert you when the user wants to scroll forward/backward. The query associated with the browse also has an OFF-END event that you could look into using for this.
Doc at https://docs.progress.com/bundle/abl-reference/page/High-level-widget-events.html#High-level-widget-events

Embed Google Analytics sessions (line graph and counter) in page

I am attempting to learn how to create a pretty simple widget to embed in a web page that will show the pageviews for that page to the reader. Just want to show views over the past 90 days, but as a total number and as a line graph.
I've been fussing with the Embed API reference guide at developers.google.com, and I have managed to create a basic dashboard - but I'm struggling to figure out how to take that code and target it down for only one property and how to filter the query to a particular URL.
Am I barking up the wrong tree, trying to use the embed API?
The embed API is not the way to go for this as it is designed for you to log in and look at your own data. You would need to use something like superProxy instead - https://developers.google.com/analytics/solutions/google-analytics-super-proxy

How would I go about creating an interactive map using google's API in Wordpress?

I'm working on a Wordpress website for a friend and want to put a calendar on a page that when the mouse scrolls over a country for the country to light up and display some information as well as give the user some options to download a pdf about that country.
See http://us.fulbrightonline.org/countries/selectedregion/23 to get an idea of what I mean.
Just need to get a sense of what technologies and tools are needed to make something like this work. I know I will need to utilize an API but the hovering and attaching a pdf to each country is new to me.
You could try to use the Google Geochart API for your problem. It allows to create interactive maps and to capture click events. It also allows to color countries individually and to display tooltips. You can find more information and examples here: https://developers.google.com/chart/interactive/docs/gallery/geochart
I created a plugin for WordPress that uses this API. It integrates all the needed scripts and allows to build a map from the admin panel. You can find more information here:
http://meisterpixel.com/interactive-map-builder/

How to make a box with user options in facebook open graph

I have an online magazine with news articles and i want to make an open graph action that everytime a user reads an article a story to post in his timeline.
I have all the nececery open graph tags in my urls and a login button with publish_actions scope.
I'm one step away from submitting the action for approval but i still cant figure out one thing.
The facebook's documentation says that i need to give users an option to stop auto publishing or remove the app etc. something like the image in the middle of this page http://developers.facebook.com/docs/opengraph/actions/builtin/#read .
I saw it also on yahoo and its exacly the same.
How can i make something like this in my site? The code is ready somewhere or i have to write it myself?
Thanks in advance!
The permission remove, or just a switch to stop publish of action and the delete article functions will have to be developed by you.
I am working on the same things for my app.
creating user CP control panel containing, revoke perms buttons.
a user CP to swich publishing on and off, via true/false in mysql
an array of app activities with delete buttons.

Resources