This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Debug Painless scripts
editDebug Painless scripts
editThis functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
The Painless Lab is an interactive code editor that lets you test and debug Painless scripts in real-time. You can use the Painless scripting language to create Kibana runtime fields, process reindexed data, define complex Watcher conditions, and work with data in other contexts.
To get started, open the main menu, click Dev Tools, and then click Painless Lab.