Search Events

What's Loggly: Loggly is an online log management and analytics tool that lets you track the events of your system.

About ‘Search Events' action: This action fetches all the events created in the specified timeframe and returns the ID of the result for fetch operation as an output. This ID can then be used in the 'Get Search Results by Event' action to retrieve the details of the fetched events.  

Connect to Loggly: Select the appropriate connection for Loggly from the drop-down list. If you haven’t created a connection yet, select ‘Add New’ to create one. 

Field data

Search Date Type (Mandatory): Select the format of the date by which you wish to search the events. Available options are 'Absolute Date' and 'Relative Timeframe'. By default, the value for this field is set to 'Absolute Date'. 

   Absolute Date: This section accepts date and time in ISO format. 

      Start Date and Time (Optional): Enter the start date and time on which the event was created in ISO format. For example: '2016-11-21T09:59:58.910Z'. 

      End Date and Time (Optional): Enter the end date and time on which the event was created in ISO format. For example: '2016-11-21T09:59:58.910Z'.

   Relative Timeframe: Select the relative timeframe in which the event was created from the drop down list. 

Query (Optional): Enter the search query to retrieve a specific event from the drop down list. 

Order (Optional): Select the order in which you wish to retrieve the events. Available options are 'Ascending' and 'Descending'. By default, the value for this field is set to 'Descending'. 

Size (Optional): Enter the number of events you wish to retrieve in a result.

Once you have entered the details, click on 'Done' and 'Run' the workflow. This will fetch all the events created in the specified timeframe and will return the ID of the result as an output. 

Refer to API documentation for more information: https://www.loggly.com/docs/http-endpoint/

Output:
  • output-arrow loggly-128 Search Events
    • left-triangle total_events number
    • left-triangle page number
    • left-triangle events array
      • left-triangle id string
      • left-triangle tags array
      • left-triangle timestamp number
      • left-triangle logmsg string
      • left-triangle event object
      • left-triangle logtypes array