API Traffic Data Collection and Preprocessing

implementationChallengeNovember 27, 2025

Prompt Content

Set up a mechanism to collect detailed logs from your API Gateway, including request headers, body, IP addresses, user-agent strings, and timestamps. Design a data pipeline to stream these logs into a Kafka topic or a similar message queue. Implement a data preprocessing service that cleans, normalizes, and extracts relevant features from these raw logs, preparing them for machine learning analysis.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations