Lately, I've had some success understanding how the "new" Kibana works by
installing Marvel and then looking around.
The biggest issue I'm currently experiencing is exactly what can be
specified for display. A dropdown would be useful, but for now you just
need to know.
Tony
On Tuesday, February 4, 2014 3:01:11 PM UTC-8, Gabe Gorelick-Feldman wrote:
Is there any documentation on implementing custom panels in Kibana?
It's actually not that difficult. Just need a little patience learning
AngularJS. The easiest way to start is to look:
src/app/panels is where all the panels live - copy one out of here (I'd
start with the text panel), create a new folder - new name based on your
panel name, and edit and strip down the editor, module, and js files (just
rename your panel name in the code accordingly)
src/config.js is where you will add your panel to make it visible to
kibana. Scroll down to the bottom and add it to the list
Assuming you got no syntax errors, clear your browser cache and refresh and
you should be able to add your new panel onto the dashboard. If something
is not working, just reverse all the processes above and you can go back to
your original Kibana state without much problem. You'll probably want to do
this in a DEV environment and test it first anyway.
I'm having some issues in the app.js file when I try to add my custom panel
to a row. I keep getting the error "Argument 'custTable' is not a function,
got undefined". custTable is the name of my custom panel. I've attempted
going through the actual js but it seems like an endless rabbit hole. Any
suggestions?
Thanks,
Nick
On Friday, February 14, 2014 8:25:59 AM UTC-5, Binh Ly wrote:
It's actually not that difficult. Just need a little patience learning
AngularJS. The easiest way to start is to look:
src/app/panels is where all the panels live - copy one out of here (I'd
start with the text panel), create a new folder - new name based on your
panel name, and edit and strip down the editor, module, and js files (just
rename your panel name in the code accordingly)
src/config.js is where you will add your panel to make it visible to
kibana. Scroll down to the bottom and add it to the list
Assuming you got no syntax errors, clear your browser cache and refresh
and you should be able to add your new panel onto the dashboard. If
something is not working, just reverse all the processes above and you can
go back to your original Kibana state without much problem. You'll probably
want to do this in a DEV environment and test it first anyway.
I have been getting error: 'xyz' is not a function, got undefined where xyz
is name of my panel. I have changed the name of controllers and modules to
xyz.
Is it possible to write a panel from scratch? How is the rendering done?
Where are the controllers defined?
On Friday, February 14, 2014 6:55:59 PM UTC+5:30, Binh Ly wrote:
It's actually not that difficult. Just need a little patience learning
AngularJS. The easiest way to start is to look:
src/app/panels is where all the panels live - copy one out of here (I'd
start with the text panel), create a new folder - new name based on your
panel name, and edit and strip down the editor, module, and js files (just
rename your panel name in the code accordingly)
src/config.js is where you will add your panel to make it visible to
kibana. Scroll down to the bottom and add it to the list
Assuming you got no syntax errors, clear your browser cache and refresh
and you should be able to add your new panel onto the dashboard. If
something is not working, just reverse all the processes above and you can
go back to your original Kibana state without much problem. You'll probably
want to do this in a DEV environment and test it first anyway.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.