workspace

A Tailpipe workspace is a "profile" that provides a distinct filesystem location for your collected logs and allows you to define options for running Tailpipe.

You can use workspaces to keep independent sets of data. Each workspace maintains its own data files written to $TAILPIPE_INSTALL_DIR/data/{workspace name} (e.g. ~/.tailpipe/data/default).

Tailpipe workspaces allow you to define multiple named configurations and easily switch between them using the --workspace argument or TAILPIPE_WORKSPACE environment variable.

Arguments

ArgumentDefaultDescription
log_leveloffSet the logging output level
update_checktrueEnable or disable automatic update checking.
memory_max_mb0 (unlimited)Caps CLI memory usage and determines worker count.
plugin_memory_max_mb0 (unlimited)Sets soft memory cap per plugin.
temp_dir_max_mb0 (unlimited)Limits JSONL temp file size on disk.

Workspaces are defined using the workspace block in one or more Tailpipe config files. You can define them in any configuration file (*.tpc) from your config directory (~/.tailpipe/config by default), but by convention, they are usually written to ~/.tailpipe/config/workspaces.tpc.

The workspace named default is special; If a workspace named default exists, it will be used whenever the --workspace argument is not passed to Tailpipe. Creating a default workspace in ~/.tailpipe/config/workspaces.tpc provides a way to set all defaults.

Note that the HCL arguments correspond to environment variables:

Workspace ArgumentEnvironment Variable
log_levelTAILPIPE_LOG_LEVEL
update_checkTAILPIPE_UPDATE_CHECK
memory_max_mbTAILPIPE_MEMORY_MAX_MB
plugin_memory_max_mbTAILPIPE_PLUGIN_MEMORY_MAX_MB
temp_dir_max_mbTAILPIPE_TEMP_DIR_MAX_MB