Movatterモバイル変換


[0]ホーム

URL:


Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog InExperimentation Data
Dev Guide
All
Pages
Start typing to search…

Use the oevents CLI to export data

Instructions on how to export Experimentation Event Export data using the Optimizely Experimentationoevents command line interface.

Theoevents CLI is written inbash and should run on macOS and most GNU or Linux distributions. See theGithub repository for detailed installation and usage instructions.

Prerequisites

Download

You can download a zipped directory containing theoevents CLIfrom the oevents Github repository.

Install

oevents is a bash script. To run it, you will need to make sure it is executable. Assumingoevents is in your working directory. You can do this with the following command:

$ chmod +x oevents

To runoevents, specify the script's path explicitly (assumingoevents is in your working directory):

$ ./oevents help

Or you can add it to a directory in yourPATH environment variable.

$ sudo cp oevents /usr/local/bin/$ oevents help

Generate a personal access token.

Generate a personal access token (PAT) within the Optimizely application by followingManage your API tokens documentation instructions.

Store your Personal Access Token in theOPTIMIZELY_API_TOKEN environment variable.

export OPTIMIZELY_API_TOKEN=<token>

Explore and download your data

You can use theoevents CLI to acquire temporary AWS credentials.

oevents auth

Explore your data.

oevents ls \    --type events \    --date 2020-07-01

Download your data.

oevents load \    --type decisions \    --start 2020-07-01 \    --end 2020-07-05 \    --experiment 12345
📘

Note

The date and time is in UTC.

Updated 2 months ago



[8]ページ先頭

©2009-2025 Movatter.jp