Hi, I just had a look at the Analytics page in Dat...
# all-things-deployment
b
Hi, I just had a look at the Analytics page in DataHub and the log files the system creates. In the logs I can see each and every activity/GraphQL operation. But is there any option to monitor user acceptance: which user logged in when and how many operations he/she performed / how long he stayed active?
b
Good point Uwe! For the DH folks, this is something that would benefit us a lot as well.
s
the raw information is stored in the usage statistics in elasticsearch
b
OK, thats a useful information. I will have a look at the data in elasticsearch.
So, to provide some information/docu for others: • the activity log of the users are stored in the elaticsearch db. It looks like that each and every activity of the users is stored there • to list the indices within DataHub, use e.g. curl -XGET 'localhost:9200/?_cat/indices?v' . This will list all "tables" within elastic search, number of entries and the "table" size • The logs are stored in .ds-datahub_usage_even-00????? • to dump e.g. the first 2000 events from one of the usage log "tables", run e.g. curl -XGET 'localhost:9200/.ds-datahub_useage_event-0000001/_search?size=2000' > activity.log. As a result you will get a json file.
b
Thank you Uwe!
e
@brave-businessperson-3969 so these indices are part of the datahub_usage_event datastream
so you can point your search query towards datahub_usage_event
to get all events
instead of one of the specific hidden indices
b
ah, thanks for the explanation.