docs
docs copied to clipboard
[Feedback] Page: /use-timescale/latest/integrations/data-ingest/telegraf/
Is it easy to find the information you need?
None
Are the instructions clear?
No
How could we improve the Timescale documentation site?
This is the correct Telegraf.conf syntax for table creation:
## Templated statements to execute when creating a new table.
create_templates = [
'''CREATE TABLE IF NOT EXISTS {{ .table }}({{ .columns }}); SELECT create_hypertable('{{ .table }}',by_range('time', INTERVAL '1 week'),if_not_exists := true);''',
]
Thank you for the report. We welcome documentation contributions!
- For information about how to propose a change, see the contributing guide in our GitHub repository.
- For information on style and word usage, see the style guide
This is critical for setting up Telegraf with Timescaledb! Thank you so much