You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2017-02-15 17:37:47

plumberg
Member
115 posts

plumberg said:

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).

Offline

#2 2017-02-17 08:56:51

xdshi
Talend Team


xdshi said:

Re: Capture CLIENT information in tRestRequest

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
mini_1.png_20170216-2356.png


What we can do is to make sure that Talend will be your best choice!

Offline

#3 2017-02-20 12:45:38

plumberg
Member
115 posts

plumberg said:

Re: Capture CLIENT information in tRestRequest

xdshi wrote:

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
https://www.talendforge.org/forum/img/m … 6-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!

Offline

#4 2017-02-28 14:05:30

plumberg
Member
115 posts

plumberg said:

Re: Capture CLIENT information in tRestRequest

Hello, any help please?
Thank you.

Offline

#5 2017-04-04 04:48:06

vapukov
Member
470 posts

vapukov said:

Re: Capture CLIENT information in tRestRequest

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

mini_Screen_Shot_2017-04-04_at_3.43.48_PM.png.png

Last edited by vapukov (2017-04-04 04:49:12)

Offline

#6 2017-04-05 21:46:24

plumberg
Member
115 posts

plumberg said:

Re: Capture CLIENT information in tRestRequest

vapukov wrote:

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

https://www.talendforge.org/forum/img/m … PM.png.png

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

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy