Great Blog

06 Feb 2021

Basic InfluxDB CheatSheet

Here is a basic cheatsheet for InfluxDB I’ve learned from playing with the TIG stack

How to find the hosts in the series. You run the below command and just go through the list to find the host you want to delete. You can delete with what you know the host is, but his is nice because it will insure there wasn’t a typo

WHERE "host" = 'DESKTOP-NAME'

Here is how you actually drop the data from the DB that way it’s not displayed in Grafana anymore

DROP SERIES FROM /.*/ WHERE "host" = 'DESKTOP-MLVUKUD'


As with everything on this blog there is probably an easier and better way to do this, but this is what works for me.