Use Elasticsearch to view logs from your infrastructure and application. If you don’t have a running Elasticsearch instance, you can use our starter kit to start it up - find instructions below!


In order to enable Elasticsearch Provider in Fiberplane you need to either add it via direct access (for an openly accessible URL) or add it as a valid entry in the data_source.yaml configuration.
The data_sources.yaml format for adding a Elasticsearch Provider looks like this:
# data_sources.yaml # # Replace the following line with the name of the data source - name: elasticsearch-dev description: Elasticsearch (Dev) providerType: elasticsearch config: # Replace the following line with your Elasticsearch URL (including Basic Auth) url: http://username:password@elasticsearch:9200 # If accessing your Elasticsearch data source requires an API key - add it here token: <ApiKey>

Starter kit

The Elasticsearch starter-kit uses docker to run the following as docker containers:


docker and docker-compose - Installed and running. These are used to run containers locally.
Fiberplane CLI - Enables you to create & manage Templates, Notebooks, Proxy API keys and more via the CLI.
Proxy API token - Can be created either on Fiberplane Studio (UI) or via CLI.
It's possible to replace docker with podman when using our starter kits. If you wish to do so, we recommend installing podman-compose and replacing all docker-compose commands with podman-compose. All other aspects remain the same.


  • git clone https://github.com/fiberplane/quickstart.git
  • cd starter-kits/elastic/docker-compose
  • Edit the .env file (vi .env) and add in the proxy API token generated in step 3 of the Pre-Requisites. eg : FP_PROXY_TOKEN=yourtokenhere
  • docker-compose up -d

Verifying the installation

Verify that the containers are running (run docker ps).
Here is a sample output of what you should see
Image without caption

Exploring the data on Fiberplane

Now that you have everything setup, you are ready to create your first notebook. We recommend following the instructions below to do so using our starter kit template.
  1. Get the templatecd ../ (elastic directory)
  1. Add the template jsonnet file to Fiberplane: fp templates create --title="My elastic template" fp-elastic-starter-template.jsonnet >> Make a note of the template id.
  1. Now you can create a notebook using the template you just created. On Fiberplane studio, click on templates >> your template >> New notebook >> Create Notebook. This is also doable using CLI, just make sure you have the template id from step 2 - fp templates expand <templateid>
  1. Click the notebook link and you will have a notebook with few elastic queries pre-populated. Select your datasource my elastic
Image without caption
  1. Now execute each query by hitting CTRL + ↩︎ (Mac: ⌘ + ↩︎) or by clicking the play button next to each query cell.