Reverse proxy with marvel

I have a marvel installed ( v 2.4.1 ) and kibana (v 4.6.1 ) and i want to setup reverse proxy in order to access marvel.

If i access IP_OF_KIBANA:5601 i can access the kibana page but when i use the reverse proxy thing the URI reverts back to FQDN/app/kibana and comes p with the following error

"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"No feature for name [kibana]"}],"type":"illegal_argument_exception","reason":"No feature for name [kibana]"},"status":400}

I have installed apache2 and want to make this configuration work. Please suggest.

Hi Niraj,

I see nobody responded to your question. Did you find a solution to your issue?

If you did, can you please post anything that you think might help others?

If not, can you explain your configuration a little more?
Why are you using the reverse proxy? Kibana can access Marvel data directly (without a proxy) in the Elasticsearch cluster that it gets its other data from.
Or is your Marvel data in a different cluster than the one Kibana gets it's other data from?


The reason i wanted reverse proxy was to keep the ability to secure my kibana/marvel from unwanted usage. Something like a basic auth.

This is the current config i have and it works perfectly fine for kibana, marvel and sense.

<Directory "/var/www">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require valid-user
AuthType Basic
AuthName "Restricted Area"
AuthBasicProvider file
AuthUserFile /etc/apache2/auth.passwords
  ProxyPass /app/kibana http://app-01:5601/app/kibana
  ProxyPassReverse /app/kibana http://app-01:5601/app/kibana

  ProxyPass /bundles http://app-01:5601/bundles
  ProxyPassReverse /bundles http://app-01:5601/bundles

  ProxyPass /elasticsearch http://data-01:9200
  ProxyPassReverse /elasticsearch http://data-01:9200

  ProxyPass /app/marvel http://app-01:5601/app/marvel
  ProxyPassReverse /app/marvel http://app-01:/app/marvel

  ProxyPass /api/marvel http://app-01:5601/api/marvel
  ProxyPassReverse /api/marvel http://app-01:/api/marvel

  ProxyPass /status http://app-01:5601/status
  ProxyPassReverse /status http://app-01:/status

  ProxyPass /api/status http://app-01:5601/api/status
  ProxyPassReverse /api/status http://app-01:5601/api/status

  ProxyPass /app/sense http://app-01:5601/app/sense
  ProxyPassReverse /app/sense http://app-01:5601/app/sense


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.