Hi Team,
i am using below files for elk testing
===heartbeat.yml file==============
heartbeat.monitors:
- id: my-monitor
name: My Monitor
type: browser
schedule: "@every 2m"
source:
local:
path: "./elkfile"
============================package.json file===========
{
"name": "elk-test-sm",
"private": true,
"description": "project dependencies.",
"scripts": {},
"license": "MIT",
"dependencies": {
"@elastic/synthetics": "^1.0.0-beta"
},
"devDependencies": {
"node-static": "^0.7.11"
}
}
=====================================elk-journey.js file========
import { journey, step } from '@elastic/synthetics';
import { deepStrictEqual } from 'assert';
import { join } from 'path';
journey('check if the elastic-info page is working', ({ page }) => {
step('Go to Elastic Information page', async () => {
await page.goto('https://www.elastic.co');
});
});
=====================================docker run commands=========
sudo docker run \
--rm \
--name=heartbeat \
--user=heartbeat \
--volume="$PWD/heartbeat.yml:/usr/share/heartbeat/heartbeat.yml:ro" \
--volume="$PWD:/usr/share/heartbeat/elkfile:ro" \
docker.elastic.co/beats/heartbeat:7.15.0 heartbeat -e \
-E cloud.id=Dev:
-E cloud.auth=elastic:
===============================
in heartbeat version we are using latest version(i.e.8.0.0-alpha2) also while run the docker run commands but same files is executing and working fine in last week but not working now and getting the below error.
So could please find the docker run error details in the given below and please suggest if anything is wrong:
2021-10-18T18:38:42.343Z WARN synthexec/synthexec.go:197 Error executing command '/tmp/elastic-synthetics-662981811/node_modules/.bin/elastic-synthetics /tmp/elastic-synthetics-662981811 --screenshots on --rich-events --outfd 3': exit status 1
Thanks in advance.