User Tools

Site Tools


Writing /app/www/public/data/meta/toolsandtechnologies/reporting.meta failed
toolsandtechnologies:reporting

Reporting Manager and Elastic Search

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
toolsandtechnologies/reporting.txt · Last modified: 2021/06/25 10:09 by 127.0.0.1