Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hakobera/embulk-input-mixpanel
[WIP] Mixpanel input plugin for Embulk
https://github.com/hakobera/embulk-input-mixpanel
Last synced: 3 days ago
JSON representation
[WIP] Mixpanel input plugin for Embulk
- Host: GitHub
- URL: https://github.com/hakobera/embulk-input-mixpanel
- Owner: hakobera
- License: mit
- Created: 2015-03-19T13:13:15.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-05T11:48:43.000Z (over 9 years ago)
- Last Synced: 2024-11-10T21:43:04.627Z (2 months ago)
- Language: Ruby
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
**This plugin is no longer maintained. Use https://github.com/treasure-data/embulk-input-mixpanel instead.**
# Mixpanel input plugin for Embulk
This plugin load data from [Mixpanel raw data export API](https://mixpanel.com/docs/api-documentation/exporting-raw-data-you-inserted-into-mixpanel).
## Overview
* **Plugin type**: input
* **Resume supported**: no
* **Cleanup supported**: no
* **Guess supported**: yes## Configuration
- **mixpanel_api_key**: Mixpanel API key (string, required)
- **mixpane_api_secret**: Mixpanel API secret key (string, required)
- **event**: The event that you wish to get data for (string, required)
- **from_date**: The date in yyyy-mm-dd format from which to begin querying for the event from (string, required)
- **to_date**: The date in yyyy-mm-dd format from which to stop querying for the event from (string, required)
- **columns**: Specify the attribute of table and data type (array, required)
- **replace_special_prefix**: Set prefix that replace Mixpanel reserved property special prefix '$' (string, optional)## Example
```yaml
in:
type: mixpanel
mixpanel_api_key: API_KEY
mixpanel_api_secret: API_SECRET
event: event_name
from_date: '2015-03-01'
to_date: '2015-03-15'
columns:
- {index: 0, name: time, type: long}
- {index: 1, name: distinct_id, type: string}
- {index: 2, name: property1, type: string}
- {index: 3, name: property2, type: string}
```## Build
```
$ rake
```