worklight-analytics

Worklight: send client logs to server

我只是一个虾纸丫 提交于 2020-01-06 19:50:36
问题 I am using worklight 6.1 and I'm trying to send logs that are created in my client to the server in order to be able to view the logs in case the application crashes. What I have done is (based on this link http://pic.dhe.ibm.com/infocenter/wrklight/v5r0m6/index.jsp?topic=%2Fcom.ibm.worklight.help.doc%2Fdevref%2Fc_using_client_log_capture.html): Set the below in wlInitOptions.js logger : { enabled: true, level: 'debug', stringify: true, pretty: false, tag: { level: false, pkg: true },

Worklight v6 iwap

江枫思渺然 提交于 2019-12-14 03:17:55
问题 I set up Worklight V6 Server and IWAP. I found my worklight app console has analytics tab and there is IWAP console. there is dashboad view, search view, search log view, geo analytics view. then I put WL.Logger.error and WL.Analytics.log code in my app and issued these logs but I cannot find any data on my IWAP console. and there is following NumberFormatException in my IWAP logs. can I fix this? [2013-06-24 18:02:35,998][DEBUG][action.search.type ] [Rattler] [worklight][7], node

Analytics tab empty in Worklight Console

允我心安 提交于 2019-12-12 02:52:19
问题 I've added an analytics server (Linux, accessible from the http:///iwap/worklight/v1/index.html) to use with my Worklight 6 server, but, the "Analytics" tab is now displaying, but, is empty. The changed the wl.analytics.url under the war configuration for "Environment entries for web modules" and restarted the app. The Worklight V6 Information Center (under "Installing and configuring the IBM Websphere Analytics PLatform"|"Configuring Worklight Server for analytics") says to use the format

Worklight Analytics Operational Console empty

妖精的绣舞 提交于 2019-12-11 08:29:19
问题 I'm trying to use Worklight Analytics features for App. I have separated servers for analytics and worklight console. I have tried the configuring of analytics in 3 way: in worklight.properties: wl.analytics.logs.forward=true wl.analytics.url=http://[host]:[port]/analytics/data in initOptions.js: { analytics: {enable: true, url: 'http://[host]:[port]/analytics/data'} } in server's config: <jndi name="[context]/wl.analytics.url" value="http://[host]:[port]/analytics/data" /> <jndi name="

Worklight Analytics payload

僤鯓⒐⒋嵵緔 提交于 2019-12-08 04:26:09
问题 Worklight 6.2.0, Mobile Web Environment The Worklight Info Center offers three formulations for logging an analytic message WL.Analytics.log('my record'); WL.Analytics.log({data: [1,2,3]}); WL.Analytics.log({data: [1,2,3]}, 'MyData'); I am successfully using the first of these, but the other two produce no analytics and my fail() function is not fired. I see in the online tutorials a further formulation WL.Analytics.log({_activity: "myActivity" }); this too produces no output. Question: Are

Worklight Analytics payload

陌路散爱 提交于 2019-12-07 00:57:27
Worklight 6.2.0, Mobile Web Environment The Worklight Info Center offers three formulations for logging an analytic message WL.Analytics.log('my record'); WL.Analytics.log({data: [1,2,3]}); WL.Analytics.log({data: [1,2,3]}, 'MyData'); I am successfully using the first of these, but the other two produce no analytics and my fail() function is not fired. I see in the online tutorials a further formulation WL.Analytics.log({_activity: "myActivity" }); this too produces no output. Question: Are there other formulations that do work? All calls other than WL.Analytics.log('my record') were intended