dice-group / embeddings.cc

Universal Knowledge Graph Embeddings
2 stars 1 forks source link

Advanced usage statistics #31

Open adibaba opened 2 years ago

adibaba commented 2 years ago

Interesting would be ranges of IPs to check e.g. usage of other universities

adibaba commented 2 years ago

See https://github.com/dice-group/embeddings.cc/issues/7#issuecomment-1068219604

adibaba commented 2 years ago

Current state:

We're logging the following data:

  "date": {
      "type": "date",
      "format": "epoch_second"
  },
  "ip": {
      "type": "keyword"
  },
  'path': {
      'type': 'keyword'
  },
  'parameters': {
      'type': 'flattened'
  }

see https://github.com/dice-group/embeddings.cc/blob/master/scripts/create-iphash-logger.py#L52

For the IPs, the last IP part is removed. The other IP-parts are hashed, see https://github.com/dice-group/embeddings.cc/blob/master/webservice_public/__init__.py#L252

Questions: