Thanks for confirming. I've managed to recreate the issue on a few versions, including beta 43 and followed up internally to get some background. The current implementation requires specification of a reporter, such as the json reporter:
npx @elastic/synthetics . --dry-run --reporter json
{"type":"synthetics/metadata","@timestamp":1682341232066066.8,"root_fields":{"num_journeys":2,"os":{"platform":"darwin"},"package":{"name":"@elastic/synthetics","version":"1.0.0-beta.39"}},"payload":{"network_conditions":{"downloadThroughput":655360,"uploadThroughput":393216,"latency":20,"offline":false}},"package_version":"1.0.0-beta.39"}
{"type":"journey/register","@timestamp":1682341232066412,"journey":{"name":"My journey","id":"My journey"},"root_fields":{"os":{"platform":"darwin"},"package":{"name":"@elastic/synthetics","version":"1.0.0-beta.39"}},"package_version":"1.0.0-beta.39"}
{"type":"journey/register","@timestamp":1682341232066441.5,"journey":{"name":"My Other Journey","id":"My Other Journey"},"root_fields":{"os":{"platform":"darwin"},"package":{"name":"@elastic/synthetics","version":"1.0.0-beta.39"}},"package_version":"1.0.0-beta.39"}
We've agreed having a default reporter when none is specified is more intuitive, so I've raised a GitHub issue for it that you can follow if that helps. For the moment, while not in the prettiest format, the json reporter should give you what you need.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.