{"id":27890238,"url":"https://github.com/tibcosoftware/lmi-jdbc","last_synced_at":"2025-07-27T04:37:30.421Z","repository":{"id":50114687,"uuid":"119601669","full_name":"TIBCOSoftware/lmi-jdbc","owner":"TIBCOSoftware","description":"JDBC driver for accessing data stored in LogLogic LMI","archived":false,"fork":false,"pushed_at":"2021-06-04T00:59:09.000Z","size":4100,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-14T07:46:02.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TIBCOSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-30T22:18:51.000Z","updated_at":"2024-04-14T07:46:02.183Z","dependencies_parsed_at":"2022-09-23T16:13:40.946Z","dependency_job_id":null,"html_url":"https://github.com/TIBCOSoftware/lmi-jdbc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2Flmi-jdbc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2Flmi-jdbc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2Flmi-jdbc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2Flmi-jdbc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TIBCOSoftware","download_url":"https://codeload.github.com/TIBCOSoftware/lmi-jdbc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252485598,"owners_count":21755817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-05T10:45:56.547Z","updated_at":"2025-05-05T10:45:57.210Z","avatar_url":"https://github.com/TIBCOSoftware.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JDBC Driver for TIBCO LogLogic(R) Advanced Features\n\n## Description\n\nThis JDBC driver aims at querying log data stored in LMI appliances using the same query language as the advanced search feature, while retrieving the results in a standard JDBC fashion.\n\nThe driver is self-contained in a single JAR file: lmi-jdbc-driver-1.1-single.jar that should be placed at the relevant location depending on the application using it.\n\n## Prerequisites\n\nThis driver works with LMI version 6.2.0 or greater.\n\n## Usage guide\n\nThe JDBC driver supports queries written in SQL or EQL language, in the same format as used in the advanced search feature.\n\nEvery query *MUST* include a filter criteria with a range on sys_eventTime to be accepted.\n\n### URL format and default port\nThe URL template to use for connecting to an LMI host is:\n```\njdbc:lmi:\u003chost/IP\u003e:\u003cport\u003e\n```\nDefault port is 9681\n\nParameters can be passed in the URL or programmaticaly when creating the JDBC connection object.\n\nThe example JAVA code below is for testing purpose (note the use of insecureMode to accept any certificate, and especially the self-signed certificate generated by LMI, this is not recommended for production)\n\n```java\nString url = \"jdbc:lmi://\" + hostname + \":\" + port + \"?insecureMode=true\";\nClass.forName(\"com.tibco.loglogic.lmi.jdbc.LmiJdbcDriver\");\ncon = DriverManager.getConnection( url, \"admin\", \"my password\" );\nString sql = \"SELECT s1.sys_body AS SYSBODY FROM system s1 WHERE (s1.sys_eventTime \u003e= '2017-08-29 23:26:25' AND s1.sys_eventTime \u003c= '2017-08-30 23:59:59')\\n\";\nPreparedStatement stmt = con.prepareStatement( sql );\nResultSet rs = stmt.executeQuery();\n```\n\n### Supported parameters for connection\n\nHere is the list of the options that can be passed in the connection string URL itself, or programmatically through the JDBC driver standard mechanisms.\n\n|Parameter|\tMandatory|\tDefault Value|\tComment|\n|---------|----------|---------------|---------|\n|user|\tYes|\tn/a|\tThe username of an LMI user with query privileges|\n|password|\tYes|\tn/a\t|The password|\n|networkTimeoutMillis|\tNo|\t600000|\tTimeout for all network operations (milliseconds)|\n|batchSize|\tNo|\t5000|\tSize of the batches for results retrieval|\n|queryTimeout|\tNo|\t3600|\tQuery is deleted after expiration of this time (seconds)|\n|insecureMode|\tNo|\tNo|\tWhen true, disable all security checks on the server certificate (not for production use)|\n|noHostnameVerification|\tNo|\tNo|\tWhen true, do no verify that the hostname present in the certificate is the one used in the URL.|\n|pollingTimeout|\tNo|\t3600|\tAbort query if no results retrieved within that time (seconds).|\n|acceptedCertificateFingerprints|\tNo|\tn/a|\tA string representing the list of the certificate fingerprints accepted, delimited with comas.| \n|keyStoreURL|\tNo|\tn/a|\tURL of the keystore file containing the anchors of trust|\n|keyStorePassword|\tNo|\tn/a|\tThe password of the keystore file.|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftibcosoftware%2Flmi-jdbc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftibcosoftware%2Flmi-jdbc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftibcosoftware%2Flmi-jdbc/lists"}