| java.lang.Object | |
| ↳ | org.mule.modules.loggly.LogglyRetrieveConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Logger Retrieve Module
CRUD of input and logging devices, retrieve and search previously logged messages from Loggly.| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | BASE_URL | ||||||||||
| int | TIMEOUT | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| httpClient | REST Http Client | ||||||||||
| objectMapper | |||||||||||
| password | Loggly Password | ||||||||||
| subdomain | Logging Subdomain | ||||||||||
| username | Loggly Username | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add the current machine as a device to an existing input
| |||||||||||
Add the current machine with Syslog 514 UDP as a device to an existing input
| |||||||||||
Adds a device to an input
| |||||||||||
Create an input
| |||||||||||
Deletes a Device from an Input
| |||||||||||
Deletes a Device (identified by an IP address) from an Input
| |||||||||||
Get a device by id
| |||||||||||
Get all the Devices
| |||||||||||
Disables discovery mode on the device
| |||||||||||
Puts the Input in discovery mode
| |||||||||||
Provides faceted results from an account on either date, ip, or input fields.
| |||||||||||
Fetch an input for an account using its id.
| |||||||||||
Fetch an input for an account using its name.
| |||||||||||
Fetch all the inputs associated with the account.
| |||||||||||
Remove Device from Input
| |||||||||||
Searches for a log message.
| |||||||||||
Transform JSON to Device
| |||||||||||
Transform JSON to collection of Devices
| |||||||||||
Transform JSON to a Facet Search result
| |||||||||||
Transform JSON to Input
| |||||||||||
Transform JSON to collection of Inputs
| |||||||||||
Transform JSON to Result Set
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
REST Http Client
Loggly Password
Logging Subdomain
Loggly Username
Add the current machine as a device to an existing input
| id | Input ID |
|---|
| Exception | error while doing the request and receiving the response |
|---|
Add the current machine with Syslog 514 UDP as a device to an existing input
| id | Device ID |
|---|
| Exception | error while doing the request and receiving the response |
|---|
Adds a device to an input
| id | Input ID where to attach the device |
|---|---|
| ip | IP Address of the device |
| deviceName | Name of the device |
| Exception | error while doing the request and receiving the response |
|---|
Create an input
| inputName | Name |
|---|---|
| description | Description |
| service | Service to use |
| Exception | error while doing the request and receiving the response |
|---|
Deletes a Device from an Input
| id | Device ID to remove |
|---|
| Exception | error while doing the request and receiving the response |
|---|
Deletes a Device (identified by an IP address) from an Input
| ip | IP Address of the Device to remove |
|---|
| Exception | error while doing the request and receiving the response |
|---|
Get a device by id
| id | Device to retrieve |
|---|
| Exception | error while doing the request and receiving the response |
|---|
Get all the Devices
| Exception | error while doing the request and receiving the response |
|---|
Disables discovery mode on the device
| id | Device ID |
|---|
| Exception | error while doing the request and receiving the response |
|---|
Puts the Input in discovery mode
| id | Device ID |
|---|
| Exception | error while doing the request and receiving the response |
|---|
Provides faceted results from an account on either date, ip, or input fields. Facets return counts of events over a time range.
| query | String to search in logs. |
|---|---|
| facetType | Facet type to use. |
| buckets | Number of buckets the results are split into for a given time range. Defaults to 50. |
| gap | Set the gap time between buckets. Defaults to +1HOUR |
| from | Start time for the search. Defaults to NOW-1HOUR. |
| until | End time for the search. Defaults to NOW. |
| Exception | error while doing the request and receiving the response |
|---|
Fetch an input for an account using its id. Without id
| id | Id of the input |
|---|
| Exception | error while doing the request and receiving the response |
|---|
Fetch an input for an account using its name.
| inputName | Name of the input |
|---|
| Exception | error while doing the request and receiving the response |
|---|
Fetch all the inputs associated with the account.
| Exception | error while doing the request and receiving the response |
|---|
Remove Device from Input
| id | Device ID |
|---|
| Exception | error while doing the request and receiving the response |
|---|
Searches for a log message.
| query | String to search in logs. |
|---|---|
| rows | Number of rows returned by search. Defaults to 10, maximum of 2000. |
| start | Offset for starting row. Defaults to 0. |
| from | Start time for the search. Defaults to NOW-24HOURS. |
| until | End time for the search. Defaults to NOW. |
| order | Direction of results returned, either 'asc' or 'desc'. Defaults to 'desc'. |
| Exception | error while doing the request and receiving the response |
|---|
| password |
|---|
| subdomain |
|---|
| username |
|---|
Transform JSON to Device
| json | JSON string to transform |
|---|
| IOException | if the conversion fails |
|---|
Transform JSON to collection of Devices
| json | JSON string to transform |
|---|
| IOException | if the conversion fails |
|---|
Transform JSON to a Facet Search result
| json | JSON string to transform |
|---|
| IOException | if the conversion fails |
|---|
Transform JSON to Input
| json | JSON string to transform |
|---|
| IOException | if the conversion fails |
|---|
Transform JSON to collection of Inputs
| json | JSON string to transform |
|---|
| IOException | if the conversion fails |
|---|
Transform JSON to Result Set
| json | JSON string to transform |
|---|
LogglyResultSet object| IOException | if the conversion fails |
|---|
| json |
|---|
| IOException |
|---|