Introduction

Enzo Server
  Installation
  Quick Start
  Core Features
    Async Calls
    ConnectionStrings
    Edge Cache
    HTTP Access
    Scheduling
    Views
  Advanced Capabilities
    Change Data Capture
  Administration
    Configuration Settings
    Logins & ACL
    Auditing
    Current Executions
    Linked Server
    SSL

  User Guides
     Sharding
     Sharding Overview

     SharePoint

   Adapters
    All Adapters


  SDK
    Overview
    Installation
    DevHost
    Create A Simple Adapter
    Best Practices
    Developer Guide
      Handler Columns
      Handler Options
      Handler Decorators
      Dynamic Columns
      Table & Table Enumerators
      Virtual Tables



Loggly Adapter








This adapter allows you to access the Loggly logging service from SQL Server and REST commands


This adapter requires a subscription to the online Loggly service



Configuration Settings



Name Description Default
Boolean _isDefault Make this the default configuration. Defaults to true if configName is already the default.
String customerToken Your Loggly customer token
String url Overrides the default Loggly URL (http://logs-01.loggly.com/inputs/) http://logs-01.loggly.com/inputs/

Handlers



Log
Sends a text message into the log and automatically adds the current timestamp details 

Arguments

Name Description Default
message R The text message to log
severity The severity of the message (INFO, ERROR, DEBUG, WARNING) INFO
deviceId The device Id that is sending the message
facility The application name that is sending the message
timestamp The client timestamp (leave null for server time)
tags A comma-separated list of tags to add to the log

SQL Call

exec Loggly.Log 'This is a text message to log'
INSERT INTO Log (message) VALUES ('This is a message to log')


Http Call

/bsc/loggly/log

Output Columns

This call does not return data.

LogDebug
Sends a text message into the log as a debug log and automatically adds the current timestamp details 

Arguments

Name Description Default
message R The text message to log
deviceId The device Id that is sending the message
facility The application name that is sending the message
timestamp The client timestamp (leave null for server time)
tags A comma-separated list of tags to add to the log

SQL Call

exec Loggly.LogDebug 'This is a text message to log'
INSERT INTO LogDebug (message) VALUES ('This is a message to log')


Http Call

/bsc/loggly/logdebug

Output Columns

This call does not return data.

LogError
Sends a text message into the log as an error log and automatically adds the current timestamp details 

Arguments

Name Description Default
message R The text message to log
deviceId The device Id that is sending the message
facility The application name that is sending the message
timestamp The client timestamp (leave null for server time)
tags A comma-separated list of tags to add to the log

SQL Call

exec Loggly.LogError 'This is a text message to log'
INSERT INTO LogError (message) VALUES ('This is a message to log')


Http Call

/bsc/loggly/logerror

Output Columns

This call does not return data.

LogInfo
Sends a text message into the log as an information log and automatically adds the current timestamp details 

Arguments

Name Description Default
message R The text message to log
deviceId The device Id that is sending the message
facility The application name that is sending the message
timestamp The client timestamp (leave null for server time)
tags A comma-separated list of tags to add to the log

SQL Call

exec Loggly.LogInfo 'This is a text message to log'
INSERT INTO LogInfo (message) VALUES ('This is a message to log')


Http Call

/bsc/loggly/loginfo

Output Columns

This call does not return data.

LogJson
Sends a JSON document into the log as-is details 

Arguments

Name Description Default
message R The JSON message to log
tags A comma-separated list of tags to add to the log

SQL Call

exec Loggly.LogJson '{"boom":"box","bar":"soap","severity":"INFO","datetime":"2015-11-01 17:05:27 -0700","progname":null,"pid":99416}'
INSERT INTO LogJson (message) VALUES ('{"boom":"box","bar":"soap","severity":"INFO","datetime":"2015-11-01 17:05:27 -0700","progname":null,"pid":99416}')


Http Call

/bsc/loggly/logjson

Output Columns

This call does not return data.

LogWarning
Sends a text message into the log as a warning log and automatically adds the current timestamp details 

Arguments

Name Description Default
message R The text message to log
deviceId The device Id that is sending the message
facility The application name that is sending the message
timestamp The client timestamp (leave null for server time)
tags A comma-separated list of tags to add to the log

SQL Call

exec Loggly.LogWarning 'This is a text message to log'
INSERT INTO LogWarning (message) VALUES ('This is a message to log')


Http Call

/bsc/loggly/logwarning

Output Columns

This call does not return data.