Log data service in a virtual environment
First Claim
1. A method of implementing a log data service in a multi-tenant environment operated by a compute service provider, comprising:
- receiving log data including a plurality of events and/or messages from a virtual machine in the multi-tenant environment, wherein the received log data is from the virtual machine executing an application and an operating system and the application transmits the log data directly to a log data service;
using a service of the compute service provider, searching through the log data to determine which of the plurality of events and/or messages are associated with at least one predetermined pattern based on a policy document provided by a customer;
transforming the log data based on a schema provided in the policy document that defines how to transform the log data into metric data in correspondence with the predetermined pattern using results of the search, the transforming including matching the predetermined pattern in the log data and using the matching to generate the metric data;
transmitting the metric data to a service that allows the metric data to be monitored; and
storing the log data in association with the customer account in the log data service.
1 Assignment
0 Petitions
Accused Products
Abstract
A log data service in a virtual environment that allows customers of a compute service provider to access system, application and custom log files associated with virtual machine instances that are executing. In some embodiments, log data can be received that includes events or messages from virtual machines in a multi-tenant environment. The log data can be transformed into metric data, which can be used by the customer to generate statistics, view graphs, and generally monitor the customer'"'"'s virtual machine instances. The log data can also be stored as a service so that the customer has a central repository for which to access the log data.
-
Citations
21 Claims
-
1. A method of implementing a log data service in a multi-tenant environment operated by a compute service provider, comprising:
-
receiving log data including a plurality of events and/or messages from a virtual machine in the multi-tenant environment, wherein the received log data is from the virtual machine executing an application and an operating system and the application transmits the log data directly to a log data service; using a service of the compute service provider, searching through the log data to determine which of the plurality of events and/or messages are associated with at least one predetermined pattern based on a policy document provided by a customer; transforming the log data based on a schema provided in the policy document that defines how to transform the log data into metric data in correspondence with the predetermined pattern using results of the search, the transforming including matching the predetermined pattern in the log data and using the matching to generate the metric data; transmitting the metric data to a service that allows the metric data to be monitored; and storing the log data in association with the customer account in the log data service. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-readable storage for implementing a log data service operated by a compute service provider, comprising:
-
at a service of the compute service provider, receiving log data from a device, wherein the device includes a virtual machine instance running an application and an operating system, and wherein the application generates the log data and periodically transforms it into a format needed for an Application Program Interface (API) communication; using the compute service provider, searching the log data, received from the application, for a predetermined pattern and matching the predetermined pattern to one or more entries in the log data, the predetermined pattern being provided by a policy document associated with a customer of the compute service environment and stored in a customer account of the compute service provider; selectively transforming the log data based on a schema provided in the policy document to at least one metric using the predetermined patterns, wherein the transforming is accomplished based on the policy; transmitting the at least one metric to a service in the compute service provider that allows metrics to be monitored; and storing the log data within the compute service provider so that the log data is accessible to customers. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A system for accessing log data in a multi-tenant environment, comprising:
-
a plurality of host server computers coupled together through a network to form the multi-tenant environment, at least a portion of the host server computers for executing a plurality of virtual machines associated with a customer account including a policy document specified by a customer, the policy document including a schema defining how to transform log data into metric data, wherein at least one of the plurality of virtual machines includes an application executing using support of an operating system on a first virtual machine and the application periodically reformats the log data and transmits the log data as a data stream to a log data service executing within the operating system, wherein the log data service stores the log data in association with the customer; the log data service for receiving a plurality of log data streams from the virtual machines including the data stream from the first virtual machine and grouping the log data streams based on type, wherein the log data service selectively converts the log data streams into metrics based on the policy document using a schema stored in the customer account, wherein the policy document includes one or more patterns to match in the log data streams and defines how to perform the conversion and wherein the log data service is for transmitting the metrics so as to allow the metrics to be monitored by the customer; and a database coupled to the log data service for storing the log data streams in association with the grouping and in association with the customer account. - View Dependent Claims (21)
-
Specification