Reputation: 9898
I use grafana(3.0.3
) fetching cloudwatch data, and I want to store fetched data inside InfluxDB(0.13
). Any idea how I can do so, thank you in advance.
Upvotes: 0
Views: 426
Reputation: 4747
Telegraf has a CloudWatch plugin that you can use to store CloudWatch data in InfluxDB.
Alternatively if you're fetching the data yourself you could write the data to InfluxDB yourself. To do so, you'd issue an POST
request to the /write
endpoint of your InfluxDB instance with some your data in line protocol
Some examples of data in line protocol:
cpu,host=server01,region=uswest value=1 1434055562000000000
cpu,host=server02,region=uswest value=3 1434055562000010000
temperature,machine=unit42,type=assembly internal=32,external=100 1434055562000000035
temperature,machine=unit143,type=assembly internal=22,external=130 1434055562005000035
Upvotes: 1