Unable to capture IP details in Syslog table when logged in from SMA.

Idea ID 1661684

Unable to capture IP details in Syslog table when logged in from SMA.

Hi Team,

I am unable to get user details in syslog table when user is logged in from SMA Service Portal. Please let me know. how to achieve this requirement.

Thanks in Advance.

Regards,

Shaffali Kaul

5 Comments
Valued Contributor.
Valued Contributor.

Please update on this. Its urgently required

Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

@Sandy_1993  Please understood that the Idea forum is not for posting questions. If you do have some enhancement request to be submitted through idea exchange, please help provide more details about the idea. thank you.

Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Actual behavior:

1. When login from SMA Service Portal, the Status is logged on, and Start Time is set.

There is no value for Device, IP Address as login from ess.do

2. When logout from SMA Service Portal, the Status is logged off, and Stop Time is set.

There is no value for Device, IP Address as login from ess.do

Expectation: Device and IP Address should be set automatically as login / logout from ess.do

OOTB_login and logout from SMA SP.png

Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
Status changed to: Waiting for Votes
 
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

We discussed this internally, and the workaround that we propose is below:

Currently all end user login info (including user name and IP address) is available in the tomcat log on NFS. Such as /var/vols/itom/itsma/itsma-itsma-global/logs/xservices/gateway/itom-xservices-gateway-xxxxxx-xxxx-2018-08-23/localhost_access_log.2018-08-23.txt. The content from log is below

08-23-2018 15:20:38.264 ip=xx.xx.xx.xx  status=200  tenant=100000002 user=Aaron.Caffrey correlationId=RID-f03b4a52-5a31-4e98-8d92-d296b4311138  request="GET /saw/ess?TENANTID=100000002 HTTP/1.1" userType=Firefox requestInfo=- duration=6 bytes=4825 thread=http-nio-8080-exec-19 service=ess itemType=N-A itemOperation=READ dataLayer=N-A incomingItemCnt=- outgoingItemCnt=-

08-23-2018 15:20:39.200 ip=16.85.88.15  status=200  tenant=100000002 user=Aaron.Caffrey correlationId=RID-8e21db56-d29f-421b-bd62-ddc687c45957  request="GET /rest/100000002/ess/backend/type HTTP/1.0" userType=Firefox requestInfo=- duration=421 bytes=25 thread=http-nio-8080-exec-15 service=ess itemType=backend itemOperation=READ dataLayer=N-A incomingItemCnt=- outgoingItemCnt=-

As a workaround, a tool can be created to auto parse the user name/IP from the tomcat log and save the info to SM syslog. In addition, for longer term, we should add this idea to the idea exchange forum so it can be reviewed officially as part of the roadmap.

Regards.

Ankit  

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.