Giter Club home page Giter Club logo

snowplow_data_pipeline's Introduction

snowplow GCP template

Introduction

Snowplow is a complete open source event data collection plaform. It support many different type tracker, like android, ios, javascript and etc.

deploy step

1. config setting

change environment varible in gcloud-config-mustr.sh to your gcp project and save new file to gcloud-config.sh.

2. set up relate GCP services

execute gcloud-init-project.sh to set up relate gcp services.

$ ./gcloud-init-project.sh

3. start & stop dataflow ETL piepline

start pipeline:

$ ./start_etl.sh

stop pipeline:

$ ./stop_etl.sh

custom schema example

  1. create the schema dictionary structure and schema file like below:
schemas/<prefix1>.<prefix2>.<prefix3>/<sub_path>/jsonschema/1-0-0

schemas
└── com.company.699
    ├── funnel_event
    │   └── jsonschema
    │       └── 1-0-0
    └── user_context
        └── jsonschema
            └── 1-0-0

  1. validate the format of schema files are correct.
$ igluctl lint schemas/<prefix1>.<prefix2>.<prefix3>/<sub_path>/jsonschema/*
  1. upload schema file to GCS
$ gsutil cp schemas/<prefix1>.<prefix2>.<prefix3>/<sub_path>/jsonschema/1-0-0 gs://<YOUR_GCS_BUCKET>/schemas/<prefix1>.<prefix2>.<prefix3>/<sub_path>/jsonschema/1-0-0

reference

  1. https://towardsdatascience.com/what-is-snowplow-and-do-i-need-it-cbe30fcb302b
  2. https://github.com/etnetera-activate/snowplow-gcp-template
  3. https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/

snowplow_data_pipeline's People

Watchers

James Cloos avatar Mark Chang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.