The error message you're encountering, "Error restoring state from URL," typically occurs when there is an issue with the URL parameters or syntax in Kibana. In your case, it seems that the URL you provided contains complex query parameters and configuration settings.
Here are a few suggestions to troubleshoot and resolve the issue:
Verify URL syntax: Double-check the URL syntax to ensure that it is valid and properly formed. Make sure there are no missing or incorrect characters, and that all parentheses, brackets, and quotes are correctly balanced.
Simplify the URL: Temporarily remove or simplify the query parameters and configuration settings in the URL to isolate the issue. Test the URL without any filters or complex options to see if it works. If it does, gradually add back the components until you identify the specific part causing the problem.
Test URL parameters individually: If possible, test each URL parameter individually to identify if any specific parameter is causing the issue. This will help narrow down the problematic parameter and allow you to focus on troubleshooting that particular part.
Check compatibility with Kibana version: Ensure that the scripted field URL and its syntax are compatible with the Kibana version you are using (7.12.0). There might be changes in URL handling or query syntax between different versions of Kibana.
Review Kibana logs: Inspect the Kibana logs for any relevant error messages or warnings that could shed light on the issue. Look for any details about URL parsing or restoration errors that might provide insights into the problem.
Test the URL in a different environment: Try opening the URL in a different browser or on a different machine to see if the issue is specific to your current environment. This can help determine if there are any browser or network-related factors contributing to the error.
Consult Kibana documentation or community: Check the official Kibana documentation or reach out to the Kibana community or support team for specific guidance regarding complex URLs and syntax. They may have additional insights or suggestions to resolve the issue.
Remember to provide relevant details, such as the version of Kibana you are using, the complete error message, and any relevant logs, when seeking support. This information will help the support team or community members better understand the problem and provide appropriate solutions.
Please note that troubleshooting complex URLs and Kibana configurations may require deeper knowledge of your specific setup, so consulting official documentation or seeking support from the Kibana community is recommended for more precise assistance.
I hope these suggestions help you troubleshoot and resolve the "Error restoring state from URL" issue in Kibana.
Regards,
Rachel Gomez