Skip to content

Instantly share code, notes, and snippets.

@sakama
Created August 20, 2015 13:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sakama/14a452c2e1534af1ce85 to your computer and use it in GitHub Desktop.
Save sakama/14a452c2e1534af1ce85 to your computer and use it in GitHub Desktop.
embulk-slack-historyを使ってみる
in:
type: slack_history
token: xxxxxxx
out:
type: bigquery
service_account_email: xxxxx@developer.gserviceaccount.com
p12_keyfile_path: ./key.p12
project: mysamplebqproject
dataset: slack
auto_create_table: true
table: slack_forme
schema_path: ./schema.json
allow_quoted_newlines: 1 #このオプションを追加
formatter:
type: csv
header_line: false
path_prefix: /tmp
encoders:
- {type: gzip}
file_ext: csv.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment