Hi,
Is there a way to drop certain tag values before they get sent over to the DB?
Example:
I currently have the following tag values in my InfluxDB:
show tag values from CPU with key=“/components/component/properties/property/@name”
name: CPU
key value
/components/component/properties/property/@name mem-util-dma-bytes-allocated
/components/component/properties/property/@name mem-util-dma-size
/components/component/properties/property/@name mem-util-dma-utilization
/components/component/properties/property/@name mem-util-kernel-802-1br-allocations
/components/component/properties/property/@name mem-util-kernel-802-1br-allocations-failed
/components/component/properties/property/@name mem-util-kernel-802-1br-bytes-allocated
/components/component/properties/property/@name mem-util-kernel-802-1br-frees
Is there a way to filter out all tag values that match the word “kernel”. I want the output to look like this:
show tag values from CPU with key=“/components/component/properties/property/@name”
name: CPU
key value
/components/component/properties/property/@name mem-util-dma-bytes-allocated
/components/component/properties/property/@name mem-util-dma-size
/components/component/properties/property/@name mem-util-dma-utilization
Thanks,
Mo