elasticsearch: can't use periods in symbols, use underscores instead
elasticsearch: fixing some syntax issues (periods in symbol, variable instead of string)