Ask Your Question
1

Can I call data collector rest api from within a pipeline?

asked 2018-09-24 11:49:31 -0500

dcwatson84 gravatar image

I'm trying to use an HTTP client origin to call rest services on the data collector itself. I can call the the service via a browser (http://host:18630/rest/v1/pipelines?l...) and it works fine, but this is because I am already authenticated. Is it possible to call these services from within a pipeline? How is authentication handled in that case?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2018-09-24 14:15:15 -0500

iamontheinet gravatar image

Hi!

For HTTP Client origin, set Authentication Type to "Basic" on HTTP tab and then enter your data collector username and password on Credentials tab.

Cheers, Dash

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-09-24 11:49:31 -0500

Seen: 46 times

Last updated: Sep 24