1

User activity log

Тема: User activity log

Hi,

is there any API which will give the complete user log from wiolon hosting ?
I need produce data like what are all the pages/features users used most and how long they spent on each page what are all the actions they are performing upon login etc Basically I should be able to produce every page an user landed as well as every clicks he made on the system.

Thanks
Karthik

2

User activity log

(21/08/2017 07:04:22 отредактировано kaippally)

Re: User activity log

Create a Report  with Type User

svc = "report/update_report";
params={
  "n": "User Log ",
  "ct": "storage_user",
  "p": "{\"bind\":null}",
  "tbl": [
    {
      "n": "user_stats",
      "l": "Statistics",
      "f": 0,
      "c": "",
      "cl": "",
      "p": "{\"address_format\":\"1255211008_10_5\",\"time_format\":\"%Y-%m-%E_%H:%M:%S\",\"us_units\":0}",
      "sch": {
        "y": 0,
        "m": 0,
        "w": 0,
        "f1": 0,
        "f2": 0,
        "t1": 0,
        "t2": 0
      },
      "sl": "[\"Address\",\"Time Format\"]",
      "s": "[\"address_format\",\"time_format\",\"us_units\"]"
    },
    {
      "l": "Log",
      "c": "[\"time\",\"user\",\"item_name\",\"item_type\",\"action\",\"host\",\"dummy\"]",
      "n": "user_log",
      "cl": "[\"Time\",\"User\",\"Item name\",\"Item type\",\"Action\",\"Host\",\"Notes\"]",
      "sl": "",
      "s": "",
      "f": 0,
      "sch": {
        "y": 0,
        "m": 0,
        "w": 0,
        "f1": 0,
        "f2": 0,
        "t1": 0,
        "t2": 0
      },
      "p": "{\"username\":\"*\"}"
    }
  ],
  "id": 0,
  "itemId": <resource id>,
  "callMode": "create"
}

And query the report template

And then Query the rows like any other

Nishad Hussain Kaippally
Implementation Specialist, Middle East, Gurtam

"Computer science is no more about computers than astronomy is about telescopes."
3

User activity log

Re: User activity log

Hi,

Please clarify the following queries

1) Admin or login user can see his own log(custom/wialon log)?

2) where can I see deleted item log?

Thanks,
Ramesh

4

User activity log

Re: User activity log

ramesh, hello.
1. User can see log of users or items he has access to (including himself). User should have access to other users or items Query reports or messages.
2. You can see deleted items in user's log in reports. You should execute it over user who deleted items.

Head of Wialon Local Department
Gurtam
5

User activity log

Re: User activity log

Deal,

Thanks for the clarification, suppose I want to know which user deleted one specific unit from system.

How can I achieve this ? Our system has thousands of user and I can't iterate every user for historical period of timeframe and search whether he deleted any unit or not.

How to quickly find user who deleted a unit with out writing a custom logic app to do it.

Thanks
Karthik