Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed manage-data/images/sample-upload-a-file.png
Binary file not shown.
Binary file removed manage-data/images/serverless-file-uploader-UI.png
Binary file not shown.
13 changes: 3 additions & 10 deletions manage-data/ingest/sample-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ The simplest way is to add one or more of our sample data sets. These data sets

If you have no data, you will be prompted to install these packages when running {{kib}} for the first time.

You can also access and install them from the **Integrations** page. Go to **Integrations** and search for **Sample Data**. On the **Sample Data** page, expand the **Other sample data sets** section and add the type of data you want.
<br>
You can also access and install them from the **Integrations** page. Go to **Integrations** and search for **Sample data**. On the **Sample data** page, expand the **Other sample data sets** section and add the type of data you want.

:::{image} /manage-data/images/sample-data-sets.png
:alt: Sample data sets
:screenshot:
Expand All @@ -42,11 +42,4 @@ Make sure to execute `node scripts/makelogs` *after* {{es}} is up and running.

## Upload a file

You can also upload your own sample data using the **Upload a file** option on the **Integrations** page.

Go to **Integrations** and search for **Upload a file**. On the **Upload file** page, select or drag and drop a file to add your data.
<br>
:::{image} /manage-data/images/sample-upload-a-file.png
:alt: Upload a sample data file
:screenshot:
:::
You can also upload your own sample data using the **Upload a file** option on the **Integrations** page. For detailed instructions, refer to [Upload data files](/manage-data/ingest/upload-data-files.md).
71 changes: 45 additions & 26 deletions manage-data/ingest/upload-data-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,46 +12,65 @@

# Upload data files [upload-data-kibana]

% What needs to be done: Align serverless/stateful
You can upload files, analyze their fields and metrics, and import their data into an {{es}} index using the Data Visualizer.

% Use migrated content from existing pages that map to this page:
1. Open the **Integrations** page using the global search field, then search for **Upload a file** using the integrations search field.

% - [x] ./raw-migrated-files/docs-content/serverless/elasticsearch-ingest-data-file-upload.md
% - [x] ./raw-migrated-files/kibana/kibana/connect-to-elasticsearch.md
2. Click **Upload a file** to open the Data Visualizer UI.

% Note from David: I've removed the ID $$$upload-data-kibana$$$ from manage-data/ingest.md as those links should instead point to this page. So, ensure that the following ID is included on this page. I've added it beside the title.
3. Depending on your version and deployment:

You can upload files, view their fields and metrics, and optionally import them to {{es}} with the Data Visualizer.
::::{applies-switch}

To use the Data Visualizer, click **Upload a file** on the {{es}} **Getting Started** page or navigate to the **Integrations** view and search for **Upload a file**. Clicking **Upload a file** opens the Data Visualizer UI.
:::{applies-item} stack: ga 9.0.0-9.1.8

:::{image} /manage-data/images/serverless-file-uploader-UI.png
:alt: File upload UI
:screenshot:
:::
1. Drag a file into the upload area or click **Select or drag and drop a file** to choose a file from your computer.

Check notice on line 27 in manage-data/ingest/upload-data-files.md

View workflow job for this annotation

GitHub Actions / preview / vale

Elastic.Wordiness: Consider using 'drag' instead of 'drag and drop'.

Drag a file into the upload area or click **Select or drag and drop a file** to choose a file from your computer.
You can upload different file formats for analysis with the Data Visualizer.

You can upload different file formats for analysis with the Data Visualizer:
The supported file formats are:
* CSV, TSV, NDJSON, log files (up to 500 MB)
* PDF, TXT, RTF, ODF, Microsoft Office files (up to 60 MB)

File formats supported up to 500 MB:
After you upload a file, you can inspect its data and make any necessary changes before importing it.

* CSV
* TSV
* NDJSON
* Log files
2. Click **Import**.

File formats supported up to 60 MB:
3. Enter a name for the index where the data will be stored, then click **Import** again to complete the process.

* PDF
* Microsoft Office files (Word, Excel, PowerPoint)
* Plain Text (TXT)
* Rich Text (RTF)
* Open Document Format (ODF)
:::

The Data Visualizer displays the first 1000 rows of the file. You can inspect the data and make any necessary changes before importing it. Click **Import** continue the process.
:::{applies-item} stack: ga 9.2

This process will create an index and import the data into {{es}}. Once your data is in {{es}}, you can start exploring it, see [Explore and analyze](/explore-analyze/index.md) for more information.
1. Choose whether to import the data to a new index or to an existing one.
2. Enter a name for the new index or select an existing index from the dropdown.
3. Drag one or more files into the upload area or click **Select or drag and drop a file** to choose files from your computer.

Check notice on line 47 in manage-data/ingest/upload-data-files.md

View workflow job for this annotation

GitHub Actions / preview / vale

Elastic.Wordiness: Consider using 'drag' instead of 'drag and drop'.

The supported file formats are PDF, TXT, CSV, log files and NDJSON.

After you upload your files, you can inspect the data and make any necessary changes before importing it.

4. Click **Import** to complete the process.

:::

:::{applies-item} serverless: ga

1. Choose whether to import the data to a new index or to an existing one.
2. Enter a name for the new index or select an existing index from the dropdown.
3. Drag one or more files into the upload area or click **Select or drag and drop a file** to choose files from your computer.

Check notice on line 61 in manage-data/ingest/upload-data-files.md

View workflow job for this annotation

GitHub Actions / preview / vale

Elastic.Wordiness: Consider using 'drag' instead of 'drag and drop'.

The supported file formats are PDF, TXT, CSV, log files and NDJSON.

After you upload your files, you can inspect the data and make any necessary changes before importing it.

4. Click **Import** to complete the process.

:::
Comment on lines +57 to +69
Copy link
Member

Choose a reason for hiding this comment

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

As Stack 9.2 and Serverless are identical, can we combine these into a single tab instead of two? I've seen this pattern elsewhere, for example:

But our cumulative docs guidelines aren't clear about what the recommended pattern is. Do you know? The applies-switch docs also don't cover this.

Copy link
Member

Choose a reason for hiding this comment

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

Ah wait, it is covered here:

You can specify multiple applies_to definitions in a single applies-item using YAML object notation with curly braces {}. This is useful when content applies to multiple deployment types or versions simultaneously.


::::

After the uploaded data is imported into the specified {{es}} index, you can start exploring it. For more details, refer to [Explore and analyze](/explore-analyze/index.md).

::::{important}
The upload feature is not intended for use as part of a repeated production process, but rather for the initial exploration of your data.
Expand Down
Loading