这是indexloc提供的服务,不要输入任何密码
Skip to content

Implement tailpipe table list and show #78

@pskrbasu

Description

@pskrbasu
table 
  |-- list (table, json)
  |-- show (pretty, plain, json)
tailpipe table list

NAME                PLUGIN    LOCAL SIZE    FILES      ROWS
aws_cloudtrail_log  aws           256 MB       57     123,456
aws_vpc_flow_log    aws           500 MB     1245   
aws_elb_log         aws           N/A           0        
pipes_audit_log     pipes         256 MB       77   
github_audit_log    github         N/A          0  

tailpipe table show aws_cloudtrail_log
  Name:        aws_cloudtrail_log

  Columns:
    additionalEventData : VARCHAR
    apiVersion          : VARCHAR
    awsRegion           : VARCHAR
    eventCategory       : VARCHAR
    eventID             : VARCHAR
    eventName           : VARCHAR
    eventSource         : VARCHAR
    eventTime           : BIGINT
    eventType           : VARCHAR
    eventVersion        : VARCHAR
    errorCode           : VARCHAR
    errorMessage        : VARCHAR
    filename            : VARCHAR
    managementEvent     : BOOLEAN
    readOnly            : BOOLEAN
    recipientAccountId  : VARCHAR
    requestID           : VARCHAR
    requestParameters   : VARCHAR
    resources           : STRUCT(ARN VARCHAR, accountId VARCHAR, "type" VARCHAR)[]
    responseElements    : VARCHAR
    sharedEventID       : VARCHAR
    sourceIPAddress     : VARCHAR
    tp_akas             : VARCHAR[]
    tp_collection       : VARCHAR
    tp_connection       : BIGINT
    tp_day              : BIGINT
    tp_destination_ip   : VARCHAR
    tp_id               : VARCHAR
    tp_ingest_timestamp : BIGINT
    tp_ips              : VARCHAR[]
    tp_month            : BIGINT
    tp_source_ip        : VARCHAR
    tp_source_location  : VARCHAR
    tp_source_name      : VARCHAR
    tp_source_type      : VARCHAR
    tp_timestamp        : BIGINT
    tp_usernames        : VARCHAR[]
    tp_year             : BIGINT
    userAgent           : VARCHAR
    userIdentity        : STRUCT("type" VARCHAR, invokedBy VARCHAR, principalId VARCHAR, arn VARCHAR, accountId VARCHAR, acc…  
    vpcEndpointId       : VARCHAR


  Status
    1456 local files / 12,987 remote files
    256 MB local / 1.45GB remote


  Partitions:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions