|
| 1 | +--- |
| 2 | +id: smartsheet-source |
| 3 | +title: Smartsheet Source |
| 4 | +sidebar_label: Smartsheet |
| 5 | +keywords: |
| 6 | + - smartsheet |
| 7 | + - cloud-to-cloud |
| 8 | +description: Learn how to collect events from Smartsheet platform. |
| 9 | +--- |
| 10 | +import CodeBlock from '@theme/CodeBlock'; |
| 11 | +import ExampleJSON from '/files/c2c/smartsheet/example.json'; |
| 12 | +import MyComponentSource from '!!raw-loader!/files/c2c/smartsheet/example.json'; |
| 13 | +import TerraformExample from '!!raw-loader!/files/c2c/smartsheet/example.tf'; |
| 14 | +import useBaseUrl from '@docusaurus/useBaseUrl'; |
| 15 | + |
| 16 | +<img src={useBaseUrl('img/send-data/smartsheet.png')} alt="thumbnail icon" width="55"/> |
| 17 | + |
| 18 | +Smartsheet is used to collaborate on project timelines, documents, calendars, tasks, and other works. Smartsheet integrates and connects with many of the systems teams use today. This allows for efficient information sharing, improved collaboration, and decision-making across teams’ tech stack. The Smartsheet source collects and ingests the events that are occurring in your Smartsheet organization account. Examples of events are creation, update, load, and delete of sheets, reports, dashboards, attachments, users, etc. |
| 19 | + |
| 20 | +## Data collected |
| 21 | + |
| 22 | +| Polling Interval | Data | |
| 23 | +| :--- | :--- | |
| 24 | +| User entered | [List Events](https://smartsheet.redoc.ly/tag/events/#operation/list-events) | |
| 25 | + |
| 26 | +## Setup |
| 27 | + |
| 28 | +### Vendor configuration |
| 29 | + |
| 30 | +To collect data from Smartsheet, you need a Smartsheet account with admin privileges that would allow the creation of an app via a developer account. [Steps](https://smartsheet.redoc.ly/#section/OAuth-Walkthrough/First-Steps) to create a developer account in smartsheet. |
| 31 | + |
| 32 | +### Source configuration |
| 33 | + |
| 34 | +When you create a Smartsheet source, you add it to a Hosted Collector. Before creating the source, identify the Hosted Collector you want to use or create a new Hosted Collector. For instructions, see [Configure a Hosted Collector and Source](/docs/send-data/hosted-collectors/configure-hosted-collector). |
| 35 | + |
| 36 | +To configure Smartsheet Source: |
| 37 | +1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Manage Data > Collection > Collection**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the Sumo Logic top menu select **Configuration**, and then under **Data Collection** select **Collection**. You can also click the **Go To...** menu at the top of the screen and select **Collection**. |
| 38 | +1. On the collectors page, click **Add Source** next to a Hosted Collector. |
| 39 | +1. Search for and select **Smartsheet** icon. |
| 40 | +1. Enter a **Name** to display for the source in the Sumo Logic web application. The description is optional. |
| 41 | +1. (Optional) For **Source Category**, enter any string to tag the output collected from the source. Category metadata is stored in a searchable field called `_sourceCategory`. |
| 42 | +1. (Optional) **Fields**. Click the **+Add Field** link to define the fields you want to associate. Each field needs a name (key) and value. |
| 43 | + *  A green circle with a check mark is shown when the field exists in the Fields table schema. |
| 44 | + *  An orange triangle with an exclamation point is shown when the field doesn't exist in the Fields table schema. In this case, an option to automatically add the nonexistent fields to the Fields table schema is provided. If a field is sent to Sumo Logic that does not exist in the Fields schema it is ignored, known as dropped. |
| 45 | +1. In **Application (client) ID**, paste in the Client ID from the vendor's setup "Create a Developer Account and Register an App" steps. |
| 46 | +1. In **Client Secret**, paste in the Client Secret from the vendor's setup "Create a Developer Account and Register an App" steps. |
| 47 | +1. In **Oauth 2.0 Authorization Code**, paste in the Authorization Code from the vendor's setup "Create a Developer Account and Register an App" steps. |
| 48 | +1. **Polling Interval**. You have the option to select how often to poll for events in minutes. Default is 10 minutes. |
| 49 | +1. When you are finished configuring the source, click **Save**. |
| 50 | + |
| 51 | +## JSON schema |
| 52 | + |
| 53 | +Sources can be configured using UTF-8 encoded JSON files with the Collector Management API. See [Use JSON to Configure Sources](/docs/send-data/use-json-configure-sources) for details. |
| 54 | + |
| 55 | +| Parameter | Type | Value | Required | Description | |
| 56 | +|:--|:--|:--|:--|:--| |
| 57 | +| schemaRef | JSON Object | `{"type":"Smartsheet"}` | Yes | Define the specific schema type. | |
| 58 | +| sourceType | String | `"Universal"` | Yes | Type of source. | |
| 59 | +| config | JSON Object | [Configuration object](#configuration-object) | Yes | Source type specific values. | |
| 60 | + |
| 61 | +### Configuration Object |
| 62 | + |
| 63 | +| Parameter | Type | Required | Default | Description | Example | |
| 64 | +|:--|:--|:--|:--|:--|:--| |
| 65 | +| name | String | Yes | `null` | Type a desired name of the source. The name must be unique per Collector. This value is assigned to the [metadata](/docs/search/get-started-with-search/search-basics/built-in-metadata) field `_source`. | `"mySource"` | |
| 66 | +| description | String | No | `null` | Type a description of the source. | `"Testing source"`\ | |
| 67 | +| category | String | No | `null` | Type a category of the source. This value is assigned to the [metadata](/docs/search/get-started-with-search/search-basics/built-in-metadata) field `_sourceCategory`. See [best practices](/docs/send-data/best-practices) for details. | `"mySource/test"` | |
| 68 | +| fields | JSON Object | No | `null` | JSON map of key-value fields (metadata) to apply to the Collector or Source. Use the boolean field _siemForward to enable forwarding to SIEM.|`{"_siemForward": false, "fieldA": "valueA"}` | |
| 69 | +| app_client_id | String | Yes | `null` | The Smartsheet app client id to collect from Smartsheet platform. | | |
| 70 | +| client_secret | String | Yes | `null` | The Smartsheet app client secret to collect from Smartsheet platform. | | |
| 71 | +| authorization_code | String | Yes | `null` | The Smartsheet app client OAuth2 authorization code to collect from Smartsheet platform. | | |
| 72 | +| polling_interval | Integer | Yes | 10 | How frequently the integration should poll to Smartsheet. | | |
| 73 | + |
| 74 | +### JSON example |
| 75 | + |
| 76 | +<CodeBlock language="json">{MyComponentSource}</CodeBlock> |
| 77 | + |
| 78 | +<a href="/files/c2c/smartsheet/example.json" target="_blank">Download example</a> |
| 79 | + |
| 80 | +### Terraform example |
| 81 | + |
| 82 | +<CodeBlock language="json">{TerraformExample}</CodeBlock> |
| 83 | + |
| 84 | +<a href="/files/c2c/smartsheet/example.tf" target="_blank">Download example</a> |
| 85 | + |
| 86 | +## FAQ |
| 87 | + |
| 88 | +:::info |
| 89 | +Click [here](/docs/c2c/info) for more information about Cloud-to-Cloud sources. |
| 90 | +::: |
0 commit comments