Skip to main content

Limit restful requests to backend ElasticSearch cluster: Queries only.

Project description

Limit restful requests to backend ElasticSearch cluster: Queries only.


  • Python 2.7
  • An ElasticSearch cluster to forward queries to


I will assume you have Python installed (if not, here are Windows7 instructions)

pip install esFrontLine


You must write your own setting.json file with the following properties set:

  • elasticsearch - (Array of) ElasticSearch nodes
  • - URL of the ElasticSearch node that will accept query requests
  • elasticsearch.port - port for ES (default = 9200)
  • flask - parameters (default port = 5000)
  • debug - turn on debugging
  • whitelist - list of indexes that are allowed

Here is an example of my settings.json file

    "whitelist":["bugs", "org_chart", "bug_summary", "reviews"],
            "filename": "./tests/results/logs/app.log",
            "maxBytes": 10000000,
            "backupCount": 200,
            "encoding": "utf8"



python --settings-file <path_to_file_with_JSON_settings>

Project details

Release history Release notifications

History Node


History Node


This version
History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
esFrontLine-0.9.13346-py2.7.egg (8.8 kB) Copy SHA256 hash SHA256 Egg 2.7 Dec 12, 2013
esFrontLine-0.9.13346.win32-py2.7.exe (241.4 kB) Copy SHA256 hash SHA256 Windows Installer 2.7 Dec 12, 2013 (8.7 kB) Copy SHA256 hash SHA256 Source None Dec 12, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page