Ask Your Question
1

Changing Data Collector URL

asked 2019-01-15 12:45:36 -0600

hanleyhansen gravatar image

updated 2019-01-15 13:04:04 -0600

Is it possible to change the base Data Collector URL? I'm currently running Data Collector under a sub URL path, for example, http://example.com/datacollector/. All the links are broken because they are absolute links and they point back up to the top. Can I change the base URL somehow to include /datacollector/ so that the links are generated correctly?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-01-15 15:03:42 -0600

metadaddy gravatar image

You can edit $SDC_CONF/sdc.properties and set sdc.base.http.url to the desired URL, for example:

sdc.base.http.url=http://example.com/datacollector/:18630
edit flag offensive delete link more

Comments

@metadaddy thank you. That worked to an extent. Looks like some links are using the base url to generate the url while others just use an absolute link.

hanleyhansen gravatar imagehanleyhansen ( 2019-01-15 15:47:11 -0600 )edit

I tried to do this using the Data Collector in docker, no luck there. Is that possible?

robodo gravatar imagerobodo ( 2019-02-04 04:38:24 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-01-15 12:45:36 -0600

Seen: 22 times

Last updated: Jan 15