pandorafms/pandora_console/extras/mr/69.sql

8806 lines
4.0 MiB

START TRANSACTION;
-- Remove column id_usuario_destino from tmensajes --
SET @exist = (SELECT count(*) FROM information_schema.columns WHERE TABLE_NAME='tmensajes' AND COLUMN_NAME='id_usuario_destino' AND table_schema = DATABASE());
SET @sqlstmt = IF (@exist>0, 'ALTER TABLE `tmensajes` DROP COLUMN `id_usuario_destino`', 'SELECT ""');
prepare stmt from @sqlstmt;
execute stmt;
DROP TABLE IF EXISTS tskin;
DROP TABLE IF EXISTS tnetwork_matrix;
ALTER TABLE tfavmenu_user CONVERT TO CHARACTER SET UTF8MB4;
ALTER TABLE tfiles_repo CONVERT TO CHARACTER SET UTF8MB4;
ALTER TABLE tfiles_repo_group CONVERT TO CHARACTER SET UTF8MB4;
ALTER TABLE `tusuario`
ADD COLUMN `stop_lts_modal` TINYINT NOT NULL DEFAULT 0 AFTER `session_max_time_expire`;
ALTER TABLE `tlayout_template` ADD COLUMN `create_from` INT UNSIGNED NOT NULL DEFAULT 0;
DELETE FROM `tlanguage` WHERE `id_language` = 'zh_CN';
UPDATE `tusuario` SET `language` = 'default' WHERE `language` = 'zh_CN';
UPDATE `tconfig` SET `value` = 'en_GB' WHERE `token` = 'language' AND `value` = 'zh_CN';
UPDATE `tconfig` SET `value` = 'Andromeda' WHERE `token` = 'lts_name';
SET @id_token_last_compact_offset = NULL;
SET @token_name_last_compact_offset = 'last_compact_offset';
SELECT @id_token_last_compact_offset := `id_config` FROM `tconfig` WHERE `token` = @token_name_last_compact_offset ORDER BY `id_config` DESC LIMIT 1;
DELETE FROM `tconfig` WHERE `token` = @token_name_last_compact_offset AND `id_config` != @id_token_last_compact_offset;
-- START MIGRATION MSSQL --
SET @current_app_type = 12;
SET @short_name = 'pandorafms.mssql';
SET @name = 'Microsoft SQL Server';
SET @section = 'app';
SET @description = 'Monitor Microsoft SQL Server databases';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_mssql');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES (1, @id_app, ''_exec1_' --conf '_tempfileConf_' --target_databases '_tempfileTargetDatabases_' --target_agents '_tempfileTargetAgents_' --custom_queries '_tempfileCustomQueries_'');
-- Migrate current MSSQL tasks configurations
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbstrings_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbstrings')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbuser_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbuser')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbpass_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbpass')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_engineAgent_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.engine_agent')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_prefixModuleName_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.prefix_module_name')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkUptime_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_uptime')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_queryStats_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.query_stats')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkConnections_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_connections')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_executeCustomQueries_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.execute_custom_queries')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_customQueries_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.custom_queries')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileConf_', 'custom', 'agents_group_id = __taskGroupID__
interval = __taskInterval__
user = _dbuser_
password = _dbpass_
threads = _threads_
modules_prefix = _prefixModuleName_
execute_custom_queries = _executeCustomQueries_
analyze_connections = _checkConnections_
engine_uptime = _checkUptime_
query_stats = _queryStats_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileTargetDatabases_', 'custom', '_dbstrings_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileTargetAgents_', 'custom', '_engineAgent_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileCustomQueries_', 'custom', '_customQueries_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
-- Migrate current MSSQL tasks
UPDATE `trecon_task`
SET
`id_app` = @id_app,
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type
;
-- END MIGRATION MSSQL --
-- START MIGRATION MYSQL --
-- Insert new MySQL APP
SET @current_app_type = 4;
SET @short_name = 'pandorafms.mysql';
SET @name = 'MySQL';
SET @section = 'app';
SET @description = 'Monitor MySQL databases';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_mysql');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES (1, @id_app, ''_exec1_' --conf '_tempfileConf_' --target_databases '_tempfileTargetDatabases_' --target_agents '_tempfileTargetAgents_' --custom_queries '_tempfileCustomQueries_'');
-- Migrate current MySQL tasks configurations
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
WITH RECURSIVE `cte` AS (
SELECT
`id_rt`,
REPLACE(JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbport')), ' ', '') AS `port`,
1 AS `pos`,
SUBSTRING_INDEX(
REPLACE(JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbhost')), ' ', ''),
',', 1
) AS `host`,
SUBSTRING(
REPLACE(JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbhost')), ' ', ''),
LENGTH(SUBSTRING_INDEX(
REPLACE(JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbhost')), ' ', ''),
',', 1
)) + 2
) AS `remaining`
FROM `trecon_task` WHERE `type` = @current_app_type
UNION ALL
SELECT `id_rt`, `port`, `pos` + 1, SUBSTRING_INDEX(`remaining`, ',', 1) AS `host`, SUBSTRING(`remaining`, LENGTH(SUBSTRING_INDEX(`remaining`, ',', 1)) + 2)
FROM `cte`
WHERE `remaining` != ''
)
SELECT `id_rt`, '_dbstrings_', 'custom', GROUP_CONCAT(CONCAT(`host`, ':', `port`) SEPARATOR ','), 0
FROM `cte`
GROUP BY `id_rt`
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbuser_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbuser')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbpass_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbpass')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_engineAgent_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.engine_agent')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_prefixModuleName_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.prefix_module_name')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_scanDatabases_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.scan_databases')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_agentPerDatabase_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.agent_per_database')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_prefixAgent_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.prefix_agent')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkUptime_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_uptime')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_queryStats_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.query_stats')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkConnections_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_connections')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkInnodb_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_innodb')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkCache_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_cache')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_executeCustomQueries_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.execute_custom_queries')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_customQueries_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.custom_queries')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileConf_', 'custom', 'agents_group_id = __taskGroupID__
interval = __taskInterval__
user = _dbuser_
password = _dbpass_
threads = _threads_
modules_prefix = _prefixModuleName_
execute_custom_queries = _executeCustomQueries_
analyze_connections = _checkConnections_
scan_databases = _scanDatabases_
agent_per_database = _agentPerDatabase_
db_agent_prefix = _prefixAgent_
innodb_stats = _checkInnodb_
engine_uptime = _checkUptime_
query_stats = _queryStats_
cache_stats = _checkCache_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileTargetDatabases_', 'custom', '_dbstrings_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileTargetAgents_', 'custom', '_engineAgent_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileCustomQueries_', 'custom', '_customQueries_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
-- Migrate current MySQL tasks
UPDATE `trecon_task`
SET
`id_app` = @id_app,
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type
;
-- END MIGRATION MYSQL --
-- START MIGRATION ORACLE --
-- Insert new Oracle APP
SET @current_app_type = 5;
SET @short_name = 'pandorafms.oracle';
SET @name = 'Oracle';
SET @section = 'app';
SET @description = 'Monitor Oracle databases';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_oracle');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES (1, @id_app, ''_exec1_' --conf '_tempfileConf_' --target_databases '_tempfileTargetDatabases_' --target_agents '_tempfileTargetAgents_' --custom_queries '_tempfileCustomQueries_'');
-- Migrate current Oracle tasks configurations
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbstrings_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbstrings')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbuser_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbuser')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbpass_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbpass')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_engineAgent_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.engine_agent')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_prefixModuleName_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.prefix_module_name')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkUptime_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_uptime')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_queryStats_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.query_stats')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkConnections_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_connections')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkFragmentation_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_fragmentation')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkTablespaces_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_tablespaces')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkCache_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_cache')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_executeCustomQueries_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.execute_custom_queries')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_customQueries_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.custom_queries')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileConf_', 'custom', 'agents_group_id = __taskGroupID__
interval = __taskInterval__
user = _dbuser_
password = _dbpass_
threads = _threads_
modules_prefix = _prefixModuleName_
execute_custom_queries = _executeCustomQueries_
analyze_connections = _checkConnections_
engine_uptime = _checkUptime_
query_stats = _queryStats_
cache_stats = _checkCache_
fragmentation_ratio = _checkFragmentation_
check_tablescpaces = _checkTablespaces_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileTargetDatabases_', 'custom', '_dbstrings_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileTargetAgents_', 'custom', '_engineAgent_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileCustomQueries_', 'custom', '_customQueries_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
-- Migrate current Oracle tasks
UPDATE `trecon_task`
SET
`id_app` = @id_app,
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type
;
-- END MIGRATION ORACLE --
-- START MIGRATION VMWARE --
-- Insert new VMware APP
SET @current_app_type = 3;
SET @short_name = 'pandorafms.vmware';
SET @name = 'VMware';
SET @section = 'app';
SET @description = 'Monitor ESXi hosts, datastores and VMs from a specific datacenter';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_vmware');
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec2_', 'bin/vmware_instances');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES (1, @id_app, ''_exec1_' '_tempfileVMware_' --as_discovery_plugin 1');
-- Migrate current VMware tasks configurations
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentacleIP_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(`field2`, '$.tentacle_ip')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentaclePort_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(`field2`, '$.tentacle_port')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentacleExtraOpt_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(`field2`, '$.tentacle_opts')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 2;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_server_', 'custom', SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 8), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 3;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_datacenter_', 'custom', SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 12), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 4;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_user_', 'custom', SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 6), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 6;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_useEncryptedPassword_', 'custom', SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 24), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 7;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
'_pass_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
'_threads_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
'_reconInterval_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
'_virtualNetworkMonitoring_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
'_retrySend_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
'_eventMode_',
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
'_extraSettings_',
NULL
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 6),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 9),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 16),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
"1",
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
SUBSTRING(SUBSTRING_INDEX(REPLACE(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position - 1), ""), "Reject", 1), 22),
"0"
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 8;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
'_pass_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
'_threads_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
'_reconInterval_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
'_virtualNetworkMonitoring_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
'_retrySend_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
'_eventMode_',
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
'_extraSettings_',
NULL
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 6),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 9),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 16),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
"1",
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
SUBSTRING(SUBSTRING_INDEX(REPLACE(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position - 1), ""), "Reject", 1), 22),
"0"
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 9;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
'_pass_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
'_threads_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
'_reconInterval_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
'_virtualNetworkMonitoring_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
'_retrySend_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
'_eventMode_',
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
'_extraSettings_',
NULL
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 6),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 9),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 16),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
"1",
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
SUBSTRING(SUBSTRING_INDEX(REPLACE(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position - 1), ""), "Reject", 1), 22),
"0"
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 10;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
'_pass_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
'_threads_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
'_reconInterval_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
'_virtualNetworkMonitoring_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
'_retrySend_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
'_eventMode_',
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
'_extraSettings_',
NULL
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 6),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 9),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 16),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
"1",
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
SUBSTRING(SUBSTRING_INDEX(REPLACE(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position - 1), ""), "Reject", 1), 22),
"0"
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 11;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
'_pass_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
'_threads_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
'_reconInterval_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
'_virtualNetworkMonitoring_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
'_retrySend_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
'_eventMode_',
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
'_extraSettings_',
NULL
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 6),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 9),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 16),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
"1",
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
SUBSTRING(SUBSTRING_INDEX(REPLACE(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position - 1), ""), "Reject", 1), 22),
"0"
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 12;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
'_pass_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
'_threads_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
'_reconInterval_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
'_virtualNetworkMonitoring_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
'_retrySend_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
'_eventMode_',
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
'_extraSettings_',
NULL
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 6),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 9),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 16),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
"1",
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
SUBSTRING(SUBSTRING_INDEX(REPLACE(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position - 1), ""), "Reject", 1), 22),
"0"
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 13;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
'_pass_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
'_threads_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
'_reconInterval_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
'_virtualNetworkMonitoring_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
'_retrySend_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
'_eventMode_',
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
'_extraSettings_',
NULL
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 6),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 9),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 16),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
"1",
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
SUBSTRING(SUBSTRING_INDEX(REPLACE(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position - 1), ""), "Reject", 1), 22),
"0"
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 14;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
'_pass_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
'_threads_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
'_reconInterval_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
'_virtualNetworkMonitoring_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
'_retrySend_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
'_eventMode_',
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
'_extraSettings_',
NULL
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 6),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 9),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 16),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
"1",
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
SUBSTRING(SUBSTRING_INDEX(REPLACE(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position - 1), ""), "Reject", 1), 22),
"0"
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 15;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
'_pass_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
'_threads_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
'_reconInterval_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
'_virtualNetworkMonitoring_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
'_retrySend_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
'_eventMode_',
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
'_extraSettings_',
NULL
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "pass",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 6),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "threads",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 9),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "recon_interval",
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), 16),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "virtual_network_monitoring",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "retry_send",
"1",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1) = "event_mode",
"1",
IF(
SUBSTRING(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position), "\n", -1), " ", 1), 1, 20) = "#__EXTRA__SETTINGS__",
SUBSTRING(SUBSTRING_INDEX(REPLACE(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "\n", @position - 1), ""), "Reject", 1), 22),
"0"
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 2;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datastore",
'_scanDatastore_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datacenter",
'_scanDatacenter_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_esx",
'_scanESX_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_vm",
'_scanVM_',
NULL
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datastore",
"0",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datacenter",
"0",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_esx",
"0",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_vm",
"0",
""
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 3;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datastore",
'_scanDatastore_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datacenter",
'_scanDatacenter_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_esx",
'_scanESX_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_vm",
'_scanVM_',
NULL
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datastore",
"0",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datacenter",
"0",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_esx",
"0",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_vm",
"0",
""
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 4;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datastore",
'_scanDatastore_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datacenter",
'_scanDatacenter_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_esx",
'_scanESX_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_vm",
'_scanVM_',
NULL
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datastore",
"0",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datacenter",
"0",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_esx",
"0",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_vm",
"0",
""
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 5;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datastore",
'_scanDatastore_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datacenter",
'_scanDatacenter_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_esx",
'_scanESX_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_vm",
'_scanVM_',
NULL
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datastore",
"0",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_datacenter",
"0",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_esx",
"0",
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "Reject", -1), "\n", @position), "\n", -1) = "all_vm",
"0",
""
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', 5, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_virtualNetworkMonitoring_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_retrySend_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_eventMode_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_extraSettings_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_scanDatastore_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_scanDatacenter_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_scanESX_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_scanVM_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_monitorExclusiveAgents_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_exclusiveAgents_', 'custom', '[]', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_exclusiveESXi_', 'custom', '[]', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_exclusiveDatastores_', 'custom', '[]', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_exclusiveVMs_', 'custom', '[]', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileVMware_', 'custom', 'Configuration
server _server_
datacenter _datacenter_
user _user_
group __taskGroup__
use_encrypted_password _useEncryptedPassword_
interval __taskInterval__
pass _pass_
threads _threads_
event_mode _eventMode_
retry_send _retrySend_
virtual_network_monitoring _virtualNetworkMonitoring_
recon_interval _reconInterval_

