When querying data which was discovered by the new RDF framework, it needs to done differently than that of MySQL database look-ups done in the Reporting Manager. For example, you normally establish a database connection in your report script by calling a data-source connection manager.
import com.osssoftware.reporting.database.*
def snmpDb = SqlConnectionManager.instance.retrieveSql('snmp_manager')
When you are looking to retrieve data which was gathered from using the new RDF, a similar call can be used to get a service called 'Remote Elastic Service'. This service can be used to run queries against the Elastic Search service.
RemoteElasticService remoteElasticService = RemoteElasticService.instance