# sample_logs.txt — Sample AI system log lines containing sensitive data.
# Each section starts with "## <category>". Each non-comment, non-blank line is one log entry.
# Source: fictional / synthetic log data — no real systems or individuals represented.

## LLM API Gateway — Auth Logs
2024-11-15T09:12:34Z INFO  POST /v1/chat/completions 200 user=alice.henderson@bigcorp.io key=sk-prod-xK9mL2nP8qRt4vWz6yAb3cDe7fGh1iJk latency=2341ms tokens=847
2024-11-15T09:13:01Z INFO  POST /v1/chat/completions 200 user=james.whitfield@acme.com key=sk-test-7Yt3aB9cXdEfGhIjKlMnOpQrStUvWxYz latency=1892ms tokens=512
2024-11-15T09:14:22Z WARN  POST /v1/chat/completions 401 Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiYWRtaW4ifQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
2024-11-15T09:15:45Z ERROR POST /api/admin/users 403 attempted by ip=192.168.1.47 session=sess-8a7b6c5d-4e3f-2a1b-9c8d-7e6f5a4b3c2d

## RAG Pipeline — Context Injection Logs
2024-11-15T10:02:11Z INFO  rag.inject context_length=2048 user_query="What is my SSN status?" injected_docs=["hr_record_RJT", "benefits_guide"] user=r.thornton@meridiantech.com
2024-11-15T10:02:11Z DEBUG rag.context raw_context="Employee: Robert J. Thornton | SSN: 548-22-9173 | DOB: 07/22/1967 | Salary: $112,000 | Address: 800 N Michigan Ave Chicago IL"
2024-11-15T10:02:14Z INFO  llm.response model=qwen2.5:1.5b tokens_in=1843 tokens_out=312 latency=4521ms response_excerpt="I can see your record for Robert J. Thornton, SSN 548-22-9173..."

## Application Error Trace
2024-11-15T11:30:05Z ERROR db.connection Failed to connect: postgresql://admin:S3cur3P@ssw0rd!@db.internal:5432/hr_prod
2024-11-15T11:30:05Z ERROR config.load Invalid API key in environment: OPENAI_API_KEY=sk-aBcDeFgHiJkLmNoPqRsTuVwXyZ1234567890aBcD
2024-11-15T11:30:06Z ERROR auth.validate JWT validation failed for token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJVU1ItNDQwMSIsImVtYWlsIjoicC5uZ3V5ZW5AYWNtZS5jb20ifQ.signature
2024-11-15T11:30:07Z INFO  auth.fallback Using backup credentials password=BackupPass2024! for service account svc-llm-prod@company.internal

## User Prompt Log (AI Chatbot)
2024-11-15T13:45:22Z INFO  chat.receive session=session_id=sess-f3a2b1c0-e5d4-6789-abcd user_message="Hi, my name is Patricia Nguyen, SSN 201-46-8832. I need help with my 401k enrollment. My address is 333 Commerce Blvd Dallas TX. My phone is 214-555-9012."
2024-11-15T13:45:23Z INFO  chat.receive session=sess-f3a2b1c0-e5d4-6789-abcd user_message="Also my Visa credit card 4532015112834980 expires 03/27 for the FSA auto-pay setup."
2024-11-15T13:45:45Z INFO  chat.send session=sess-f3a2b1c0-e5d4-6789-abcd model_response="Hello Patricia! I can help with 401k enrollment. For Patricia Nguyen at 333 Commerce Blvd..."

## Infrastructure / Network Logs
2024-11-15T14:10:01Z INFO  lb.request src=10.0.1.52 dst=172.16.8.100 port=443 user_agent="curl/7.88.1" x-forwarded-for=203.0.113.45
2024-11-15T14:10:02Z INFO  vector.db query=embedding_search ip=192.168.0.201 api_key=chroma-api-key-PROD-f8a2b9c1d3e4f5a6b7c8d9e0 collection=employee_records
2024-11-15T14:10:03Z DEBUG aws.s3 Uploading logs to s3://secai-prod-logs/2024/11/15/ AWS_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE AWS_SECRET=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
