Kibana 4.3: How do load visualization only after a filter is applied? - kibana-4

[Background]
I have a dashboard which logs performance of my application for
multiple versions.
[Query]
Need to load a specific visualization(say line graph) only when a
filter of 'version:1.1' is applied.
[Additional Info]
The reason behind this is when no version is selected, it loads all the samples of all the version which is messy and the data is unreadable.
I cannot add that as a filter before hand because I don't know which version the user would want to analyse.
Also, I want to avoid another hyperlink which re-directs to a new page.[If this is possible, please share as I am not sure, how would I force user to select app version before moving to that page]
P.S.: Please let me know if I am not making sense here.

Related

Embedding Kibana (Elastic Search) into WordPress?

I'm really after some advice here please.
I have a membership website, and I am using WordPress to manage access to my paid subscriptions.
I'm interested in Kibana in terms of its' data visualization but my question is really one of whether I'm using it for the wrong purposes?
My point is: can Kibana be embedded and made to look white-labelled?
I'm pretty sure Kibana is really meant for internal use hence my question.
Thanks!
Yes that is possible. You can create various visualizations and have them integrated into one dashboard in Kibana.
This dashboard feature has capability to share these visualizations as discussed in this LINK. As an example, the share URL comes in the below format:
<iframe src="http://abc.myserver.com:5601/app/kibana#/dashboard/a6c99100-b2b2-11e7-8aa0-9fc1ad35f7e7?embed=true&_g=()" height="600" width="800"></iframe>
You can either share the current state of the dashboard with your users, or share them the most recent view of the dashboard whenever they reload their page.
Let me know if it helps.

Spam Bugs in analytics

I am getting 100 sessions on /error page on my all of three website. As it is coming from "not set" so unable to check the path of that traffic.
Is there any spam or how can I add any kind of filter when I don't have idea where the sessions are coming.
Please help.
error in analytics
Do you have the bot filtering enabled in your view? We find that it is not perfect but it's a good start.
Perhaps you can look at these request and see there is a set pattern; we have seen spam traffic coming from OS = Linux when typically our site visitors are mostly windows and mac. We know those are spams for sure; these requests are from weird, probably automatically generated screen size. Check city / province / OS etc of these sessions to see if there is a set pattern.
Do you have a view specific for reporting? If not, it will be a good practice to create a filtered view so that you can apply these filtering logics as needed. The idea is to keep an unfiltered view for diagnosis, and a filtered view for analysis and reporting. In the new view, you can create exclude filters to block the patterns. Make sure your filter is specific enough so that it won't block more than it should.
Check if your site has any soft or hard redirect for those pages; it could be why the error page does not capture any additional information. (It happens a lot for 404 redirects)

Add tag to document from Kibana

We use Kibana, ElasticSearch and Logstash to monitor the health of production systems.
When fatal errors are logged, then handled by our support staff, we would like to be able to tag them as "Handled/Fixed" as well as insert a comment, within our Kibana dashboard.
This way we could set up a dashboard that displays only "Unhandled" errors that haven't been looked at by the support staff. A very basic ticket system, if you will, based on production logs.
Is there any plugin for Kibana that provides this feature?
If not, could a gentle soul provide a high-level overview of the development that would be required to write such a plugin?
I would think you could do this with a Javascript file that gets included in the Kibana dashboard.
You would write a file (let's pretend it's called support.js) and then add the to the Kibana HTML.
Then you can inspect the DOM that Kibana generates and:
Add a button where needed.
Show a modal popup when the button is clicked.
Wire up the save button to make AJAX calls to ES. (Marking a ticket as handled/fixed).
The script would introduce new fields to the documents and then it's easy to configure Kibana to filter on the fields.
That's the most orthogonal way to try and add functionality without getting into the actual Kibana code.

Kibana 4 custom dashboard

Kibana 4 with aggregation feature has proved very useful to me, however I need to do application-side join inorder to work with the available data.
Is there a way in kibana 4 to execute a application-side join (set of queries + code) and return a dashboard?
I read online docs of how to do this as scripted dashboard (kibana 3) http://www.elasticsearch.org/guide/en/kibana/current/templated-and-scripted-dashboards.html however my understanding is that this is no longer supported in kibana 4.
Kibana 4 is in development (Beta 3 is comming soon). You should look at the github project and browse issues to see watch is/will be implemented in the next versions of kibana 4.
If there is no issue, you should create new one to submit the feature.
Link : https://github.com/elasticsearch/kibana/issues?q=is%3Aissue+scripted+dashboard
Yes you can get. but you should extract the extra fields for that. Through logstash extract the more fields using filter..
Im showing you down with custom dashboards. You need to create dashboard and add visualizations and save it.
It possible using the new version for sure.. (4.0.1) you can very easily manipulate the client side with additional json inputs, or you can create your own queries that will be rendered as a dashboards widgets.

Buddypress for wordpress Main Activity filtering AJAX

I am trying to wrap my head around how these are all connected. I am trying to add some functionality to my main activity AJAX query if a button is clicked. I see the _inc/ajax.php to edit and have looked through it, but not sure where to edit it to include new options or new loops.
As of now it seems I can find some of the features listed but I am getting stuck on how they get connected up specifically when creating my own new custom loops to be used. I created a update-loop.php and put this in my theme folder in a new directory called 'update' but can't seem to get it loaded up correctly.
All I want is to get the filtering option to filter new blog posts. (if possible new blog posts from a specific category, which looking through the available options and don't see it anywhere). Note I am NOT using wordpress Mu.
Thanks for any help or guidance, I have asked on the buddypress support forums (lost cause) but I never get any feedback or any peep out of any one there.
---------EDITED:
Let me clearly ask at least one question that would be very helpful in my knowledge and future development with buddypress in working using AJAX.
How can I/If possible create my own custom loops and use them within the ajax filtering options on the main activity wall?
Please any help would be greatly appreciated...
I don't know if you custom functionality is (seperate) plugin but take a look at this:
http://codex.wordpress.org/AJAX_in_Plugins
I'm afraid I don't understand what you are asking or what you want to do....

Resources