Can't get Flux working in windows installation

influxdb
#1

Hi There,

I’ve tried for a while now to get Flux working, followed all the config file instructions. but the flux option in chronograf remains disabled even with the latest versions released.

Any suggestions? Thanks in advance.

[http]
  # Determines whether HTTP endpoint is enabled.
  enabled = true

  # The bind address used by the HTTP service.
  bind-address = ":8086"

  # Determines whether HTTP authentication is enabled.
  auth-enabled = true #this is recommended but not required

[...]
#2

You’ll need to add a flux-enabled option to the [http] section of the config, which the example you included doesn’t have:

[http]
  # Determines whether HTTP endpoint is enabled.
  enabled = true

  # The bind address used by the HTTP service.
  bind-address = ":8086"

  # Determines whether HTTP authentication is enabled.
  auth-enabled = true #this is recommended but not required

[...]

  # Determines whether Flux is enabled.
  flux-enabled = true
#3

Thanks for the reply, unfortunately I pasted the wrong config and not the one from my VM where I was trying to get it working…mine looks like this, are there any other settings else where to look for?

[http]
  
  enabled = true  
  flux-enabled = true  
  bind-address = ":8086"  
  auth-enabled = true  
  realm = "InfluxDB"  
  log-enabled = true
  suppress-write-log = false
#4

This looks correct.

Can you provide more information? You’re running in a Windows VM? What version of Windows? How did you install the software? How are you starting it? Where are your config files located and what are their contents?

You can use Markdown to format your response to make it easier to read.

#5

I’ve tried it on a home pc running Server 2012 R2 and a fresh Server 2016 VM on Azure.

I just downloaded it and extracted each relevant product its own folder in c:\InfluxDb so C:\InfluxDb\influxdb-1.7.2_windows_amd64\ and C:\InfluxDb\kapacitor-1.5.2_windows_amd64 etc.
So the config files are in the same folders as the .exe files.

I run influxd.exe, chronograf.exe, kapacitord.exe

chronograf and grafana etc work fine, just the Flux option is greyed out in chronograf and says the current source does not support Flux.

I did the basic config of the files which are appear quite straight-forward. I’ve written c# applications that read/write just fine to InfluxDB but using the InfluxQL syntax over http.

#6

Did you manage to get this working, I have the same issue?

1 Like