Pretty sure that won't work unless there is an ODBC driver for InfluxDB, which I am pretty sure there is not.
Also, InfluxDB is a time-series database, not a relational database, so the bigger question is what is your use case?
If you care about the raw or aggregated metrics from Influx getting streamed into Splunk, then you could probably write a TICK script in Kapacitor to do that as job. Likely have to format the raw data into a custom format and use one of Kapacitor's output mechanisms (e.g., HTTP post, write to a log file, etc.) to get that data in Splunk
If you care about running queries in SPL that map to InfluxDB queries, likely going to have to write a custom command that handles that for you unless someone can provide an ODBC-like connection for DBConnect to work with InfluxDB (<- I consider this highly unlikely given the nature of InfluxDB and that it competes directly with Splunks Metrics Index feature in 7.0).
... View more