Reputation: 1
I have install properly my MFP 7.1 server and my MFP 7.1 analytics server. They are running on separate machine. I can see that the server logs are being sent to my MFP analytics server, however I cannot see anything on the "Server" tab".
attached are screen shot of 1) MFP analytics server "Adminstration" tab and 2) MFP analytics server "Sever" tab.
Here is my analytics server.xml (FYI, both my MFP servers are installed on top of IBM Liberty)
<server description="simple server">
<application location="analytics.ear"
name="analytics-ear"
type="ear">
<application-bnd>
<security-role name="worklightadmin">
<user name="wlanalytic"/>
</security-role>
<security-role name="worklightdeployer">
<user name="deployer"/>
</security-role>
<security-role name="worklightmonitor">
<user name="monitor"/>
</security-role>
<security-role name="worklightoperator">
<user name="operator"/>
</security-role>
</application-bnd>
</application>
<basicRegistry id="worklight" realm="worklightRealm">
<user name="demo" password="demo"/>
<user name="monitor" password="demo"/>
<user name="deployer" password="demo"/>
<user name="operator" password="demo"/>
<user name="admin" password="admin"/>
<user name="wlanalytic" password="wl_report" />
</basicRegistry>
<!-- Enable features -->
<featureManager>
<feature>jsp-2.2</feature>
<feature>jndi-1.0</feature>
<feature>appSecurity-2.0</feature>
<feature>ssl-1.0</feature>
</featureManager>
<jndiEntry jndiName="analytics/shards" value="6" />
<jndiEntry jndiName="analytics/replicas_per_shard" value="1" />
<jndiEntry jndiName="analytics/http.enabled" value="false" />
<httpEndpoint id="defaultHttpEndpoint"
host="*"
httpPort="9082"
httpsPort="9445"
accessLoggingRef="accessLogging"/>
<httpAccessLogging id="accessLogging"
logFormat='%h %u %{t}W "%r" %s %b' />
<ssl id="defaultSSLConfig"
keyStoreRef="defaultKeyStore"
trustStoreRef="defaultTrustStore"
clientAuthenticationSupported="true" />
<keyStore id="defaultKeyStore" password="changeit"
location="/default.jks" />
<keyStore id="defaultTrustStore" password="changeit"
location="/TrustCA.jks" />
</server>
Can some IBM MFP expert provide some insight. Thanks
Upvotes: 0
Views: 226
Reputation: 1167
I do not see the JNDI property:
wl.analytics.logs.forward
set to true in your server.xml. You should have:
<jndiEntry jndiName="analytics/wl.analytics.logs.forward" value="true" />
You also need to be collecting logs specific to worklight. Analytics is only going to forward server logs from com.ibm.worklight.*
Upvotes: 0