Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
root
Creator II
Creator II

Capture CLIENT information in tRestRequest

I want to capture the client information like originating IP/ Hostname etc and log it somewhere, preferrable SAM tables (Events/ Event_custominfo etc). 
How can I find that information? I am using tRestRequest and when I checked the headers, its not available.
Thanks.
(Sorry for repost, I earlier posted this in another ESB forum).

Labels (2)
5 Replies
Anonymous
Not applicable

Hi,
Have you checked out "Log message" option in advanced setting of tRestRequest component  to log the message exchange between the service provider and the consumer?
Best regards
Sabrina
0683p000009MDL8.png
root
Creator II
Creator II
Author

Hi,
Have you checked out "Log message" option in advanced setting of tRestRequest component to log the message exchange between the service provider and the consumer?
Best regards
Sabrina
55433/mini_1.png_20170216-2356.png

Yes, I did that. I still cannot capture the source client info (like ip/ hostname) in the logs. Is there any specific context/ globalmap variable I can use to capture that information?
Thanks!
root
Creator II
Creator II
Author

Hello, any help please?
Thank you.
vapukov
Master II
Master II

not sure - how todo this properly
I also not found in web console logs any information about exchange,
but, if install additional component - hawtio monitoring plugin into Karaf
karaf@trun()> feature:repo-add hawtio 1.5.0
karaf@trun()> feature:install hawtio

Than in new console views (link - example)
http://localhost:8040/hawtio/logs?p=container&repositoryId=activemq-5.14.1

it will show INBOUND/OUTBOUND messages
0683p000009MDK6.png
root
Creator II
Creator II
Author

not sure - how todo this properly
I also not found in web console logs any information about exchange,
but, if install additional component - hawtio monitoring plugin into Karaf
karaf@trun()> feature:repo-add hawtio 1.5.0
karaf@trun()> feature:install hawtio

Than in new console views (link - example)
http://localhost:8040/hawtio/logs?p=container&repositoryId=activemq-5.14.1

it will show INBOUND/OUTBOUND messages
403111/mini_Screen_Shot_2017-04-04_at_3.43.48_PM.png.png

Hmm, thanks. I will try that out and see how it shows.. may be this will solve my problems! Thanks.