Reader small image

You're reading from  Learning Kibana 5.0

Product typeBook
Published inFeb 2017
Reading LevelBeginner
PublisherPackt
ISBN-139781786463005
Edition1st Edition
Languages
Right arrow
Author (1)
Bahaaldine Azarmi
Bahaaldine Azarmi
author image
Bahaaldine Azarmi

Bahaaldine Azarmi, Global VP Customer Engineering at Elastic, guides companies as they leverage data architecture, distributed systems, machine learning, and generative AI. He leads the customer engineering team, focusing on cloud consumption, and is passionate about sharing knowledge to build and inspire a community skilled in AI.
Read more about Bahaaldine Azarmi

Right arrow

Diving into Timelion code


Understanding how a Kibana plugin is structured is essential to tackle the development of extensions. This is what we'll look at first before diving into the Timelion function's code.

Understanding the Kibana plugin structure

A Kibana plugin is fundamentally an Angular application; it follows a specific structure, that is, a layout, as shown next:

public 
app-logo.png
app.js server
api.js
index.js
gulpfile.js
package.json
README.md
  • The public folder contains all the public files that will be served to the user's browser, except the app.js file, which is used to load the following:

    • All the application UI components and libraries

    • All the routes that the backend API will serve

  • The server folder contains all the backend files, which implement the API called by the front end code. Typically, the routes defined in the app.js file will point to that API. Note that this folder could have a different name.

  • The index.js file is used to bootstrap the application and essentially...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Kibana 5.0
Published in: Feb 2017Publisher: PacktISBN-13: 9781786463005

Author (1)

author image
Bahaaldine Azarmi

Bahaaldine Azarmi, Global VP Customer Engineering at Elastic, guides companies as they leverage data architecture, distributed systems, machine learning, and generative AI. He leads the customer engineering team, focusing on cloud consumption, and is passionate about sharing knowledge to build and inspire a community skilled in AI.
Read more about Bahaaldine Azarmi