Skip to content

Web-app to monitor the usage of a high performance computing system. Based on Flask and, elk stack.

License

Notifications You must be signed in to change notification settings

DarFig/controlusoHPC

Repository files navigation

controlusoHPC

Config

File: "service.config"

[config]
HOST=
PORT=
INDEX=
UC_CONVERSION=1/0
SECRET="random key"

Develop

export FLASK_APP=apicontrolusohpc
export FLASK_ENV=development
flask run
# flask run --host 0.0.0.0

Notes

GET /<index_name>/_search
{
  "query": {
    "range":{
        "RecordTime":{
          "gte": 1646262000
        }
    }
  }
}
apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev