Export query results to CSV
Narrow a Real-Time Events search to the records you want, then download them as a CSV file from Azion Console.
You can download the result of a Real-Time Events search as a CSV file from Azion Console. The download belongs to the newer Real-Time Events view, reached from Switch to new view and marked with a PREVIEW badge. This page follows that view, not the one Real-Time Events opens on.
The two views take different words for the same things. The newer view labels the index selector Dataset, and its filter field takes Azion Query Language. The view Real-Time Events opens on labels the selector Data Sources, and its Filter by field takes a different syntax.
Prerequisites
- An Azion account. To create one, refer to How to create an account on Azion.
- Access to Azion Console. To sign in, refer to How to access Azion Console.
- A product already writing event records, so the dataset you pick holds records to download.
Real-Time Events bounds the period a search can ask for and the rows it returns, and a download inherits the bounds of the search behind it. For each one, refer to Limits.
Download a search result as a CSV file
A search is one dataset, one time range, and one filter over them. Narrow those three first: the download carries the result of the search, not the dataset.
To download the result from Azion Console:
Access Azion Console > Products menu > Observe > Real-Time Events.
In Dataset, select the records to read. For example, HTTP Requests.
Set the from-to time range to a period that holds the records.
Enter a condition in the filter field, which takes Azion Query Language. The field reads Filter using Azion Query Language syntax... until you enter one.
Beside the page-size selector, select the download control. The control carries an icon and no text.
The result downloads as a CSV file.
Real-Time Events states how many events the search returned, so you can tell whether the result is the set you want before you download it. The Fields panel lists what each record carries, and Search documents... narrows the rows the table already holds.
Field names in this view are camelCase, identical to the names the GraphQL API uses, such as remoteAddress and httpUserAgent. For what each one carries, refer to Real-Time Events GraphQL API fields.