steampipe-export

command module
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2025 License: Apache-2.0 Imports: 37 Imported by: 0

README

Steampipe Export

A family of export tools, each derived from a Steampipe plugin, that fetch data from cloud services and APIs.

Getting Started

You can use an installer that enables you to choose a plugin and download the export tool for that plugin.

Installation guide →

Usage

steampipe_export_aws -h

Export data using the aws plugin.

Find detailed usage information including table names, column names, and
examples at the Steampipe Hub: https://hub.steampipe.io/plugins/turbot/aws

Usage:
  steampipe_export_aws TABLE_NAME [flags]

Flags:
      --config string       Inline HCL config data for the connection  (deprecated - use --connection instead)
      --config-dir string   Directory to read config files from (defaults to $STEAMPIPE_INSTALL_DIR/config)
      --connection string   Name of the connection to use (must match a connection defined in the config file)
  -h, --help                help for steampipe_export_aws
      --limit int           Maximum number of rows to return (0 means no limit)
      --output string       Output format: csv, json or jsonl (default "csv")
      --select strings      Columns to include in the output
  -v, --version             version for steampipe_export_aws
      --where stringArray   Optional WHERE clause(s) to filter query results

Examples

Export EC2 instances using a steampipe connection
./steampipe_export_aws aws_ec2_instance \
  --connection=aws_prod
Export EC2 instances using a steampipe connection from a steampipe install dir
./steampipe_export_aws aws_ec2_instance \
  --connection=aws_prod \
  --config-dir='/Users/jack/src/steampipe/config'
Export EC2 instances using an AWS profile
./steampipe_export_aws aws_ec2_instance \
  --config='profile="dundermifflin"'
Filter to running instances
./steampipe_export_aws aws_ec2_instance \
  --connection=aws_prod \
  --where="instance_state='running'"
Select a subset of columns
./steampipe_export_aws aws_ec2_instance \
  --connection=aws_prod \
  --where "instance_state='running'" \
  --select "arn,instance_state"
Limit results
./steampipe_export_aws aws_ec2_instance \
  --connection=aws_prod \
  --where "instance_state='running'" \
  --select "arn,instance_state" \
  --limit 10

Developing

To build an export tool, use the provided Makefile. For example, to build the AWS tool, run the following command to build the tool. It lands in /usr/local/bin by default, or elsewhere if you override using the OUTPUT_DIR environment variable.

make build plugin=aws

Open Source & Contributing

This repository is published under the Apache 2.0 license. Please see our code of conduct. We look forward to collaborating with you!

Steampipe is a product produced 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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL