Article ID: 129092, created on Jul 7, 2016, last review on Jul 7, 2016

  • Applies to:
  • Odin Business Automation Standard 4.5

Question

I there a way to track customer actions?

Answer

Yes. Actions done in browsers are logged in Apache log /var/log/hspcd/access_log and /var/log/httpd/hspc_frontend_access_log.

Example

Renewal settings for a subscritpion #2 were changed from "Do not generate renewal orders automatically" to "Generate renewal orders automatically. I agree that renewal orders are to be paid automatically by my payment methods selected for recurring billing".

192.168.0.2 - - [02/Nov/2015:13:18:24 +0700] "POST /cp/index.cgi/subscription/summary/subscr_id,2/sort,commission/a,s HTTP/1.1" 302 421 "https://10.39.87.72/cp/index.cgi/subscription/general/item_edit,1/subscr_id,2" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 AlexaToolbar/pNJuBjJf-2.1"
192.168.0.2 - - [02/Nov/2015:13:18:25 +0700] "GET /cp/index.cgi/subscription/summary/subscr_id,2/sort,commission/sl,upd_ok_lc HTTP/1.1" 200 11941 "https://10.39.87.72/cp/index.cgi/subscription/general/item_edit,1/subscr_id,2" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 AlexaToolbar/pNJuBjJf-2.1"

192.168.0.2 is the IP address from which the changes were made 10.39.87.72 is the IP address of the OBAS server (can be replaced with its hostname in your log), "subscr_id,2" shows that the settings of the subscription #2 were changed, other parts of the entries are Apache standard.

Another example

I entered my OBAS server panel from my workstation, logged as a customer, went Account > Subscriptions and changed one of subscriptions policy using "Disable Auto-renew" and "Enable Auto-renew" buttons.

That is how it was logged in /var/log/httpd/hspc_frontend_access_log (My workstation IP address is 192.168.34.147, my OBAS server IP address is 10.39.87.72).

Account tab is pressed:

192.168.34.147 - - [12/Nov/2015:18:31:08 +0700] "GET /cp/index.cgi/menu_frame/fr,/zone,account HTTP/1.1" 200 12770 "https://10.39.87.72/cp/index.cgi/menu_frame/fr,t/zone,home/adfr,no/p_le,1/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 AlexaToolbar/pNJuBjJf-2.1"

Subscriptions (manage service subscriptions) is pressed:

192.168.34.147 - - [12/Nov/2015:18:31:16 +0700] "GET /cp/index.cgi/account/subscriptions HTTP/1.1" 200 21094 "https://10.39.87.72/cp/index.cgi/menu_frame/fr,/zone,account" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 AlexaToolbar/pNJuBjJf-2.1"

Auto-renew disabled:

192.168.34.147 - - [12/Nov/2015:18:31:20 +0700] "POST /cp/index.cgi/account/subscriptions/act,change_renew HTTP/1.1" 200 21376 "https://10.39.87.72/cp/index.cgi/account/subscriptions" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 AlexaToolbar/pNJuBjJf-2.1"

Auto-renew enabled:

192.168.34.147 - - [12/Nov/2015:18:31:23 +0700] "POST /cp/index.cgi/account/subscriptions/act,change_renew HTTP/1.1" 200 21377 "https://10.39.87.72/cp/index.cgi/account/subscriptions/act,change_renew" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 AlexaToolbar/pNJuBjJf-2.1"

See also

How to track down who launched a task?

Is it possible to track down when and by whom customer contacts were changed?

Search Words

err

how to track customer actions

who did it

access_log

624ca542e40215e6f1d39170d8e7ec75 caea8340e2d186a540518d08602aa065 400e18f6ede9f8be5575a475d2d6b0a6 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF