Exporting wazuh graphs - kibana

Let me start by saying that I am not very familiar with wazuh and kibana.
I am creating a web application in Angular and it is required for me to embed wazuh charts in it.
Example chart that I need to export:
I have been told that it is possible to do it but not how to do it. I am thinking about pulling the data from API and recreating the graphs. In order to do that I was trying to figure out what library was used in wazuh to create the original graphs but I failed. Do you know the library that is used to generate those graphs? Or maybe if it is proprietary solution? Maybe you know a better way to embed those graphs in a web application?

If you need to import the Alerts level evolution graph you may recreate it by creating a custom visualization. Click on the top left menu and go to the Visualize section. Select the type of graph, an area graph in this case, and select the source, for example wazuh-alerts-*.
Add a bucket for the X axis with Date Histogram using the timestamp field, add a sub-bucket with Split series, sub aggregation Terms and field rule.level.
Once you have created and saved the visualization you may click on Share, Embed code and copy an iframe that you can paste into your application.
You can also import full dashboards with several visualizations by creating and sharing a custom Dashboard instead.

Related

Does Google store and use data used for googleVis visualisations?

I'd like to create some interactive charts using googleVis package in R but I am a bit hesitant as I am not sure if Google will store the data I want to visualize. I have read their terms and conditions [https://developers.google.com/terms/ ] (particularly the 'Content' section) and it seems to suggest that they can but I was never any good at legal jargon.
Does visualizing my data through the API mean I submitted 'content' to Google and they can subsequently store and use it?
If so, are there any alternatives i.e. r packages that can create interactive dashboards and motion charts?
https://google-developers.appspot.com/chart/interactive/docs/gallery/columnchart
Bottom of the page ->
Data policy
All code and data are processed and rendered in the browser. No data is sent to any server.
Not sure about googles policy on data, but here are some alternatives:
rCharts
Shiny
htmlwidgets

Knowledge Graph (Demo) UI using sigma.js?

Are there any beginner-friendly tutorials to display graphs in the way Knowledge graph has been done?
I have the data is JSON format presented from a graphdb
For eg:
The closest I have found so far is Gelphi. Which also can be integrated with unity to produce a 3d Graph like this one https://www.youtube.com/watch?v=h_arRCf73Kg.
Then there is https://cayley.io/
https://n0where.net/opengraphiti-data-visualization-engine/
There is also https://www.maana.io/knowledge-platform/platform-capabilities/#maana-knowledge-graph . However, i have not tried to use/download their platform.
https://en.wikipedia.org/wiki/Force-directed_graph_drawing
Finally, I am working myself on learning unity to build a simple GUI which a user can identify nodes and edges and entities easily and move them around. So instead of just reading from a data base, also write to it through a UI.

R interactive graphs for data manipulation

I need your advice about a project I'm gonna start on data manipulation. We own some meteorological stations acquiring data every 10 minutes. Now, we use an old data validation software that I want to update.
Recently I managed to build a web app with shiny and ggplot2 packages so we can plot or download (whole or subseted) our previously validated data sets. Now I would like to build a new app so we can plot non validated data and interactively perform validation.
Let's say we have temperature data showing usual values for a single day but with a completely wrong value (120 degrees). Is it possible to just click on that point and remove from the data set?
Googleing I read about iplots and rggobi packages but I am not sure if they fit my wishes. Please, could you point me to some packages, readings or examples so I can start my project?
Thanks in advance
I would recommend d3 (a javascript library) for building dynamic plots. Here is an example for destroying symbols. You would just need to add an onclick action to make it interactive.
rCharts can be used to interface between R and javascript. Here is an example with d3.
The nice thing about rCharts is that it can interface with many javascript libraries.

Datatable and chart drupal view

I decided to use Drupal for a project. I am having some difficulties so please kindly help me.
I want to generate a table containing different calculations.
I want to generate a chart using the data from the table. If possible.
I tried before with view aggregation but no luck so far
I can't use google chart . Machine don't have access to internet.
Please see the attached image for info
Using Charts in combination with Highcharts is for sure an option that does not require an internet connection. However you'd have to check The license terms to see if you qualify for a free license (at no Cost). Refer to Steps to create charts using the views UI for step by step instructions.
There are some other modules available also, which also facilitate the creation of charts, and which might be considered as a possible alternative to the charts module. Checkout the Comparison of charting modules I creatief, for more details about them.

Does anyone know how to create a interactive graphs using flare or other visualisation classes?

Does anyone know of software or flex/flash/as3 source or visualisation software that could be used to make interactive graphs, where the user would enter a query that would pull data from a MySQL database and the user would build a sunburst or icicle graph by dragging and dropping items into a tree-like structure and they would be able to view the graph? i have attempted to use flare but my programming skills are pretty bad. So far from what i gather, flare only allows the graphing of defined datasets rather than allowing a user to modify the dataset and thus creating a new dataset.
Help?
This is far too big for the scope of a single question. You're going to need to write at least a few different pieces.
1.) Access to the database and a way to view datasets
2.) Control handlers to drag and drop datasets onto your chart object
3.) A chart object that can handle receiving dropped dataset items and render itself accordingly.
There are lots of good charting frameworks out there including Flare, Axiis, Flex charting, Fusion Charts, iLog Elixir. I'm not sure what you're trying to do but any one of those should be able to serve as your charting piece.
We worked on a project that used Flare and Flex. We had to provide the data to Flare in an XML format called GraphML, so we had code to convert the data into the required format in our C# backend, and then we passed it to Flex. There were naff all tutorials for it though, so took some time to figure it out.
There is a properly cool graphing tool (although its commercial) called Kapit. Check out their Diagrammer and Visualizer demos. It could be the case that its worth the spend.
But I agree with Mr Owen, theres some mad scope in that question:)

Resources