diff --git a/packages/mongodb_atlas/data_stream/process/agent/stream/input.yml.hbs b/packages/mongodb_atlas/data_stream/process/agent/stream/input.yml.hbs index 2dcda89ac40..3dc4b922602 100644 --- a/packages/mongodb_atlas/data_stream/process/agent/stream/input.yml.hbs +++ b/packages/mongodb_atlas/data_stream/process/agent/stream/input.yml.hbs @@ -51,7 +51,7 @@ program: | ).as(state, state.next >= size(state.hostlist) ? {} : request("GET", string(state.hostlist[state.next])).with({ "Header": { - "Accept": ["application/vnd.atlas." + string(timestamp(now).getFullYear()) + "-01-01+json"] + "Accept": ["application/vnd.atlas." + string(now.getFullYear()) + "-01-01+json"] } }).do_request().as(res, { "events": bytes(res.Body).decode_json().as(f, f.with({"response": zip( @@ -66,4 +66,4 @@ program: | "group_id": state.group_id, "query": state.query, }) - ) \ No newline at end of file + )