mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
20 lines
520 B
Plaintext
20 lines
520 B
Plaintext
|
# Datadog Logs
|
||
|
|
||
|
>[Datadog](https://www.datadoghq.com/) is a monitoring and analytics platform for cloud-scale applications.
|
||
|
|
||
|
## Installation and Setup
|
||
|
|
||
|
```bash
|
||
|
pip install datadog_api_client
|
||
|
```
|
||
|
|
||
|
We must initialize the loader with the Datadog API key and APP key, and we need to set up the query to extract the desired logs.
|
||
|
|
||
|
## Document Loader
|
||
|
|
||
|
See a [usage example](/docs/modules/data_connection/document_loaders/integrations/datadog_logs.html).
|
||
|
|
||
|
```python
|
||
|
from langchain.document_loaders import DatadogLogsLoader
|
||
|
```
|