How Do I Check the Log Usage in My Account?

How do I check for and reduce unwanted log usage in my account?

Log Usage Summary

The Log Usage Summary refers to the total space consumed by AppLogs in Site24x7. You can check the:

  • Total log Usage.

  • Daily Usage (represented with dates).

  • Daily Usage by Servers (represented in gigabytes).

  • Daily Usage by Log Types (represented in gigabytes).

With the data above, you can figure out which log types or servers are consuming more space.

You can check the log usage history on the AppLogs - Log Usage Summary page (under AppLogs > Log Usage Summary). 

 



How to check for and reduce unwanted log usage by log types?

Let's consider Windows Event Log as an example since it consumes more space. To identify the events that have consumed the most space, enter the queries below in the AppLogs - Search page (under AppLogs): 

  • To find which type has the highest log count and consumes the most log space:

            logtype="Windows Event Logs" groupby type

  • To find which event ID has the highest log count and consumes the most log space:

            logtype="Windows Event Logs" groupby eventid

  • To find the monitors of the event ID that consumes the most log space:

            logtype="Windows Event Logs" groupby eventid,monitor_name

Filtering out the logs 

If you find that some unwanted event logs are consuming more space, then you can filter them out. You can filter out Windows event logs on the agent side before uploading logs to Site24x7. You can configure the settings to eliminate the unwanted event IDs so that you can skip them while uploading logs. You can set this field configuration while adding or editing a log type.

Here are the steps to filter out the logs: 

1. Go to Admin > AppLogs > Log Types > and select the Log Type Windows Event Logs.
2. In the
Sample Output section, hover over the field name EventID to find and click the 
 icon. You'll be able to view the EventId - Field Configurations pop-up.
3. Define the unwanted event IDs under the Filter Log Lines 
at Source section. To accomplish this, complete both of the actions below:
  • Select Log Line only if this Field: Select Doesn't Match to filter out unwanted event IDs.

  • Any of these Values: Enter the event IDs that you don't want to upload.

4. Click Apply.

Related article

  1. Log Usage Summary