    sqlquery:
        driver: sqlserver
        datasource: "host=localhost port=1433 user=splunk password=SplMon!123 sslmode=disable"
        queries:
         - sql: "SELECT datediff(mi, sqlserver_start_time, getdate()) as SQLServer_UpTime_Minutes from sys.dm_os_sys_info"
           metrics:
            - metric_name: test.uptime.minmutes
              value_column: "SQLServer_UpTime_Minutes"
			  
			  
    sqlquery:
        driver: sqlserver
        datasource: "host=localhost port=1433 user=splunk password=SplMon!123 sslmode=disable"
        queries:
         - sql: "SELECT @@servername as ServerName, datediff(mi, sqlserver_start_time, getdate()) as SQLServer_UpTime_Minutes from sys.dm_os_sys_info"
           metrics:
            - metric_name: test.uptime.minutes
              value_column: "SQLServer_UpTime_Minutes"
              attribute_columns: ["ServerName"]			  