Skip to content

VikramNisarga/fluent-plugin-azuretables

 
 

Repository files navigation

Azure Tables output plugin for Fluentd

Installation

fluent-gem install fluent-plugin-azure-table

Usage

Configuration

<match azuretables.**>
  type azuretables
  account_name AZURE_STORAGE_ACCOUNT
  access_key AZURE_STORAGE_ACCESS_KEY
  table YOUR_TABLE_NAME
  detach_process 6
  create_table_if_not_exists false
  partition_keys test-partition-key-01,test-partition-key-02
  row_keys rk1 test-row-key-01,test-row-key-02
  add_time_to_partition_key true
  add_time_row_key true
  add_uuid_to_row_key true
  key_delimiter __
</match>
  • type (required) - azuretables
  • account_name (required) - AZURE_STORAGE_ACCOUNT (from your Azure portal).
  • access_key (required) - AZURE_STORAGE_ACCESS_KEY (from your Azure portal).
  • table (required) - table name where you want to store event records.
  • detach_process (optional) - number of processes. You can launch multiprocessing if you need high throughput.
  • create_table_if_not_exists (optional) - Set true if you want create table if it doesn't exist. Default: false.
  • partition_keys (optional) - A string with comma delimiter.List of properties which are used to create a composite PartitionKey.
  • row_keys (optional) - A string with comma delimiter.List of properties which are used to create a composite RowKey.
  • key_delimiter (optional) - A string becomes delimiter of partition key and row key in table. Default: "__" (underscores x2)
  • add_uuid_to_row_key (optional) - Adds uuid to row key to try to make partition_key and row_key unique across , in case of same partition_key is used across servers. Default: true.
  • add_time_to_partition_key (optional) - Adds current time to partition_key. Default: true
  • add_time_to_row_key (optional) - Adds current time to row_key. Default: true

TODO

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/VikramNisarga/fluent-plugin-azuretables.

About

Fluent plugin to add event record into Azure Tables Storage.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%