Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev docs] Add sample data tutorial. Closes #98297 #99252

Merged
merged 11 commits into from
May 18, 2021
Binary file added dev_docs/assets/ml_csv_upload.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev_docs/assets/sample_data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions dev_docs/tutorials/sample_data.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
id: kibDevTutorialSampleData
slug: /kibana-dev-docs/tutorial/sample-data
title: Add sample data
summary: Learn how to add sample data to Kibana
date: 2021-04-26
tags: ['kibana', 'onboarding', 'dev', 'architecture', 'tutorials']
---

## Installation from the UI

1) Navigate to the home page
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use "1." instead of "1)". Also, add an ending period to each step.

  1. Navigate to the home page.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed with c98f1d5

1) Click "Add data"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For UI components, we use bold instead of quotes:

  1. Click Add data.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed with c98f1d5

1) Click on the "Sample data" tab
1) Select a dataset by clicking on the "Add data" button

![Sample Data](../assets/sample_data.png)

## CSV Upload

1) Navigate to the Machine Learning application
1) Click on the "Data Visualizer" tab
1) Click on "Select file" in the "Import data" container

![CSV Upload](../assets/ml_csv_upload.png)

## 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>
```