Skip to main content
Version: 3.9.0

template Command

The template command is used to access the search template library.

CommandDescription
templateDisplay template(s)
template addAdd template
template updateUpdate template
template deleteDelete template
template testTest template

Usage

templates <template_name>

Parameters

ParameterDescriptionRequired?Default Value
template_nameTemplate name; returns all templates if not specified

Examples

List all templates
> templates
filter_kind: is({{kind}})
Display the filter_kind template
> templates filter_kind
is({{kind}})
Use the filter_kind template
> query expand(filter_kind, kind=volume) and name=~dkl
kind=aws_ec2_volume, id=vol-1, name=dkl-3, age=2mo2d, cloud=aws, account=eng, region=us-west-2

Further Reading

Contact Us

Have feedback or need help? Don’t be shy—we’d love to hear from you!

 

 

 

Some Engineering Inc.