I have a deployment in elastic cloud where I need to create multi page synthetic journey but as the web application is deployed in AWS, we have cloudflare which is blocking unwanted requests and it is blocking the synthetics journey also. May I know if it has any unique identifiers which can identify this request or any other way to complete the journey?
Are those IP addresses unique per deployment and static? if those are public IP addresses which may allocate to other org also, then we cannot use whitelisting IP addresses or ranges. Can you please confirm? I will check on the ELastic/Synthetics string at the end of the request.
They are shared with other users. You could set a custom header for your tests however by setting the extraHTTPHeaders playwright option in your synthetics.config.ts. It looks like this:
export default env => {
const config: SyntheticsConfig = {
playwrightOptions: {
extraHTTPHeaders: {
// use whichever headers would work for your setup
"X-My-Header": "My-Value"
}
},
// rest of your config...
}
Where can I give those headers? I cannot find synthetics.config.ts option in kibana. Can you please give me the steps to add this config for elastic cloud deployment?
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.