File upload
AI summary
About AI summaries.
To quickly get started with Imply Lumi, you can upload log files. For a step-by-step guide using file upload, see the Quickstart.
This topic describes the requirements for files you plan to upload to Lumi.
Prerequisites
To upload files to Lumi, you need the following:
- Access to Lumi with the Data manager role or higher. For information on roles and permissions, see Manage roles.
- Files in CSV or JSON format. For more information, see Event formats.
File size limit
Lumi supports a maximum file size of 200 MB. This limit refers to the size of the file transmitted by the browser or HTTP client.
Event parsing
This section describes how Lumi parses events from uploaded files. To transform the event timestamp, message, or user attributes after upload, see Transform events using pipelines.
CSV
For generic CSV format, Lumi parses events as follows:
- Event timestamp: Detected from the logs, else the current timestamp
- Event message: Whole CSV row
- User attributes: Each CSV field is a user attribute. You can customize CSV parsing if you use a delimiter other than comma or if you want to provide your own column headers (attribute names). You can also assign Splunk default fields in the UI.
- System attributes: At least the following—
receiver: imply.filefile: FILENAME, whereFILENAMEis the name of the fileenv: any value you entered for Env in the UIteam: any value you entered for Team in the UI
Splunk® CSV
For Splunk CSV format, Lumi parses events as follows:
- Event timestamp: Assigned from
_timefield - Event message: Assigned from
_rawfield - User attributes: All CSV columns except
_timeand_rawYou can also assign Splunk default fields in the UI. - System attributes: At least the following—
receiver: imply.filefile: FILENAME, whereFILENAMEis the name of the fileenv: any value you entered for Env in the UIteam: any value you entered for Team in the UI

JSON
For JSON format, including Splunk HEC, specify the fields that map to the timestamp and message.
-
Event timestamp: Field you designate in Time. Also select your time format and time zone. For supported formats and examples, see Timestamp handling.
-
Event message: Field you designate in Message. You can specify a single field or combine multiple fields to make up the event message.
To combine multiple fields, enter the field names separated by a comma. Lumi joins the values in order with a space character. For example, for
{"key1": "val1", "key2": "val2"}, the Messagekey1,key2stores the event messageval1 val2. -
User attributes: All other fields besides the ones used for the timestamp and message. To only store a subset of the fields, enter the fields you want to retain as a comma-separated list in Allow list > Specify fields.
-
System attributes: At least the following—
receiver: imply.filefile: FILENAME, whereFILENAMEis the name of the file

Splunk default fields
You can configure the Splunk default fields source, sourcetype, and index for CSV file uploads.
If the source file already defines the attributes, Lumi assigns the values from the file.
If you don't assign the fields in your data or in the UI, Lumi doesn't create the user attributes.
Search events from a file
To explore events related only to the file, use the file system attribute in your search.
You can also filter by a user attribute specific to the file.
For example, add the following filter to your query, and set the appropriate time range:
#file=site_visitors_quickstart.csv

You can search all events with a specific file extension using a wildcard. For example:
#file=*.csv
You can search all events Lumi received by file upload. For example:
#receiver=imply.file
Learn more
For more information, see the following topics:
- Quickstart to learn to send events to Lumi through file upload.
- Event formats to learn about supported event formats.
- Event model to learn about system and user attributes.
- Transform events using pipelines to enrich or transform events sent to Lumi.