AFAIK influx output plugin of logstash only support influxdb 1.
Is there any support for influxdb 2?
I try http output plugin but need sample config that work with influxdb 2.
Are you talking about this plugin?
Any input plugin will work with any output plugin so you can write data to influxdb v2.