Tailpipe is an open-source CLI tool that allows you to collect logs and query them with SQL.
The Chaos Plugin for Tailpipe allows you to collect and query all column types table, all numeric column type table and more to test your plugins.
- Get started →
- Documentation: Table definitions & examples
- Community: Join #tailpipe on Slack →
- Get involved: Issues
Install Tailpipe from the downloads page:
# MacOS
brew install turbot/tap/tailpipe# Linux or Windows (WSL)
sudo /bin/sh -c "$(curl -fsSL https://tailpipe.io/install/tailpipe.sh)"Install the plugin:
tailpipe plugin install chaosConfigure table partition, and data source (examples):
vi ~/.tailpipe/config/chaos.tpcpartition "chaos_all_columns" "chaos_all_column_types" {
source "chaos_all_columns" {
row_count = 1
}
}
partition "chaos_date_time" "date_time_inc" {
source "chaos_date_time" {
row_count = 100
}
}
partition "chaos_struct_columns" "struct_columns" {
source "chaos_struct_columns" {
row_count = 100
}
}Download, enrich, and save logs from your source (examples):
tailpipe collect chaos_all_columns
tailpipe collect chaos_date_time
tailpipe collect chaos_date_timeEnter interactive query mode:
tailpipe queryRun a query:
select
smallint_column,
float_column,
boolean_column
from
chaos_all_columns
limit 5;+----------------------+-----------------------+------------------+
| smallint_column | float_column | boolean_column |
+----------------------+-----------------------+------------------+
| 5 | 5.0 | true |
| 6 | 6.0 | false |
| 7 | 7.0 | false |
| 8 | 8.0 | true |
| 9 | 9.0 | false |
+----------------------+-----------------------+------------------+Prerequisites:
Clone:
git clone https://github.com/turbot/tailpipe-plugin-chaos.git
cd tailpipe-plugin-chaosAfter making your local changes, build the plugin, which automatically installs the new version to your ~/.tailpipe/plugins directory:
makeRe-collect your data:
tailpipe collect chaos_all_columnsTry it!
tailpipe query
> .inspect chaos_all_columnsThis repository is published under the Apache 2.0 (source code) and CC BY-NC-ND (docs) licenses. Please see our code of conduct. We look forward to collaborating with you!
Tailpipe is a product produced from this open source software, exclusively by Turbot HQ, Inc. It is distributed under our commercial terms. Others are allowed to make their own distribution of the software, but cannot use any of the Turbot trademarks, cloud services, etc. You can learn more in our Open Source FAQ.
Want to help but don't know where to start? Pick up one of the help wanted issues:
