mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 18:27:59 -04:00
* Update the slugs to improve google analytics drilldown tracking * more slug updates * Fix some formatting issues in building blocks * update paths Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
37 lines
1.4 KiB
Text
37 lines
1.4 KiB
Text
---
|
|
id: kibDevAddData
|
|
slug: /kibana-dev-docs/getting-started/sample-data
|
|
title: Add data
|
|
summary: Learn how to add data to Kibana
|
|
date: 2021-08-11
|
|
tags: ['kibana', 'onboarding', 'dev', 'architecture', 'tutorials']
|
|
---
|
|
|
|
Building a feature and need an easy way to test it out with some data? Below are three options.
|
|
|
|
## 1. Add Sample Data from the UI
|
|
|
|
Kibana ships with sample data that you can install at the click of the button. If you are building a feature and need some data to test it out with, sample data is a great option. The only limitation is that this data will not work for Security or Observability solutions (see [#62962](https://github.com/elastic/kibana/issues/62962)).
|
|
|
|
1. Navigate to the home page.
|
|
2. Click **Add data**.
|
|
3. Click on the **Sample data** tab.
|
|
4. Select a dataset by clicking on the **Add data** button.
|
|
|
|

|
|
|
|
## CSV Upload
|
|
|
|
1. If you don't have any data, navigate to Stack Management > Index Patterns and click the link to the uploader. If you do have data, navigate to the **Machine Learning** application.
|
|
2. Click on the **Data Visualizer** tab.
|
|
3. Click on **Select file** in the **Import data** container.
|
|
|
|

|
|
|
|
## makelogs
|
|
|
|
The makelogs script generates sample web server logs. Make sure Elasticsearch is running before running the script.
|
|
|
|
```sh
|
|
node scripts/makelogs --auth <username>:<password>
|
|
```
|