<!-- Source: https://docs.squirro.com/en/latest/technical/data-loading/ui.html -->
# UI Data Loader

This page provides an overview of data loading using the Squirro UI.

It is intended for Project Creators with access to their project’s Setup space.

## Squirro UI Data Loader

Squirro recommends using the Squirro UI in your browser (as opposed to the Data Loader CLI Tool) to add data to your projects.

To access the Squirro UI Data Loader, follow the steps below:

1. Sign in to your Squirro project.
2. Click Setup in the Squirro Spaces Navigation menu in the top-right corner of the page.
3. Click the Data tab. (_Result:_ The Data Sources page will load.)
4. Click the plus icon as shown in the screenshot below.

[![Data Sources Page in Squirro UI](https://s3.amazonaws.com/download.squirro.net/docs/technical/general/add-data.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/general/add-data.png)

From here, you have a range of options spread across different categories, including the following:

- **Web**, including RSS and Atom feeds, track website changes, and crawl a website.
- **Social Media** such as Facebook, Twitter, Instagram, LinkedIn, YouTube, and more.
- **Data Import**, allowing you to upload CSV, JSON, and Excel files and connect other Squirro data.
- **Enterprise Data**, including Confluence, Dropbox, Gmail, Exchange, Salesforce Cloud, and more.
- **Business Intelligence** connectors such as Power BI, Tableau, SAP, Microstrategy, and Sisense.
- **CRMs**, including Microsoft Dynamics CRM, Oracle Netsuite, Salesforce, and SugarCRM.
- **IT Support Management** (ITSM) such as BMC Remedy, ServiceNow, Zendesk, and more.
- **Premium Data**, ranging from Dow Jones Newswires to LexisNexis and many more.

Reference: See [Built-In Data Connectors](connectors/built-in/index.md#data-loading-connectors-built-in) for more details.

Tip: Don’t see a way to connect to your data source? To build your own custom data loader plugin or connector, see [How To Write a Custom Data Loader Plugin](how-to/custom-loader.md#data-loader-custom-loader) or [How To Write a Custom 1-Click Connector](how-to/custom-connector.md#data-loader-custom-connector) respectively.

## Troubleshooting

If you are having issues with a data source, the first thing you can do is check the Logs for the data source in question.

To access a specific data source’s logs, follow the steps below:

1. Log in to your project in your browser.
2. Navigate to Setup → Data Sources.
3. Click the three dots that appear after hovering over the data source in question.
4. Click Logs, as shown in the screenshot below:

[![Data Source Logs Option](https://s3.amazonaws.com/download.squirro.net/docs/technical/data-loading/data-source-logs.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/data-loading/data-source-logs.png)

After clicking Logs, a window will open displaying logs that will help you troubleshoot issues with the data loader and that particular source.

> **Note**
>
> If you are looking to troubleshoot issues with the Squirro Ingester service, view your instance’s [Squirro Monitoring](../ui/squirro-monitoring.md#ui-squirro-monitoring).

## Source Batch Size

Squirro dataloaders contain batch size settings.

Source batch size refers to the number of items fetched from the source at once and is set to default at 1000.

[![image1](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214201013.png)](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214201013.png)

## Ingestion Batch Size

You can also set an ingestion batch size by enabling _Use custom ingestion batch size_.

Ingestion batch size refers to the number of items ingested in Squirro at once after they are fetched from the source.

[![image2](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214168429.png)](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214168429.png)

## Ingestion Limit

The maximum number of items ingested into Squirro can be set by enabling _Use custom max no. of items to ingest_.

[![image3](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214233624.png)](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214233624.png)

## Kill a Running Dataloader Job

If the dataloader job is running, you can end the job using the Kill option shown below:

[![image4](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214168439.png)](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214168439.png)

## Logs for Individual Dataloader Job

The logs for each dataloader job can be fetched by clicking Logs.

[![image5](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214168447.png)](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214168447.png)

Shown below are the logs of an example dataloader job:

[![image6](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214168455.png)](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214168455.png)

To improve the log visibility for the datasources, users can fetch the logs per source.

These logs are placed in `/var/lib/squirro/datasource/source_logs`. Given a `project_id` and a `source_id`, the log file is represented as `project_<project_id>_source_<source_id>.log`

## Language Field Mapping

While creating or editing a source, in addition to other Squirro item fields, _Language_ can now be mapped with an incoming source field.

[![image7](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214201052.png)](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214201052.png)

## Entities Transfer Using Squirro Project:

While using the Squirro project dataloader, entities can now be transferred from the source project. This can be set in the _Configure Source_ step while importing data from Squirro project as shown below:

[![image8](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214135485.png)](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214135485.png)

The entities corresponding to Squirro items are imported as shown below:

[![image9](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214135491.png)](https://s3.amazonaws.com/download.squirro.net/docs/migrated-attachments/2214168412/2214135491.png)
