Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

IBM-Cloud/logdna-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use Activity Tracker with LogDNA to analyze account activity

This repository contains sample Python code that demonstrates the use of IBM Cloud Actvity Tracker with LogDNA. It includes the following tools:

  • LogSearch: The Python script in this directory uses the LogDNA export API to search and extract activity logs.
  • KeyTracker: Based on LogSearch functionality, this small tool first obtains lists of active IBM Cloud platform API keys and API keys for service IDs, then searches LogDNA for the API key usage. If found, the number of log lines and the timestamp of the most recent usage are returned in a JSON-based report.

License

See LICENSE for license information.

The tool is provided on a "as-is" basis and is un-supported. Use with care...

Contribute

To contribute, please open a Pull Request.