scan_datastore _scanDatastore_
scan_datacenter _scanDatacenter_
scan_esx _scanESX_
scan_vm _scanVM_

logfile __temp__/tmp_discovery.__taskMD5__.log
entities_list __temp__/tmp_discovery.__taskMD5__.entities
event_pointer_file __temp__/tmp_discovery.__taskMD5__.events
temporal __temp__
transfer_mode tentacle
tentacle_ip _tentacleIP_
tentacle_port _tentaclePort_
tentacle_opts _tentacleExtraOpt_
local_folder __incomingDir__
pandora_url __consoleAPIURL__
api_pass __consoleAPIPass__
api_user __consoleUser__
apiuser_pass __consolePass__

_extraSettings_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
-- Delete NULL macros
DELETE FROM `tdiscovery_apps_tasks_macros` WHERE `macro` = '';
-- Migrate current VMware tasks
UPDATE `trecon_task`
SET
`id_app` = @id_app,
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type
;
-- END MIGRATION WMWARE --
-- START MIGRATION SAP --
-- Insert new SAP APP
SET @current_app_type = 10;
SET @short_name = 'pandorafms.sap.deset';
SET @name = 'SAP R3 - Deset';
SET @section = 'app';
SET @description = 'Monitor SAP R3 environments';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_sap_deset');
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_java_', 'bin/lib/jre/bin/java');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES (1, @id_app, ''_exec1_' --conf '_tempfileConf_' --custom_modules '_tempfileCustomModules_'');
-- Migrate current SAP tasks configurations
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_server_', 'custom', `subnet`, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_sapClient_', 'custom', `field3`, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_sapSystem_', 'custom', `field2`, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_sapLicense_', 'custom', `field4`, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_credentials_', 'credentials.sap', `auth_strings`, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_customModules_', 'custom', '[]', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_targetAgent_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
'_customModulesDefinition_',
'custom',
JSON_UNQUOTE(
JSON_EXTRACT(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
'"160"',
'""'
),
'"109"',
'""'
),
'"111"',
'""'
),
'"113"',
'""'
),
'"121"',
'""'
),
'"104"',
'""'
),
'"105"',
'""'
),
'"150"',
'""'
),
'"151"',
'""'
),
'"102"',
'""'
),
'"103"',
'""'
),
'"192"',
'""'
),
'"195"',
'""'
),
'"116"',
'""'
),
'","',
""
),
'$[0]'
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = -1;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -2;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -3;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -4;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -5;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -6;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -7;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -8;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -9;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -10;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -11;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -12;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -13;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -14;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task`
SET
`tdiscovery_apps_tasks_macros`.`value` = REPLACE(REPLACE(REPLACE(`value`, '"", ', ''), '""', ''), ', ]', ']')
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `trecon_task`.`id_rt` AND
`trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task`
SET
`tdiscovery_apps_tasks_macros`.`value` = (
SELECT `tconfig`.`value` FROM `tconfig` WHERE `tconfig`.`token` = 'sap_license'
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `trecon_task`.`id_rt` AND
`trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_sapLicense_' AND
`tdiscovery_apps_tasks_macros`.`value` = ''
;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task`
SET
`tdiscovery_apps_tasks_macros`.`value` = 'trial'
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `trecon_task`.`id_rt` AND
`trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_sapLicense_' AND
`tdiscovery_apps_tasks_macros`.`value` = ''
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileConf_', 'custom', 'agents_group_id = __taskGroupID__
threads = _threads_
interval = __taskInterval__
server = _server_
client = _sapClient_
system = _sapSystem_
license = _sapLicense_
credentials = _credentials_
agent = _targetAgent_
modules = _customModules_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileCustomModules_', 'custom', '_customModulesDefinition_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
-- Migrate current SAP tasks
UPDATE `trecon_task`
SET
`id_app` = @id_app,
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type
;
-- END MIGRATION SAP --
-- START MIGRATION DB2 --
-- Insert new DB2 APP
SET @current_app_type = 11;
SET @short_name = 'pandorafms.db2';
SET @name = 'DB2';
SET @section = 'app';
SET @description = 'Monitor DB2 databases';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_db2');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES (1, @id_app, ''_exec1_' --conf '_tempfileConf_' --target_databases '_tempfileTargetDatabases_' --target_agents '_tempfileTargetAgents_' --custom_queries '_tempfileCustomQueries_'');
-- Migrate current DB2 tasks configurations
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbstrings_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbstrings')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbuser_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbuser')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbpass_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbpass')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_engineAgent_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.engine_agent')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_prefixModuleName_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.prefix_module_name')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkDbSummary_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_db_summary')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkTransactionalLogUtilization_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_transactional_log_utilization')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkConnections_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_connections')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkDbSize_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_db_size')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkCache_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_cache')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_executeCustomQueries_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.execute_custom_queries')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_customQueries_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.custom_queries')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileConf_', 'custom', 'agents_group_id = __taskGroupID__
interval = __taskInterval__
user = _dbuser_
password = _dbpass_
threads = _threads_
modules_prefix = _prefixModuleName_
execute_custom_queries = _executeCustomQueries_
analyze_connections = _checkConnections_
cache_stats = _checkCache_
database_summary = _checkDbSummary_
transactional_log = _checkTransactionalLogUtilization_
db_size = _checkDbSize_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileTargetDatabases_', 'custom', '_dbstrings_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileTargetAgents_', 'custom', '_engineAgent_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileCustomQueries_', 'custom', '_customQueries_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
-- Migrate current DB2 tasks
UPDATE `trecon_task`
SET
`id_app` = @id_app,
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type
;
-- END MIGRATION DB2 --
-- START MIGRATION AWS EC2 --
-- Insert new EC2 APP
SET @current_app_type = 6;
SET @short_name = 'pandorafms.aws.ec2';
SET @name = 'Amazon EC2';
SET @section = 'cloud';
SET @description = 'Monitor AWS EC2 instances';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_aws_ec2');
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec2_', 'bin/aws_ec2');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES (1, @id_app, ''_exec1_' --conf '_tempfileEC2_'');
-- Migrate current EC2 tasks configurations
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentacleIP_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(`field2`, '$.tentacle_ip')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentaclePort_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(`field2`, '$.tentacle_port')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentacleExtraOpt_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(`field2`, '$.tentacle_opts')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_credentials_', 'credentials.aws', `auth_strings`, 0
FROM `trecon_task`
WHERE `trecon_task`.`type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_useProxy_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_proxyUrl_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_sslCheck_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 4;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
'_globalTotalCost_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_ec2InstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_ec2CpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_ec2IopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_ec2DiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_ec2NetworkPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
'_ec2StorageSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
'_ec2ElasticAddressesSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
'_globalCostInterval_',
NULL
)
)
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 5;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
'_globalTotalCost_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_ec2InstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_ec2CpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_ec2IopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_ec2DiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_ec2NetworkPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
'_ec2StorageSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
'_ec2ElasticAddressesSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
'_globalCostInterval_',
NULL
)
)
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 6;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
'_globalTotalCost_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_ec2InstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_ec2CpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_ec2IopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_ec2DiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_ec2NetworkPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
'_ec2StorageSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
'_ec2ElasticAddressesSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
'_globalCostInterval_',
NULL
)
)
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 7;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
'_globalTotalCost_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_ec2InstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_ec2CpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_ec2IopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_ec2DiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_ec2NetworkPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
'_ec2StorageSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
'_ec2ElasticAddressesSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
'_globalCostInterval_',
NULL
)
)
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 8;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
'_globalTotalCost_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_ec2InstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_ec2CpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_ec2IopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_ec2DiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_ec2NetworkPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
'_ec2StorageSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
'_ec2ElasticAddressesSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
'_globalCostInterval_',
NULL
)
)
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 9;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
'_globalTotalCost_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_ec2InstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_ec2CpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_ec2IopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_ec2DiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_ec2NetworkPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
'_ec2StorageSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
'_ec2ElasticAddressesSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
'_globalCostInterval_',
NULL
)
)
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 10;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
'_globalTotalCost_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_ec2InstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_ec2CpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_ec2IopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_ec2DiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_ec2NetworkPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
'_ec2StorageSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
'_ec2ElasticAddressesSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
'_globalCostInterval_',
NULL
)
)
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 11;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
'_globalTotalCost_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_ec2InstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_ec2CpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_ec2IopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_ec2DiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_ec2NetworkPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
'_ec2StorageSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
'_ec2ElasticAddressesSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
'_globalCostInterval_',
NULL
)
)
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 12;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
'_globalTotalCost_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_ec2InstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_ec2CpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_ec2IopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_ec2DiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_ec2NetworkPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
'_ec2StorageSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
'_ec2ElasticAddressesSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
'_globalCostInterval_',
NULL
)
)
)
)
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_total_cost',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_storage_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'ec2_elastic_addresses_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", 1) = 'global_cost_interval',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ), IF( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", 1 ) != SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), REPLACE( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONCAT( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ), IF( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", 1 ) != SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), REPLACE( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), CONCAT( SUBSTRING_INDEX( SUBSTRING_INDEX( CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), "global_cost_region ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_instance ", -1 ), "\n",1 ), "\n" ), "" ), "" ) ), "ec2_zones ", -1 ), "\n",1 ), "\n" ), "" ), "" ) )
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_statsAgent_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_statsAgentName_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_globalTotalCost_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_ec2InstanceSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_ec2CpuPerfSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_ec2IopsPerfSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_ec2DiskPerfSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_ec2NetworkPerfSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_ec2StorageSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_ec2ElasticAddressesSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_globalCostInterval_', 'custom', 604800, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @param = 'global_cost_region';
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
'_globalCostRegion_',
'custom',
REPLACE(
REPLACE(
CONCAT(
'["',
REPLACE(
REPLACE(
REPLACE(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
REPLACE(
SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
),
SUBSTRING_INDEX(SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
), "\n", 1),
""
),
"\n"
),
CONCAT(@param, " "),
""
),
"\n",
'","'
),
'"]'
),
',""]',
']'
),
'[""]',
'[]'
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @param = 'ec2_instance';
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
'_ec2Instance_',
'custom',
REPLACE(
REPLACE(
CONCAT(
'["',
REPLACE(
REPLACE(
REPLACE(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
REPLACE(
SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
),
SUBSTRING_INDEX(SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
), "\n", 1),
""
),
"\n"
),
CONCAT(@param, " "),
""
),
"\n",
'","'
),
'"]'
),
',""]',
']'
),
'[""]',
'[]'
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @param = 'ec2_zones';
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
'_ec2Zones_',
'custom',
REPLACE(
REPLACE(
CONCAT(
'["',
REPLACE(
REPLACE(
REPLACE(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
REPLACE(
SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
),
SUBSTRING_INDEX(SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
), "\n", 1),
""
),
"\n"
),
CONCAT(@param, " "),
""
),
"\n",
'","'
),
'"]'
),
',""]',
']'
),
'[""]',
'[]'
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_ec2ZonesInstance_', 'custom', '[]', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileEC2_', 'custom', 'interval=__taskInterval__
agents_group_name=__taskGroup__
storage=_ec2StorageSummary_
elastic_ip_address=_ec2ElasticAddressesSummary_
advance_monitoring=_ec2InstanceSummary_
cpu_summary=_ec2CpuPerfSummary_
iops_summary=_ec2IopsPerfSummary_
disk_summary=_ec2DiskPerfSummary_
network_summary=_ec2NetworkPerfSummary_
total_cost=_globalTotalCost_
interval_cost=_globalCostInterval_
aws_instances=_ec2Instance_
aws_regions=_ec2Zones_
cost_regions=_globalCostRegion_
creds_b64=_credentials_
temporal=__temp__
transfer_mode=tentacle
tentacle_ip=_tentacleIP_
tentacle_port=_tentaclePort_
tentacle_opts=_tentacleExtraOpt_
threads=_threads_
stats_agent=_statsAgent_
stats_agent=_statsAgentName_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
-- Delete NULL macros
DELETE FROM `tdiscovery_apps_tasks_macros` WHERE `macro` = '';
-- Migrate current EC2 tasks
UPDATE `trecon_task`
SET
`id_app` = @id_app,
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type
;
-- END MIGRATION AWS EC2 --
-- START MIGRATION AWS RDS --
-- Insert new RDS APP
SET @current_app_type = 7;
SET @short_name = 'pandorafms.aws.rds';
SET @name = 'Amazon RDS';
SET @section = 'cloud';
SET @description = 'Monitor AWS RDS instances';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_aws_rds');
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec2_', 'bin/aws_rds');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES (1, @id_app, ''_exec1_' --conf '_tempfileRDS_'');
-- Insert new MySQL APP
SET @short_name = 'pandorafms.mysql';
SET @name = 'MySQL';
SET @section = 'app';
SET @description = 'Monitor MySQL databases';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app_mysql := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_mysql');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES ('', @id_app, ''_exec1_' --conf '_tempfileConf_' --target_databases '_tempfileTargetDatabases_' --target_agents '_tempfileTargetAgents_' --custom_queries '_tempfileCustomQueries_'');
-- Insert new Oracle APP
SET @short_name = 'pandorafms.oracle';
SET @name = 'Oracle';
SET @section = 'app';
SET @description = 'Monitor Oracle databases';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app_oracle := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_oracle');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES ('', @id_app, ''_exec1_' --conf '_tempfileConf_' --target_databases '_tempfileTargetDatabases_' --target_agents '_tempfileTargetAgents_' --custom_queries '_tempfileCustomQueries_'');
-- Migrate current RDS tasks configurations
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentacleIP_', 'custom', '127.0.0.1', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentaclePort_', 'custom', '41121', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentacleExtraOpt_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_credentials_', 'credentials.aws', `auth_strings`, 0
FROM `trecon_task`
WHERE `trecon_task`.`type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_useProxy_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_proxyUrl_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_sslCheck_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_rdsInstance_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbtargets')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_rdsZones_', 'custom', '[]', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_rdsZonesInstance_', 'custom', '[]', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_rdsInstanceSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_rdsCpuPerfSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_rdsIopsPerfSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_rdsDiskPerfSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_rdsNetworkPerfSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileRDS_', 'custom', 'interval=__taskInterval__
agents_group_name=__taskGroup__
advance_monitoring=_rdsInstanceSummary_
cpu_summary=_rdsCpuPerfSummary_
iops_summary=_rdsIopsPerfSummary_
disk_summary=_rdsDiskPerfSummary_
network_summary=_rdsNetworkPerfSummary_
aws_instances=_rdsInstance_
aws_regions=_rdsZones_
creds_b64=_credentials_
temporal=__temp__
transfer_mode=tentacle
tentacle_ip=_tentacleIP_
tentacle_port=_tentaclePort_
tentacle_opts=_tentacleExtraOpt_
threads=_threads_
stats_agent=_statsAgent_
stats_agent_name=_statsAgentName_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_statsAgent_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_statsAgentName_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
-- Migrate current RDS tasks to MySQL tasks
INSERT IGNORE INTO `trecon_task`
(
`id_rt`,
`name`,
`description`,
`id_group`,
`utimestamp`,
`status`,
`interval_sweep`,
`id_recon_server`,
`disabled`,
`summary`,
`type`,
`id_app`,
`setup_complete`,
`field1`
)
SELECT
'',
CONCAT('MySQL - ', `name`),
CONCAT('Migrated from - ', `name`),
`id_group`,
`utimestamp`,
`status`,
`interval_sweep`,
`id_recon_server`,
`disabled`,
`summary`,
`type`,
@id_app_mysql,
0,
`field1`
FROM `trecon_task`
WHERE `type` = @current_app_type AND JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbengine')) = 'mysql'
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbstrings_', 'custom', REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbtargets')),'","',','),'["',''),'"]',''),'[',''),']',''), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbuser_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbuser')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbpass_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbpass')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', '1', 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_engineAgent_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_prefixModuleName_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.prefix_module_name')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_scanDatabases_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.scan_databases')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_agentPerDatabase_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.agent_per_database')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_prefixAgent_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.prefix_agent')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkUptime_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_uptime')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_queryStats_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.query_stats')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkConnections_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_connections')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkInnodb_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_innodb')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkCache_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_cache')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_executeCustomQueries_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.execute_custom_queries')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_customQueries_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.custom_queries')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileConf_', 'custom', 'agents_group_id = __taskGroupID__
interval = __taskInterval__
user = _dbuser_
password = _dbpass_
threads = _threads_
modules_prefix = _prefixModuleName_
execute_custom_queries = _executeCustomQueries_
analyze_connections = _checkConnections_
scan_databases = _scanDatabases_
agent_per_database = _agentPerDatabase_
db_agent_prefix = _prefixAgent_
innodb_stats = _checkInnodb_
engine_uptime = _checkUptime_
query_stats = _queryStats_
cache_stats = _checkCache_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileTargetDatabases_', 'custom', '_dbstrings_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileTargetAgents_', 'custom', '_engineAgent_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileCustomQueries_', 'custom', '_customQueries_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
-- Migrate current RDS tasks to Oracle tasks
INSERT IGNORE INTO `trecon_task`
(
`id_rt`,
`name`,
`description`,
`id_group`,
`utimestamp`,
`status`,
`interval_sweep`,
`id_recon_server`,
`disabled`,
`summary`,
`type`,
`id_app`,
`setup_complete`,
`field1`
)
SELECT
'',
CONCAT('Oracle - ', `name`),
CONCAT('Migrated from - ', `name`),
`id_group`,
`utimestamp`,
`status`,
`interval_sweep`,
`id_recon_server`,
`disabled`,
`summary`,
`type`,
@id_app_oracle,
0,
`field1`
FROM `trecon_task`
WHERE `type` = @current_app_type AND JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbengine')) = 'oracle'
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbstrings_', 'custom', REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbtargets')),'","',','),'["',''),'"]',''),'[',''),']',''), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbuser_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbuser')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_dbpass_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.dbpass')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', '1', 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_engineAgent_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_prefixModuleName_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.prefix_module_name')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkUptime_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_uptime')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_queryStats_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.query_stats')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkConnections_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_connections')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkFragmentation_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_fragmentation')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkTablespaces_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_tablespaces')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_checkCache_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.check_cache')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_executeCustomQueries_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.execute_custom_queries')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_customQueries_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(CONVERT(FROM_BASE64(`field1`) USING UTF8MB4), '$.custom_queries')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileConf_', 'custom', 'agents_group_id = __taskGroupID__
interval = __taskInterval__
user = _dbuser_
password = _dbpass_
threads = _threads_
modules_prefix = _prefixModuleName_
execute_custom_queries = _executeCustomQueries_
analyze_connections = _checkConnections_
engine_uptime = _checkUptime_
query_stats = _queryStats_
cache_stats = _checkCache_
fragmentation_ratio = _checkFragmentation_
check_tablescpaces = _checkTablespaces_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileTargetDatabases_', 'custom', '_dbstrings_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileTargetAgents_', 'custom', '_engineAgent_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileCustomQueries_', 'custom', '_customQueries_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
-- Migrate current RDS tasks
UPDATE `trecon_task`
SET
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type AND `id_app` = @id_app_mysql
;
UPDATE `trecon_task`
SET
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type AND `id_app` = @id_app_oracle
;
UPDATE `trecon_task`
SET
`id_app` = @id_app,
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type AND `id_app` IS NULL
;
-- END MIGRATION AWS RDS --
-- START MIGRATION AWS S3 --
-- Insert new S3 APP
SET @current_app_type = 14;
SET @short_name = 'pandorafms.aws.s3';
SET @name = 'Amazon S3';
SET @section = 'cloud';
SET @description = 'Monitor AWS S3 buckets';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_aws_s3');
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec2_', 'bin/aws_s3');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES (1, @id_app, ''_exec1_' --conf '_tempfileS3_'');
-- Migrate current S3 tasks configurations
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentacleIP_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(`field2`, '$.tentacle_ip')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentaclePort_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(`field2`, '$.tentacle_port')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentacleExtraOpt_', 'custom', JSON_UNQUOTE(JSON_EXTRACT(`field2`, '$.tentacle_opts')), 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_credentials_', 'credentials.aws', `auth_strings`, 0
FROM `trecon_task`
WHERE `trecon_task`.`type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_useProxy_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_proxyUrl_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_sslCheck_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 3;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_monitoring',
'_s3Monitoring_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_size',
'_s3Size_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_items',
'_s3Items_',
NULL
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_monitoring',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_size',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_items',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 4;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_monitoring',
'_s3Monitoring_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_size',
'_s3Size_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_items',
'_s3Items_',
NULL
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_monitoring',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_size',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_items',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 5;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_monitoring',
'_s3Monitoring_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_size',
'_s3Size_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_items',
'_s3Items_',
NULL
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_monitoring',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_size',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 's3_items',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"s3_zone ",-1),"\n",1),"\n"),"")),"s3_bucket ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_statsAgent_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_statsAgentName_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_s3Monitoring_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_s3Size_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_s3Items_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @param = 's3_bucket';
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
'_s3Bucket_',
'custom',
REPLACE(
REPLACE(
CONCAT(
'["',
REPLACE(
REPLACE(
REPLACE(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
REPLACE(
SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
),
SUBSTRING_INDEX(SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
), "\n", 1),
""
),
"\n"
),
CONCAT(@param, " "),
""
),
"\n",
'","'
),
'"]'
),
',""]',
']'
),
'[""]',
'[]'
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @param = 's3_zone';
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
'_s3Zone_',
'custom',
REPLACE(
REPLACE(
CONCAT(
'["',
REPLACE(
REPLACE(
REPLACE(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
REPLACE(
SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
),
SUBSTRING_INDEX(SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
), "\n", 1),
""
),
"\n"
),
CONCAT(@param, " "),
""
),
"\n",
'","'
),
'"]'
),
',""]',
']'
),
'[""]',
'[]'
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileS3_', 'custom', 'interval=__taskInterval__
agents_group_name=__taskGroup__
aws_regions=_s3Zone_
aws_buckets=_s3Bucket_
s3_monitoring=_s3Monitoring_
size_monitoring=_s3Size_
items_monitoring=_s3Items_
creds_b64=_credentials_
temporal=__temp__
transfer_mode=tentacle
tentacle_ip=_tentacleIP_
tentacle_port=_tentaclePort_
tentacle_opts=_tentacleExtraOpt_
threads=_threads_
stats_agent=_statsAgent_
stats_agent_name=_statsAgentName_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
-- Delete NULL macros
DELETE FROM `tdiscovery_apps_tasks_macros` WHERE `macro` = '';
-- Migrate current S3 tasks
UPDATE `trecon_task`
SET
`id_app` = @id_app,
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type
;
-- END MIGRATION AWS S3 --
-- START MIGRATION GCP --
-- Insert new Google APP
SET @current_app_type = 13;
SET @short_name = 'pandorafms.gcp.ce';
SET @name = 'Google Cloud Compute Engine';
SET @section = 'cloud';
SET @description = 'Monitor Google Cloud Platform Compute Engine VMs';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_gcp_ce');
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec2_', 'bin/google_instances');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES (1, @id_app, ''_exec1_' --conf '_tempfileGoogleCE_'');
-- Migrate current Google tasks configurations
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentacleIP_', 'custom', '127.0.0.1', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentaclePort_', 'custom', '41121', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tentacleExtraOpt_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_credentials_', 'credentials.gcp', `auth_strings`, 0
FROM `trecon_task`
WHERE `trecon_task`.`type` = @current_app_type
;
SET @position = 4;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_googleCEInstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_googleCECpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_googleCEIopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_googleCEDiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_googleCENetworkPerfSummary_',
NULL
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 5;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_googleCEInstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_googleCECpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_googleCEIopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_googleCEDiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_googleCENetworkPerfSummary_',
NULL
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 6;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_googleCEInstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_googleCECpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_googleCEIopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_googleCEDiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_googleCENetworkPerfSummary_',
NULL
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 7;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_googleCEInstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_googleCECpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_googleCEIopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_googleCEDiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_googleCENetworkPerfSummary_',
NULL
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = 8;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
'_googleCEInstanceSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
'_googleCECpuPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
'_googleCEIopsPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
'_googleCEDiskPerfSummary_',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
'_googleCENetworkPerfSummary_',
NULL
)
)
)
)
),
'custom',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_instance_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_cpu_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_iops_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_disk_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", 1) = 'ec2_network_perf_summary',
SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(
CONCAT(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",1),REPLACE(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONCAT(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",1),REPLACE(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(CONVERT(FROM_BASE64(field1) USING UTF8MB4),"ec2_zones ",-1),"\n",1),"\n"),"")),"ec2_instance ",-1),"\n",1),"\n"),""))
, "\n", @position), "\n", -1), " ", -1),
"0"
)
)
)
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_statsAgent_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_statsAgentName_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_googleCEInstanceSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_googleCECpuPerfSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_googleCEIopsPerfSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_googleCEDiskPerfSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_googleCENetworkPerfSummary_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @param = 'ec2_instance';
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
'_googleCEInstance_',
'custom',
REPLACE(
REPLACE(
CONCAT(
'["',
REPLACE(
REPLACE(
REPLACE(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
REPLACE(
SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
),
SUBSTRING_INDEX(SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
), "\n", 1),
""
),
"\n"
),
CONCAT(@param, " "),
""
),
"\n",
'","'
),
'"]'
),
',""]',
']'
),
'[""]',
'[]'
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @param = 'ec2_zones';
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
'_googleCEZones_',
'custom',
REPLACE(
REPLACE(
CONCAT(
'["',
REPLACE(
REPLACE(
REPLACE(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
REPLACE(
SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
),
SUBSTRING_INDEX(SUBSTRING_INDEX(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
SUBSTRING_INDEX(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
CONCAT(@param, " "), 1
),
""
),
CONCAT(@param, " "), -1
), "\n", 1),
""
),
"\n"
),
CONCAT(@param, " "),
""
),
"\n",
'","'
),
'"]'
),
',""]',
']'
),
'[""]',
'[]'
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_googleCEZonesInstance_', 'custom', '[]', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_useProxy_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_proxyUrl_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_sslCheck_', 'custom', 0, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileGoogleCE_', 'custom', 'agents_group_name=__taskGroup__
interval=__taskInterval__
threads=_threads_
temporal=__temp__
transfer_mode=tentacle
tentacle_ip=_tentacleIP_
tentacle_port=_tentaclePort_
tentacle_opts=_tentacleExtraOpt_
advance_monitoring=_googleCEInstanceSummary_
cpu_summary=_googleCECpuPerfSummary_
iops_summary=_googleCEIopsPerfSummary_
disk_summary=_googleCEDiskPerfSummary_
network_summary=_googleCENetworkPerfSummary_
creds_b64=_credentials_
gcp_zones=_googleCEZones_
gcp_instances=_googleCEInstances_
stats_agent=_statsAgent_
stats_agent_name=_statsAgentName_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
-- Delete NULL macros
DELETE FROM `tdiscovery_apps_tasks_macros` WHERE `macro` = '';
-- Migrate current Google tasks
UPDATE `trecon_task`
SET
`id_app` = @id_app,
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type
;
-- END MIGRATION GCP --
-- START MIGRATION SAP DESET --
-- Insert new SAP APP
SET @current_app_type = 10;
SET @short_name = 'pandorafms.sap.deset';
SET @name = 'SAP R3 - Deset';
SET @section = 'app';
SET @description = 'Monitor SAP R3 environments';
SET @version = '1.0';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
-- Insert into tdiscovery_apps_scripts
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_exec1_', 'bin/pandora_sap_deset');
INSERT IGNORE INTO `tdiscovery_apps_scripts` (`id_app`, `macro`, `value`) VALUES (@id_app, '_java_', 'bin/lib/jre/bin/java');
-- Insert into tdiscovery_apps_executions
INSERT IGNORE INTO `tdiscovery_apps_executions` (`id`, `id_app`, `execution`) VALUES (1, @id_app, ''_exec1_' --conf '_tempfileConf_' --custom_modules '_tempfileCustomModules_'');
-- Migrate current SAP tasks configurations
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_server_', 'custom', `subnet`, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_sapClient_', 'custom', `field3`, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_sapSystem_', 'custom', `field2`, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_sapLicense_', 'custom', `field4`, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_credentials_', 'credentials.sap', `auth_strings`, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_threads_', 'custom', 1, 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_customModules_', 'custom', '[]', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_targetAgent_', 'custom', '', 0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`,
'_customModulesDefinition_',
'custom',
JSON_UNQUOTE(
JSON_EXTRACT(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
CONVERT(FROM_BASE64(`field1`) USING UTF8MB4),
'"160"',
'""'
),
'"109"',
'""'
),
'"111"',
'""'
),
'"113"',
'""'
),
'"121"',
'""'
),
'"104"',
'""'
),
'"105"',
'""'
),
'"150"',
'""'
),
'"151"',
'""'
),
'"102"',
'""'
),
'"103"',
'""'
),
'"192"',
'""'
),
'"195"',
'""'
),
'"116"',
'""'
),
'","',
""
),
'$[0]'
)
),
0
FROM `trecon_task`
WHERE `type` = @current_app_type
;
SET @position = -1;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -2;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -3;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -4;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -5;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -6;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -7;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -8;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -9;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -10;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -11;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -12;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -13;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
SET @position = -14;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task` AS `main_trecon_task`
SET `tdiscovery_apps_tasks_macros`.`value` = JSON_MERGE(
`value`,
(
SELECT
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '160',
'"160"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '109',
'"109"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '111',
'"111"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '113',
'"113"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '121',
'"121"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '104',
'"104"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '105',
'"105"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '150',
'"150"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '151',
'"151"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '102',
'"102"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '103',
'"103"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '192',
'"192"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '195',
'"195"',
IF(
SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(SUBSTRING(SUBSTRING(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4), 1, LENGTH(CONVERT(FROM_BASE64(`trecon_task`.`field1`) USING UTF8MB4))-2), 3), '","', "\n"), "\n", @position), "\n", 1) = '116',
'"116"',
'""'
)
)
)
)
)
)
)
)
)
)
)
)
)
)
FROM `trecon_task`
WHERE
`trecon_task`.`type` = @current_app_type AND
`trecon_task`.`id_rt` = `main_trecon_task`.`id_rt`
)
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `main_trecon_task`.`id_rt` AND
`main_trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task`
SET
`tdiscovery_apps_tasks_macros`.`value` = REPLACE(REPLACE(REPLACE(`value`, '"", ', ''), '""', ''), ', ]', ']')
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `trecon_task`.`id_rt` AND
`trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_customModules_'
;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task`
SET
`tdiscovery_apps_tasks_macros`.`value` = (
SELECT `tconfig`.`value` FROM `tconfig` WHERE `tconfig`.`token` = 'sap_license'
)
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `trecon_task`.`id_rt` AND
`trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_sapLicense_' AND
`tdiscovery_apps_tasks_macros`.`value` = ''
;
UPDATE `tdiscovery_apps_tasks_macros`, `trecon_task`
SET
`tdiscovery_apps_tasks_macros`.`value` = 'trial'
WHERE
`tdiscovery_apps_tasks_macros`.`id_task` = `trecon_task`.`id_rt` AND
`trecon_task`.`type` = @current_app_type AND
`tdiscovery_apps_tasks_macros`.`macro` = '_sapLicense_' AND
`tdiscovery_apps_tasks_macros`.`value` = ''
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileConf_', 'custom', 'agents_group_id = __taskGroupID__
threads = _threads_
interval = __taskInterval__
server = _server_
client = _sapClient_
system = _sapSystem_
license = _sapLicense_
credentials = _credentials_
agent = _targetAgent_
modules = _customModules_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros`
(`id_task`, `macro`, `type`, `value`, `temp_conf`)
SELECT
`id_rt`, '_tempfileCustomModules_', 'custom', '_customModulesDefinition_', 1
FROM `trecon_task`
WHERE `type` = @current_app_type
;
-- Migrate current SAP tasks
UPDATE `trecon_task`
SET
`id_app` = @id_app,
`setup_complete` = 1,
`type` = 15
WHERE `type` = @current_app_type
;
-- END MIGRATION SAP DESET --
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/03_monitoring/06_web_monitoring' WHERE title = '¿Sabías que puedes monitorizar webs?';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/03_monitoring/03_remote_monitoring#monitorizacion_snmp' WHERE title = 'Monitorización remota de dispositivos SNMP';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/03_monitoring/03_remote_monitoring#monitorizacion_de_rutas' WHERE title = 'Monitorizar rutas desde una IP a otra';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/04_using/11_managing_and_administration#paradas_de_servicio_planificadas' WHERE title = 'Paradas planificadas';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/pandorafms/management_and_operation/01_alerts#configuracion_de_correos_para_alertas_en_pandora_fms' WHERE title = 'Personalizar los emails de alerta ';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/start?id=es/documentation/04_using/05_data_presentation_visual_maps' WHERE title = 'Usando iconos personalizados en consolas visuales ';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/04_using/05_data_presentation_visual_maps#mapa_de_calor_o_nube_de_color' WHERE title = 'Consolas visuales: mapas de calor ';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/04_using/11_managing_and_administration#log_de_auditoria' WHERE title = 'Auditoría interna de la consola ';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/start?id=es/documentation/02_installation/05_configuration_agents#configuracion_automatica_de_agentes' WHERE title = 'Sistema de provisión automática de agentes ';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/04_using/05_data_presentation_visual_maps#enlace_de_red' WHERE title = 'Enlaces de red en la consola visual ';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/04_using/08_data_presentation_reports#grafico_de_disponibilidad' WHERE title = 'Gráficas de disponibilidad ';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/04_using/12_console_setup?s%5B%5D%3Dcontrase%25C3%25B1as#password_policy' WHERE title = 'Política de contraseñas';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/12_console_setup?s%5B%5D%3Dgoogle%26s%5B%5D%3Dauth#authentication' WHERE title = 'Autenticación de doble factor ';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/03_monitoring/06_web_monitoring' WHERE title = 'Did you know that you can monitor websites?';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/11_managing_and_administration#log_de_auditoria' WHERE title = 'Console Internal Audit';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/12_console_setup?s%5B%5D%3Dgoogle%26s%5B%5D%' WHERE title = 'Two-factor authentication';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/05_data_presentation_visual_maps#mapa_de_cal' WHERE title = 'Visual consoles: heat maps';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/05_data_presentation_visual_maps#enlace_de_red' WHERE title = 'Network links in the visual console';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/08_data_presentation_reports#grafico_de_disp' WHERE title = 'Availability graphs';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/03_monitoring/03_remote_monitoring#monitorizacion_snmp' WHERE title = 'Remote monitoring of SNMP devices';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/03_monitoring/03_remote_monitoring#monitorizacion_de_rutas' WHERE title = 'Monitor routes from one IP to another';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/11_managing_and_administration#scheduled_downtimes' WHERE title = 'Scheduled downtimes';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/01_alerts#editing_an_action' WHERE title = 'Customize alert emails';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/12_console_setup?s%5B%5D%3Dcontrase%25C3%25B' WHERE title = 'password policy';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/start?id=en/documentation/02_installation/05_configuration_agents#conf' WHERE title = 'Automatic agent provision system';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/start?id=en/documentation/02_installation/05_configuration_agents#conf' WHERE title = 'Automatic agent provision system';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/start?id=en/documentation/02_installation/05_configuration_agents#conf' WHERE title = 'Automatic agent provision system';
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/start?id=en/documentation/04_using/05_data_presentation_visual_maps' WHERE title = 'Using custom icons in visual consoles';
DELETE FROM tconfig WHERE `token` = 'legacy_database_ha';
UPDATE tncm_script SET `content` = 'sleep:1
capture:export\n\r 
exit\n\r' where `content` = 'sleep:1
capture:system resource print\n\r 
exit\n\r';
-- Add new columns in tdeployment_hosts
ALTER TABLE `tdeployment_hosts` ADD COLUMN `deploy_method` ENUM('SSH', 'HTTP', 'HTTPS') DEFAULT 'SSH';
ALTER TABLE `tdeployment_hosts` ADD COLUMN `deploy_port` INT UNSIGNED NOT NULL DEFAULT 22;
ALTER TABLE `tdeployment_hosts` ADD COLUMN `server_port` INT UNSIGNED NOT NULL DEFAULT 41121;
ALTER TABLE `tdeployment_hosts` ADD COLUMN `temp_folder` VARCHAR(500) DEFAULT '/tmp';
UPDATE
`tdeployment_hosts`, `tconfig_os`
SET
`tdeployment_hosts`.`deploy_method` = 'HTTP',
`tdeployment_hosts`.`deploy_port` = 5985,
`tdeployment_hosts`.`temp_folder` = 'C:\Windows\Temp'
WHERE
`tdeployment_hosts`.`id_os` = `tconfig_os`.`id_os` AND `tconfig_os`.`name` = 'Windows' AND `tdeployment_hosts`.`deployed` = 0;
-- Find the name of the foreign key constraint
SELECT @constraint_name := `constraint_name`
FROM `information_schema`.`key_column_usage`
WHERE `table_name` = 'tdeployment_hosts' AND `column_name` = 'id_os';
-- Drop the foreign key constraint using dynamic SQL
SET @drop_fk_query = CONCAT('ALTER TABLE `tdeployment_hosts` DROP FOREIGN KEY ', @constraint_name);
PREPARE stmt FROM @drop_fk_query;
EXECUTE stmt;
DEALLOCATE PREPARE stmt;
-- Drop unused columns in tdeployment_hosts
ALTER TABLE `tdeployment_hosts` DROP COLUMN `id_os`;
ALTER TABLE `tdeployment_hosts` DROP COLUMN `os_version`;
ALTER TABLE `tdeployment_hosts` DROP COLUMN `arch`;
-- Update all deployment recon tasks port
UPDATE `trecon_task` SET `field4` = 41121 WHERE `type` = 9;
-- Update execution in proxmox discovery plugin
SET @short_name = 'pandorafms.proxmox';
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
UPDATE `tdiscovery_apps_executions` SET `execution` = ''_exec1_' --conf '_tempfileProxmox_'' WHERE `id_app` = @id_app;
INSERT INTO `tconfig` (`token`, `value`) VALUES ('JWT_signature', 1);
DELETE FROM tconfig WHERE `token` = 'loginhash_pwd';
UPDATE `tdiscovery_apps` SET `version` = '1.5' WHERE `short_name` = 'pandorafms.vmware';
-- Delete Create incident from event, from tevent_response
DELETE FROM tevent_response WHERE name = 'Create incident from event';
UPDATE tconfig_os SET `name` = 'Web Server' WHERE `id_os` = 12;
UPDATE `tncm_script` SET `content` ='set cli pager off \n
capture:show system info | match app-version:\n
sleep:1
exit \n'
WHERE `content`='set cli pager off \n
capture:show system info | match app-version:\n
sleep:1 
expect:app-version:\s*
exit \n';
UPDATE `tncm_script` SET `content` ='expect:root@%
cli\n
expect:root>
capture:show version|match Junos:\n
quit\n
expect:root@%
exit\n'
WHERE `content`= 'expect:root@%
cli\n
expect:root>
capture:show version|match Junos:\n
capture: \n
quit\n
expect:root@%
exit\n';
UPDATE `tncm_script` SET `content` ='expect:root@%
cli\n
expect:root>
capture:show version|match Junos:\n
quit\n
expect:root@%
exit\n'
WHERE `content`='expect:root@%
cli\n
expect:root>
capture:show version|match Junos:\n
capture: \n
quit\n
expect:root@%
exit\n';
SET @id_token_welcome_state = NULL;
SET @token_name_welcome_state = 'welcome_state';
SELECT @id_token_welcome_state := `id_config` FROM `tconfig` WHERE `token` = @token_name_welcome_state ORDER BY `id_config` DESC LIMIT 1;
DELETE FROM `tconfig` WHERE `token` = @token_name_welcome_state AND `id_config` != @id_token_welcome_state;
-- Add new vendor and model
SET @vendor_name = 'Cisco';
SET @model_name = 'Cisco-Generic';
SET @template_name = 'Cisco-Generic-Telnet';
SET @agent_data_template_name = 'Cisco-Generic-Telnet';
SET @script_test = 'sleep:1
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n
exit\r\n';
SET @script_get_config = 'sleep:1
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n
term length 0\r\n
capture:show running-config\r\n
exit\r\n';
SET @script_set_config = 'sleep:1
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n
term length 0\r\n
config terminal\r\n
_applyconfigbackup_\r\n
exit\r\n';
SET @script_get_firmware = 'sleep:1
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n
term length 0\r\n
capture:show version | i IOS Software\r\n
exit\r\n';
SET @script_set_firmware = 'sleep:1
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n
copy tftp flash\r\n
expect:\]\?
_TFTP_SERVER_IP_\r\n
expect:\]\?
_SOURCE_FILE_NAME_\r\n
expect:\]\?
firmware.bin\r\n
show flash\r\n
reload\r\n
expect:confirm
y\r\n
config terminal\r\n
boot system firmware.bin\r\n';
SET @script_custom = '';
SET @script_os_version = @script_get_firmware;
-- Try to insert vendor
INSERT IGNORE INTO `tncm_vendor` (`id`, `name`, `icon`) VALUES ('', @vendor_name, '');
-- Get vendor ID
SELECT @id_vendor := `id` FROM `tncm_vendor` WHERE `name` = @vendor_name;
-- Try to insert model
INSERT IGNORE INTO `tncm_model` (`id`, `id_vendor`, `name`) VALUES ('', @id_vendor, @model_name);
-- Get model ID
SELECT @id_model := `id` FROM `tncm_model` WHERE `id_vendor` = @id_vendor AND `name` = @model_name;
-- Get template ID if exists
SET @id_template = NULL;
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Try to insert template
INSERT IGNORE INTO `tncm_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_template, @template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get template ID again if inserted
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Get agent data template ID if exists
SET @id_agent_data_template = NULL;
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Try to insert agent data template
INSERT IGNORE INTO `tncm_agent_data_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_agent_data_template, @agent_data_template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get agent data template ID again if inserted
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Get test script ID if exists
SET @id_script_test = NULL;
SET @script_type = 0;
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Try to insert test script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_test, @script_type, @script_test);
-- Get test script ID again if inserted
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Get get_config script ID if exists
SET @id_script_get_config = NULL;
SET @script_type = 1;
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Try to insert get_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_config, @script_type, @script_get_config);
-- Get get_config script ID again if inserted
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Get set_config script ID if exists
SET @id_script_set_config = NULL;
SET @script_type = 2;
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Try to insert set_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_config, @script_type, @script_set_config);
-- Get set_config script ID again if inserted
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Get get_firmware script ID if exists
SET @id_script_get_firmware = NULL;
SET @script_type = 3;
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Try to insert get_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_firmware, @script_type, @script_get_firmware);
-- Get get_firmware script ID again if inserted
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Get set_firmware script ID if exists
SET @id_script_set_firmware = NULL;
SET @script_type = 4;
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Try to insert set_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_firmware, @script_type, @script_set_firmware);
-- Get set_firmware script ID again if inserted
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Get custom script ID if exists
SET @id_script_custom = NULL;
SET @script_type = 5;
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Try to insert custom script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_custom, @script_type, @script_custom);
-- Get custom script ID again if inserted
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Get os_version script ID if exists
SET @id_script_os_version = NULL;
SET @script_type = 7;
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Try to insert os_version script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_os_version, @script_type, @script_os_version);
-- Get os_version script ID again if inserted
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Get template scripts ID if exists
SET @id_ts_test = NULL;
SELECT @id_ts_test := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_test;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_test, @id_template, @id_script_test);
-- Get template scripts ID if exists
SET @id_ts_get_config = NULL;
SELECT @id_ts_get_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_config, @id_template, @id_script_get_config);
-- Get template scripts ID if exists
SET @id_ts_set_config = NULL;
SELECT @id_ts_set_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_config, @id_template, @id_script_set_config);
-- Get template scripts ID if exists
SET @id_ts_get_firmware = NULL;
SELECT @id_ts_get_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_firmware, @id_template, @id_script_get_firmware);
-- Get template scripts ID if exists
SET @id_ts_set_firmware = NULL;
SELECT @id_ts_set_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_firmware, @id_template, @id_script_set_firmware);
-- Get template scripts ID if exists
SET @id_ts_custom = NULL;
SELECT @id_ts_custom := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_custom;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_custom, @id_template, @id_script_custom);
-- Get template scripts ID if exists
SET @id_ts_os_version = NULL;
SELECT @id_ts_os_version := `id` FROM `tncm_agent_data_template_scripts` WHERE `id_agent_data_template` = @id_template AND `id_script` = @id_script_os_version;
-- Try to insert
INSERT IGNORE INTO `tncm_agent_data_template_scripts` (`id`, `id_agent_data_template`, `id_script`) VALUES (@id_ts_os_version, @id_agent_data_template, @id_script_os_version);
-- Add new vendor and model
SET @vendor_name = 'Juniper';
SET @model_name = 'Juniper-Generic';
SET @template_name = 'Juniper-Generic-Telnet';
SET @agent_data_template_name = 'Juniper-Generic-Telnet';
SET @script_test = 'sleep:1
\r\n
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
expect:root@%
cli\r\n
exit\r\n';
SET @script_get_config = 'sleep:1
\r\n
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
expect:root@%
cli\r\n
expect:root>
capture:show configuration | no-more\r\n
quit\r\n
expect:root@%
exit\r\n';
SET @script_set_config = 'sleep:1
\r\n
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
expect:root@%
cli\r\n
expect:root>
configure\r\n
load override terminal\r\n
_applyconfigbackup_\r\n
commit\r\n
quit\r\n
expect:root@%
exit\r\n';
SET @script_get_firmware = 'sleep:1
\r\n
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
expect:root@%
cli\r\n
expect:root>
capture:show version|match Junos:\r\n
quit\r\n
expect:root@%
exit\r\n';
SET @script_set_firmware = 'sleep:1
\r\n
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
expect:root@%
cli\r\n
expect:root>
save software from tftp _TFTP_SERVER_IP_ _FIRMWARE_NAME_ to flash\r\n
reset\r\n
quit\r\n
expect:root@%
exit\r\n';
SET @script_custom = '';
SET @script_os_version = @script_get_firmware;
-- Try to insert vendor
INSERT IGNORE INTO `tncm_vendor` (`id`, `name`, `icon`) VALUES ('', @vendor_name, '');
-- Get vendor ID
SELECT @id_vendor := `id` FROM `tncm_vendor` WHERE `name` = @vendor_name;
-- Try to insert model
INSERT IGNORE INTO `tncm_model` (`id`, `id_vendor`, `name`) VALUES ('', @id_vendor, @model_name);
-- Get model ID
SELECT @id_model := `id` FROM `tncm_model` WHERE `id_vendor` = @id_vendor AND `name` = @model_name;
-- Get template ID if exists
SET @id_template = NULL;
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Try to insert template
INSERT IGNORE INTO `tncm_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_template, @template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get template ID again if inserted
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Get agent data template ID if exists
SET @id_agent_data_template = NULL;
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Try to insert agent data template
INSERT IGNORE INTO `tncm_agent_data_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_agent_data_template, @agent_data_template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get agent data template ID again if inserted
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Get test script ID if exists
SET @id_script_test = NULL;
SET @script_type = 0;
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Try to insert test script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_test, @script_type, @script_test);
-- Get test script ID again if inserted
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Get get_config script ID if exists
SET @id_script_get_config = NULL;
SET @script_type = 1;
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Try to insert get_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_config, @script_type, @script_get_config);
-- Get get_config script ID again if inserted
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Get set_config script ID if exists
SET @id_script_set_config = NULL;
SET @script_type = 2;
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Try to insert set_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_config, @script_type, @script_set_config);
-- Get set_config script ID again if inserted
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Get get_firmware script ID if exists
SET @id_script_get_firmware = NULL;
SET @script_type = 3;
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Try to insert get_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_firmware, @script_type, @script_get_firmware);
-- Get get_firmware script ID again if inserted
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Get set_firmware script ID if exists
SET @id_script_set_firmware = NULL;
SET @script_type = 4;
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Try to insert set_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_firmware, @script_type, @script_set_firmware);
-- Get set_firmware script ID again if inserted
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Get custom script ID if exists
SET @id_script_custom = NULL;
SET @script_type = 5;
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Try to insert custom script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_custom, @script_type, @script_custom);
-- Get custom script ID again if inserted
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Get os_version script ID if exists
SET @id_script_os_version = NULL;
SET @script_type = 7;
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Try to insert os_version script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_os_version, @script_type, @script_os_version);
-- Get os_version script ID again if inserted
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Get template scripts ID if exists
SET @id_ts_test = NULL;
SELECT @id_ts_test := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_test;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_test, @id_template, @id_script_test);
-- Get template scripts ID if exists
SET @id_ts_get_config = NULL;
SELECT @id_ts_get_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_config, @id_template, @id_script_get_config);
-- Get template scripts ID if exists
SET @id_ts_set_config = NULL;
SELECT @id_ts_set_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_config, @id_template, @id_script_set_config);
-- Get template scripts ID if exists
SET @id_ts_get_firmware = NULL;
SELECT @id_ts_get_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_firmware, @id_template, @id_script_get_firmware);
-- Get template scripts ID if exists
SET @id_ts_set_firmware = NULL;
SELECT @id_ts_set_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_firmware, @id_template, @id_script_set_firmware);
-- Get template scripts ID if exists
SET @id_ts_custom = NULL;
SELECT @id_ts_custom := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_custom;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_custom, @id_template, @id_script_custom);
-- Get template scripts ID if exists
SET @id_ts_os_version = NULL;
SELECT @id_ts_os_version := `id` FROM `tncm_agent_data_template_scripts` WHERE `id_agent_data_template` = @id_template AND `id_script` = @id_script_os_version;
-- Try to insert
INSERT IGNORE INTO `tncm_agent_data_template_scripts` (`id`, `id_agent_data_template`, `id_script`) VALUES (@id_ts_os_version, @id_agent_data_template, @id_script_os_version);
-- Add new vendor and model
SET @vendor_name = 'Palo Alto';
SET @model_name = 'Palo Alto-Generic';
SET @template_name = 'Palo Alto-Generic-Telnet';
SET @agent_data_template_name = 'Palo Alto-Generic-Telnet';
SET @script_test = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
sleep:1
exit\r\n';
SET @script_get_config = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
set cli pager off\r\n
capture:show config running\r\n
exit\r\n';
SET @script_set_config = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
set cli terminal width 500\r\n
set cli scripting-mode on\r\n
configure\r\n
_applyconfigbackup_\r\n
commit\r\n
exit\r\n
exit\r\n';
SET @script_get_firmware = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
set cli pager off\r\n
capture:show system info | match app-version:\r\n
sleep:1
exit\r\n';
SET @script_set_firmware = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
tftp import software from _TFTP_SERVER_IP_ file _FIRMWARE_NAME_\r\n
request system software install version\r\n
reboot\r\n
exit\r\n';
SET @script_custom = '';
SET @script_os_version = @script_get_firmware;
-- Try to insert vendor
INSERT IGNORE INTO `tncm_vendor` (`id`, `name`, `icon`) VALUES ('', @vendor_name, '');
-- Get vendor ID
SELECT @id_vendor := `id` FROM `tncm_vendor` WHERE `name` = @vendor_name;
-- Try to insert model
INSERT IGNORE INTO `tncm_model` (`id`, `id_vendor`, `name`) VALUES ('', @id_vendor, @model_name);
-- Get model ID
SELECT @id_model := `id` FROM `tncm_model` WHERE `id_vendor` = @id_vendor AND `name` = @model_name;
-- Get template ID if exists
SET @id_template = NULL;
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Try to insert template
INSERT IGNORE INTO `tncm_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_template, @template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get template ID again if inserted
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Get agent data template ID if exists
SET @id_agent_data_template = NULL;
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Try to insert agent data template
INSERT IGNORE INTO `tncm_agent_data_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_agent_data_template, @agent_data_template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get agent data template ID again if inserted
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Get test script ID if exists
SET @id_script_test = NULL;
SET @script_type = 0;
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Try to insert test script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_test, @script_type, @script_test);
-- Get test script ID again if inserted
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Get get_config script ID if exists
SET @id_script_get_config = NULL;
SET @script_type = 1;
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Try to insert get_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_config, @script_type, @script_get_config);
-- Get get_config script ID again if inserted
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Get set_config script ID if exists
SET @id_script_set_config = NULL;
SET @script_type = 2;
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Try to insert set_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_config, @script_type, @script_set_config);
-- Get set_config script ID again if inserted
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Get get_firmware script ID if exists
SET @id_script_get_firmware = NULL;
SET @script_type = 3;
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Try to insert get_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_firmware, @script_type, @script_get_firmware);
-- Get get_firmware script ID again if inserted
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Get set_firmware script ID if exists
SET @id_script_set_firmware = NULL;
SET @script_type = 4;
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Try to insert set_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_firmware, @script_type, @script_set_firmware);
-- Get set_firmware script ID again if inserted
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Get custom script ID if exists
SET @id_script_custom = NULL;
SET @script_type = 5;
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Try to insert custom script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_custom, @script_type, @script_custom);
-- Get custom script ID again if inserted
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Get os_version script ID if exists
SET @id_script_os_version = NULL;
SET @script_type = 7;
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Try to insert os_version script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_os_version, @script_type, @script_os_version);
-- Get os_version script ID again if inserted
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Get template scripts ID if exists
SET @id_ts_test = NULL;
SELECT @id_ts_test := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_test;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_test, @id_template, @id_script_test);
-- Get template scripts ID if exists
SET @id_ts_get_config = NULL;
SELECT @id_ts_get_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_config, @id_template, @id_script_get_config);
-- Get template scripts ID if exists
SET @id_ts_set_config = NULL;
SELECT @id_ts_set_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_config, @id_template, @id_script_set_config);
-- Get template scripts ID if exists
SET @id_ts_get_firmware = NULL;
SELECT @id_ts_get_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_firmware, @id_template, @id_script_get_firmware);
-- Get template scripts ID if exists
SET @id_ts_set_firmware = NULL;
SELECT @id_ts_set_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_firmware, @id_template, @id_script_set_firmware);
-- Get template scripts ID if exists
SET @id_ts_custom = NULL;
SELECT @id_ts_custom := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_custom;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_custom, @id_template, @id_script_custom);
-- Get template scripts ID if exists
SET @id_ts_os_version = NULL;
SELECT @id_ts_os_version := `id` FROM `tncm_agent_data_template_scripts` WHERE `id_agent_data_template` = @id_template AND `id_script` = @id_script_os_version;
-- Try to insert
INSERT IGNORE INTO `tncm_agent_data_template_scripts` (`id`, `id_agent_data_template`, `id_script`) VALUES (@id_ts_os_version, @id_agent_data_template, @id_script_os_version);
-- Add new vendor and model
SET @vendor_name = 'A10';
SET @model_name = 'A10-Generic';
SET @template_name = 'A10-Generic-Telnet';
SET @agent_data_template_name = 'A10-Generic-Telnet';
SET @script_test = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n';
SET @script_get_config = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n
capture:show running-config\r\n
exit\r\n
exit\r\n
expect:Are you sure to quit (N/Y)?:\s*
y\r\n';
SET @script_set_config = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n
configure\r\n
_applyconfigbackup_\r\n
exit\r\n
exit\r\n
expect:Are you sure to quit (N/Y)?:\s*
y\r\n';
SET @script_get_firmware = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n
capture:show version\n
exit\r\n
exit\r\n
expect:Are you sure to quit (N/Y)?:\s*
y\r\n';
SET @script_set_firmware = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n
configure\r\n
expect:(config)
restore _TFTP_SERVER_IP_/_FIRMWARE_NAME_\r\n
expect:Password:\s*
_enablepass_\r\n
expect:skip port map
yes\r\n
expect: see the diff
yes\r\n
sleep:1
expect:Proceed with reboot
yes\r\n
expect:eof';
SET @script_custom = '';
SET @script_os_version = @script_get_firmware;
-- Try to insert vendor
INSERT IGNORE INTO `tncm_vendor` (`id`, `name`, `icon`) VALUES ('', @vendor_name, '');
-- Get vendor ID
SELECT @id_vendor := `id` FROM `tncm_vendor` WHERE `name` = @vendor_name;
-- Try to insert model
INSERT IGNORE INTO `tncm_model` (`id`, `id_vendor`, `name`) VALUES ('', @id_vendor, @model_name);
-- Get model ID
SELECT @id_model := `id` FROM `tncm_model` WHERE `id_vendor` = @id_vendor AND `name` = @model_name;
-- Get template ID if exists
SET @id_template = NULL;
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Try to insert template
INSERT IGNORE INTO `tncm_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_template, @template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get template ID again if inserted
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Get agent data template ID if exists
SET @id_agent_data_template = NULL;
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Try to insert agent data template
INSERT IGNORE INTO `tncm_agent_data_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_agent_data_template, @agent_data_template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get agent data template ID again if inserted
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Get test script ID if exists
SET @id_script_test = NULL;
SET @script_type = 0;
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Try to insert test script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_test, @script_type, @script_test);
-- Get test script ID again if inserted
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Get get_config script ID if exists
SET @id_script_get_config = NULL;
SET @script_type = 1;
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Try to insert get_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_config, @script_type, @script_get_config);
-- Get get_config script ID again if inserted
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Get set_config script ID if exists
SET @id_script_set_config = NULL;
SET @script_type = 2;
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Try to insert set_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_config, @script_type, @script_set_config);
-- Get set_config script ID again if inserted
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Get get_firmware script ID if exists
SET @id_script_get_firmware = NULL;
SET @script_type = 3;
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Try to insert get_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_firmware, @script_type, @script_get_firmware);
-- Get get_firmware script ID again if inserted
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Get set_firmware script ID if exists
SET @id_script_set_firmware = NULL;
SET @script_type = 4;
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Try to insert set_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_firmware, @script_type, @script_set_firmware);
-- Get set_firmware script ID again if inserted
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Get custom script ID if exists
SET @id_script_custom = NULL;
SET @script_type = 5;
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Try to insert custom script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_custom, @script_type, @script_custom);
-- Get custom script ID again if inserted
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Get os_version script ID if exists
SET @id_script_os_version = NULL;
SET @script_type = 7;
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Try to insert os_version script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_os_version, @script_type, @script_os_version);
-- Get os_version script ID again if inserted
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Get template scripts ID if exists
SET @id_ts_test = NULL;
SELECT @id_ts_test := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_test;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_test, @id_template, @id_script_test);
-- Get template scripts ID if exists
SET @id_ts_get_config = NULL;
SELECT @id_ts_get_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_config, @id_template, @id_script_get_config);
-- Get template scripts ID if exists
SET @id_ts_set_config = NULL;
SELECT @id_ts_set_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_config, @id_template, @id_script_set_config);
-- Get template scripts ID if exists
SET @id_ts_get_firmware = NULL;
SELECT @id_ts_get_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_firmware, @id_template, @id_script_get_firmware);
-- Get template scripts ID if exists
SET @id_ts_set_firmware = NULL;
SELECT @id_ts_set_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_firmware, @id_template, @id_script_set_firmware);
-- Get template scripts ID if exists
SET @id_ts_custom = NULL;
SELECT @id_ts_custom := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_custom;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_custom, @id_template, @id_script_custom);
-- Get template scripts ID if exists
SET @id_ts_os_version = NULL;
SELECT @id_ts_os_version := `id` FROM `tncm_agent_data_template_scripts` WHERE `id_agent_data_template` = @id_template AND `id_script` = @id_script_os_version;
-- Try to insert
INSERT IGNORE INTO `tncm_agent_data_template_scripts` (`id`, `id_agent_data_template`, `id_script`) VALUES (@id_ts_os_version, @id_agent_data_template, @id_script_os_version);
-- Add new vendor and model
SET @vendor_name = 'Alcatel-Lucent Enterprise';
SET @model_name = 'Alcatel-Generic';
SET @template_name = 'Alcatel-Generic-Telnet';
SET @agent_data_template_name = 'Alcatel-Generic-Telnet';
SET @script_test = 'sleep:1
\n
expect:Login:\s*
_username_\n
sleep:1
expect:Password:\s*
_enablepass_\n
sleep:1
enable\r\n
expect:Password:\s*
_enablepass_\r\n
exit\r\n';
SET @script_get_config = 'sleep:1
\n
expect:Login:\s*
_username_\n
sleep:1
expect:Password:\s*
_enablepass_\n
sleep:1
enable\n
sleep:1
expect:Password:\s*
_enablepass_\n
sleep:1
environment no more\n
sleep:1
capture:admin display-config\n
sleep:3
logout\n';
SET @script_set_config = '';
SET @script_get_firmware = 'sleep:1
\n
expect:Login:\s*
_username_\n
sleep:1
expect:Password:\s*
_enablepass_\n
sleep:1
enable\n
sleep:1
expect:Password:\s*
_enablepass_\n
sleep:1
capture:show version\n
sleep:3
logout\n';
SET @script_set_firmware = '';
SET @script_custom = '';
SET @script_os_version = @script_get_firmware;
-- Try to insert vendor
INSERT IGNORE INTO `tncm_vendor` (`id`, `name`, `icon`) VALUES ('', @vendor_name, '');
-- Get vendor ID
SELECT @id_vendor := `id` FROM `tncm_vendor` WHERE `name` = @vendor_name;
-- Try to insert model
INSERT IGNORE INTO `tncm_model` (`id`, `id_vendor`, `name`) VALUES ('', @id_vendor, @model_name);
-- Get model ID
SELECT @id_model := `id` FROM `tncm_model` WHERE `id_vendor` = @id_vendor AND `name` = @model_name;
-- Get template ID if exists
SET @id_template = NULL;
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Try to insert template
INSERT IGNORE INTO `tncm_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_template, @template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get template ID again if inserted
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Get agent data template ID if exists
SET @id_agent_data_template = NULL;
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Try to insert agent data template
INSERT IGNORE INTO `tncm_agent_data_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_agent_data_template, @agent_data_template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get agent data template ID again if inserted
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Get test script ID if exists
SET @id_script_test = NULL;
SET @script_type = 0;
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Try to insert test script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_test, @script_type, @script_test);
-- Get test script ID again if inserted
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Get get_config script ID if exists
SET @id_script_get_config = NULL;
SET @script_type = 1;
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Try to insert get_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_config, @script_type, @script_get_config);
-- Get get_config script ID again if inserted
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Get set_config script ID if exists
SET @id_script_set_config = NULL;
SET @script_type = 2;
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Try to insert set_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_config, @script_type, @script_set_config);
-- Get set_config script ID again if inserted
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Get get_firmware script ID if exists
SET @id_script_get_firmware = NULL;
SET @script_type = 3;
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Try to insert get_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_firmware, @script_type, @script_get_firmware);
-- Get get_firmware script ID again if inserted
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Get set_firmware script ID if exists
SET @id_script_set_firmware = NULL;
SET @script_type = 4;
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Try to insert set_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_firmware, @script_type, @script_set_firmware);
-- Get set_firmware script ID again if inserted
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Get custom script ID if exists
SET @id_script_custom = NULL;
SET @script_type = 5;
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Try to insert custom script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_custom, @script_type, @script_custom);
-- Get custom script ID again if inserted
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Get os_version script ID if exists
SET @id_script_os_version = NULL;
SET @script_type = 7;
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Try to insert os_version script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_os_version, @script_type, @script_os_version);
-- Get os_version script ID again if inserted
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Get template scripts ID if exists
SET @id_ts_test = NULL;
SELECT @id_ts_test := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_test;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_test, @id_template, @id_script_test);
-- Get template scripts ID if exists
SET @id_ts_get_config = NULL;
SELECT @id_ts_get_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_config, @id_template, @id_script_get_config);
-- Get template scripts ID if exists
SET @id_ts_set_config = NULL;
SELECT @id_ts_set_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_config, @id_template, @id_script_set_config);
-- Get template scripts ID if exists
SET @id_ts_get_firmware = NULL;
SELECT @id_ts_get_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_firmware, @id_template, @id_script_get_firmware);
-- Get template scripts ID if exists
SET @id_ts_set_firmware = NULL;
SELECT @id_ts_set_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_firmware, @id_template, @id_script_set_firmware);
-- Get template scripts ID if exists
SET @id_ts_custom = NULL;
SELECT @id_ts_custom := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_custom;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_custom, @id_template, @id_script_custom);
-- Get template scripts ID if exists
SET @id_ts_os_version = NULL;
SELECT @id_ts_os_version := `id` FROM `tncm_agent_data_template_scripts` WHERE `id_agent_data_template` = @id_template AND `id_script` = @id_script_os_version;
-- Try to insert
INSERT IGNORE INTO `tncm_agent_data_template_scripts` (`id`, `id_agent_data_template`, `id_script`) VALUES (@id_ts_os_version, @id_agent_data_template, @id_script_os_version);
-- Add new vendor and model
SET @vendor_name = 'Aruba';
SET @model_name = 'Aruba-Generic';
SET @template_name = 'Aruba-Generic-Telnet';
SET @agent_data_template_name = 'Aruba-Generic-Telnet';
SET @script_test = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n
exit\r\n';
SET @script_get_config = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n
capture:show running-config\r\n
exit\r\n
exit\r\n
expect:Are you sure to quit (N/Y)?:\s*
y\r\n';
SET @script_set_config = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
configure terminal\r\n
load replace /var/tmp/file.conf\r\n
end\r\n
write memory\r\n
exit\r\n';
SET @script_get_firmware = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
enable\r\n
expect:Password:\s*
_enablepass_\r\n
capture:show version\r\n
exit\r\n';
SET @script_set_firmware = 'sleep:1
expect:login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
copy tftp flash _TFTP_SERVER_IP_ firmware.bin.swi secondary\r\n
boot system flash secondary\r\n
copy tftp flash  _TFTP_SERVER_IP_ firmware.bin primary\r\n
boot system flash primary\r\n';
SET @script_custom = '';
SET @script_os_version = @script_get_firmware;
-- Try to insert vendor
INSERT IGNORE INTO `tncm_vendor` (`id`, `name`, `icon`) VALUES ('', @vendor_name, '');
-- Get vendor ID
SELECT @id_vendor := `id` FROM `tncm_vendor` WHERE `name` = @vendor_name;
-- Try to insert model
INSERT IGNORE INTO `tncm_model` (`id`, `id_vendor`, `name`) VALUES ('', @id_vendor, @model_name);
-- Get model ID
SELECT @id_model := `id` FROM `tncm_model` WHERE `id_vendor` = @id_vendor AND `name` = @model_name;
-- Get template ID if exists
SET @id_template = NULL;
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Try to insert template
INSERT IGNORE INTO `tncm_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_template, @template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get template ID again if inserted
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Get agent data template ID if exists
SET @id_agent_data_template = NULL;
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Try to insert agent data template
INSERT IGNORE INTO `tncm_agent_data_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_agent_data_template, @agent_data_template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get agent data template ID again if inserted
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Get test script ID if exists
SET @id_script_test = NULL;
SET @script_type = 0;
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Try to insert test script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_test, @script_type, @script_test);
-- Get test script ID again if inserted
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Get get_config script ID if exists
SET @id_script_get_config = NULL;
SET @script_type = 1;
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Try to insert get_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_config, @script_type, @script_get_config);
-- Get get_config script ID again if inserted
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Get set_config script ID if exists
SET @id_script_set_config = NULL;
SET @script_type = 2;
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Try to insert set_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_config, @script_type, @script_set_config);
-- Get set_config script ID again if inserted
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Get get_firmware script ID if exists
SET @id_script_get_firmware = NULL;
SET @script_type = 3;
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Try to insert get_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_firmware, @script_type, @script_get_firmware);
-- Get get_firmware script ID again if inserted
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Get set_firmware script ID if exists
SET @id_script_set_firmware = NULL;
SET @script_type = 4;
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Try to insert set_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_firmware, @script_type, @script_set_firmware);
-- Get set_firmware script ID again if inserted
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Get custom script ID if exists
SET @id_script_custom = NULL;
SET @script_type = 5;
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Try to insert custom script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_custom, @script_type, @script_custom);
-- Get custom script ID again if inserted
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Get os_version script ID if exists
SET @id_script_os_version = NULL;
SET @script_type = 7;
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Try to insert os_version script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_os_version, @script_type, @script_os_version);
-- Get os_version script ID again if inserted
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Get template scripts ID if exists
SET @id_ts_test = NULL;
SELECT @id_ts_test := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_test;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_test, @id_template, @id_script_test);
-- Get template scripts ID if exists
SET @id_ts_get_config = NULL;
SELECT @id_ts_get_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_config, @id_template, @id_script_get_config);
-- Get template scripts ID if exists
SET @id_ts_set_config = NULL;
SELECT @id_ts_set_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_config, @id_template, @id_script_set_config);
-- Get template scripts ID if exists
SET @id_ts_get_firmware = NULL;
SELECT @id_ts_get_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_firmware, @id_template, @id_script_get_firmware);
-- Get template scripts ID if exists
SET @id_ts_set_firmware = NULL;
SELECT @id_ts_set_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_firmware, @id_template, @id_script_set_firmware);
-- Get template scripts ID if exists
SET @id_ts_custom = NULL;
SELECT @id_ts_custom := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_custom;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_custom, @id_template, @id_script_custom);
-- Get template scripts ID if exists
SET @id_ts_os_version = NULL;
SELECT @id_ts_os_version := `id` FROM `tncm_agent_data_template_scripts` WHERE `id_agent_data_template` = @id_template AND `id_script` = @id_script_os_version;
-- Try to insert
INSERT IGNORE INTO `tncm_agent_data_template_scripts` (`id`, `id_agent_data_template`, `id_script`) VALUES (@id_ts_os_version, @id_agent_data_template, @id_script_os_version);
-- Add new vendor and model
SET @vendor_name = 'Mikrotik';
SET @model_name = 'Mikrotik-Generic';
SET @template_name = 'Mikrotik-Generic-Telnet';
SET @agent_data_template_name = 'Mikrotik-Generic-Telnet';
SET @script_test = 'sleep:1
expect:Login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
sleep:1
exit\r\n\r';
SET @script_get_config = 'sleep:1
expect:Login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
capture:system resource print\r\n\r 
exit\r\n\r';
SET @script_set_config = 'sleep:1
expect:Login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
system backup load name=_nameBackup_ password=_passwordBackup_\n\r
expect:Restore
yes\n\r
quit\n\r';
SET @script_get_firmware = 'sleep:1
expect:Login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
capture:/system package print\n\r 
quit\n\r';
SET @script_set_firmware = 'sleep:1
expect:Login:\s*
_username_\r\n
expect:Password:\s*
_enablepass_\r\n
/system routerboard upgrade\n\r
expect:Do
yes\n\r
quit\n\r';
SET @script_custom = '';
SET @script_os_version = @script_get_firmware;
-- Try to insert vendor
INSERT IGNORE INTO `tncm_vendor` (`id`, `name`, `icon`) VALUES ('', @vendor_name, '');
-- Get vendor ID
SELECT @id_vendor := `id` FROM `tncm_vendor` WHERE `name` = @vendor_name;
-- Try to insert model
INSERT IGNORE INTO `tncm_model` (`id`, `id_vendor`, `name`) VALUES ('', @id_vendor, @model_name);
-- Get model ID
SELECT @id_model := `id` FROM `tncm_model` WHERE `id_vendor` = @id_vendor AND `name` = @model_name;
-- Get template ID if exists
SET @id_template = NULL;
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Try to insert template
INSERT IGNORE INTO `tncm_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_template, @template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get template ID again if inserted
SELECT @id_template := `id` FROM `tncm_template` WHERE `name` = @template_name;
-- Get agent data template ID if exists
SET @id_agent_data_template = NULL;
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Try to insert agent data template
INSERT IGNORE INTO `tncm_agent_data_template` (`id`, `name`, `vendors`, `models`) VALUES (@id_agent_data_template, @agent_data_template_name, CONCAT('[',@id_vendor,']'), CONCAT('[',@id_model,']'));
-- Get agent data template ID again if inserted
SELECT @id_agent_data_template := `id` FROM `tncm_agent_data_template` WHERE `name` = @agent_data_template_name;
-- Get test script ID if exists
SET @id_script_test = NULL;
SET @script_type = 0;
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Try to insert test script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_test, @script_type, @script_test);
-- Get test script ID again if inserted
SELECT @id_script_test := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_test;
-- Get get_config script ID if exists
SET @id_script_get_config = NULL;
SET @script_type = 1;
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Try to insert get_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_config, @script_type, @script_get_config);
-- Get get_config script ID again if inserted
SELECT @id_script_get_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_config;
-- Get set_config script ID if exists
SET @id_script_set_config = NULL;
SET @script_type = 2;
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Try to insert set_config script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_config, @script_type, @script_set_config);
-- Get set_config script ID again if inserted
SELECT @id_script_set_config := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_config;
-- Get get_firmware script ID if exists
SET @id_script_get_firmware = NULL;
SET @script_type = 3;
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Try to insert get_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_get_firmware, @script_type, @script_get_firmware);
-- Get get_firmware script ID again if inserted
SELECT @id_script_get_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_get_firmware;
-- Get set_firmware script ID if exists
SET @id_script_set_firmware = NULL;
SET @script_type = 4;
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Try to insert set_firmware script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_set_firmware, @script_type, @script_set_firmware);
-- Get set_firmware script ID again if inserted
SELECT @id_script_set_firmware := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_set_firmware;
-- Get custom script ID if exists
SET @id_script_custom = NULL;
SET @script_type = 5;
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Try to insert custom script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_custom, @script_type, @script_custom);
-- Get custom script ID again if inserted
SELECT @id_script_custom := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_custom;
-- Get os_version script ID if exists
SET @id_script_os_version = NULL;
SET @script_type = 7;
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Try to insert os_version script
INSERT IGNORE INTO `tncm_script` (`id`, `type`, `content`) VALUES (@id_script_os_version, @script_type, @script_os_version);
-- Get os_version script ID again if inserted
SELECT @id_script_os_version := `id` FROM `tncm_script` WHERE `type` = @script_type AND `content` = @script_os_version;
-- Get template scripts ID if exists
SET @id_ts_test = NULL;
SELECT @id_ts_test := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_test;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_test, @id_template, @id_script_test);
-- Get template scripts ID if exists
SET @id_ts_get_config = NULL;
SELECT @id_ts_get_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_config, @id_template, @id_script_get_config);
-- Get template scripts ID if exists
SET @id_ts_set_config = NULL;
SELECT @id_ts_set_config := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_config;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_config, @id_template, @id_script_set_config);
-- Get template scripts ID if exists
SET @id_ts_get_firmware = NULL;
SELECT @id_ts_get_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_get_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_get_firmware, @id_template, @id_script_get_firmware);
-- Get template scripts ID if exists
SET @id_ts_set_firmware = NULL;
SELECT @id_ts_set_firmware := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_set_firmware;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_set_firmware, @id_template, @id_script_set_firmware);
-- Get template scripts ID if exists
SET @id_ts_custom = NULL;
SELECT @id_ts_custom := `id` FROM `tncm_template_scripts` WHERE `id_template` = @id_template AND `id_script` = @id_script_custom;
-- Try to insert
INSERT IGNORE INTO `tncm_template_scripts` (`id`, `id_template`, `id_script`) VALUES (@id_ts_custom, @id_template, @id_script_custom);
-- Get template scripts ID if exists
SET @id_ts_os_version = NULL;
SELECT @id_ts_os_version := `id` FROM `tncm_agent_data_template_scripts` WHERE `id_agent_data_template` = @id_template AND `id_script` = @id_script_os_version;
-- Try to insert
INSERT IGNORE INTO `tncm_agent_data_template_scripts` (`id`, `id_agent_data_template`, `id_script`) VALUES (@id_ts_os_version, @id_agent_data_template, @id_script_os_version);
COMMIT;