# Redirect or POST to "press the button"

**URL:** <https://discuss.elastic.co/t/redirect-or-post-to-press-the-button/261289>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [January 15, 2021, 6:10pm UTC](https://discuss.elastic.co/t/redirect-or-post-to-press-the-button/261289 "2021-01-15T18:10:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rnx](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Rnx](https://discuss.elastic.co/u/Rnx)\
**Post date:** [January 15, 2021, 6:10pm UTC](https://discuss.elastic.co/t/redirect-or-post-to-press-the-button/261289/1 "2021-01-15T18:10:18Z")

</div>

Hi,  
my heartbeat (7.8.0) is stuck on page asking for "press the button", to redirect further. Is there any way to configure Heartbeat to get past the page? Output which I'm receiving is:

```auto
<!DOCTYPE html>
<html>
	<body onload="document.forms[0].submit()">
    <noscript>
		<p><strong>Note:</strong>Since your browser does not support Javascript, you must press the Continue button once to proceed.</p>
	</noscript>
	<form action="login" method="post">
	<div>
		
		<input type="hidden" name="RFA" value="PostTicket=true:PostParams=true:62fa1-a81b-4a72-6-9f0a6c:https://123.com/ABC/defg.php?func=otdsintegration.redirect&amp;NextURL=https%3A%2F%2F4fds0%2Edom1%2">
		
		<input type="hidden" name="fragment" id="fragment">
	</div>
    <noscript>
		<div><input type="submit" value="Continue"></div>
	</noscript>
	<script>
		if (window.location.hash) {
			document.getElementById("fragment").value=window.location.hash;
		}
	</script>
	</form>
	</body>
</html>

```

And my monitor is configured like this:

```auto
- type: http 
  id: page-monitor
  max_redirects: 5
  name: heartbeat

  enabled: true
  schedule: '@every 15s' 
  hosts: ["https://server:12345/serverisrunning.oho"]

  ipv4: true
  ipv6: true
  mode: any

  username: 'domain\user'
  password: ' ****'

  check.response:
    status: 200
    max_redirects: 5
    body: 'Running'

```

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [January 15, 2021, 7:27pm UTC](https://discuss.elastic.co/t/redirect-or-post-to-press-the-button/261289/2 "2021-01-15T19:27:39Z")

</div>

Hey @Rnx,

For this you may need synthetic monitoring, that allows you to simulate the navigation on a website. This was recently included as an experimental feature in Heartbeat. If you want to give it a try, take a look to [https://www.elastic.co/guide/en/observability/7.10/synthetic-monitoring.html](https://www.elastic.co/guide/en/observability/7.10/synthetic-monitoring.html)

---

<div class="post-metadata">

**Author:** ![Rnx](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Rnx](https://discuss.elastic.co/u/Rnx)\
**Post date:** [January 16, 2021, 9:27am UTC](https://discuss.elastic.co/t/redirect-or-post-to-press-the-button/261289/3 "2021-01-16T09:27:43Z")

</div>

that's... interesting.  
anyway, thanks for the advice, had no idea such a thing exists.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 13, 2021, 11:27am UTC](https://discuss.elastic.co/t/redirect-or-post-to-press-the-button/261289/4 "2021-02-13T11:27:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
