/cw-logs-insights-gpt

Chrome extension that generates CloudWatch Logs Insights queries from ChatGPT prompts

Primary LanguageJavaScriptMIT LicenseMIT

CloudWatch Logs Insights ChatGPT

Features

  • Chrome extension that generates CloudWatch Logs Insights queries from ChatGPT prompts
  • Simply start typing inside double quotes (") and you'll see a 'Convert to query' button.

Demo

Install

  • Go to OpenAI and create an API key
  • Clone this repo
  • Create file src/apiKey.js with the following content
  export const apiKey = '<your openai api key>';
  • run npm install && npm run build
  • Open chrome://extensions
  • Enable the "Developer mode" toggle
  • Click on the "Load unpacked" button
  • Select the folder <project_root>/build

This project was bootstrapped with Chrome Extension CLI