{"uid":"cap_5sQT9CW06BjoC1nPek6Hk","slug":"brainiac-network-intelligence-log-normalize-3d5d0ffd","name":"BRAINIAC Network Intelligence Log Normalize","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/network-intelligence/log-normalize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"asOf":{"type":"string","maxLength":40},"file":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"logs":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"source":{"type":"string","maxLength":200},"message":{"type":"string","maxLength":4000},"facility":{"type":"string","maxLength":80},"severity":{"type":"string","maxLength":40},"sourceIp":{"type":"string","maxLength":80},"destinationIp":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":10000},"text":{"type":"string","maxLength":200000},"files":{"type":"array","items":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"maxItems":20},"configs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"key":{"type":"string","maxLength":200},"path":{"type":"string","maxLength":200},"side":{"enum":["left","right","before","after","a","b"],"type":"string"},"value":{"type":"string","maxLength":4000},"source":{"type":"string","maxLength":200},"deviceId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":10000},"bgpRoutes":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"peer":{"type":"string","maxLength":80},"side":{"enum":["before","after","left","right","a","b"],"type":"string"},"asPath":{"type":"string","maxLength":500},"prefix":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"nextHop":{"type":"string","maxLength":80},"originAs":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":5000},"incidents":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"title":{"type":"string","maxLength":200},"detail":{"type":"string","maxLength":2000},"source":{"type":"string","maxLength":200},"severity":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":5000},"publicDns":{"type":"object","required":["hostname"],"properties":{"hostname":{"type":"string","maxLength":253,"minLength":1},"recordType":{"enum":["A","AAAA","CNAME","MX","TXT","NS"],"type":"string"}},"additionalProperties":false},"publicTls":{"type":"object","required":["host"],"properties":{"host":{"type":"string","maxLength":253,"minLength":1}},"additionalProperties":false},"dnsRecords":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"rcode":{"type":"string","maxLength":40},"answer":{"type":"string","maxLength":500},"source":{"type":"string","maxLength":200},"hostname":{"type":"string","maxLength":253},"resolver":{"type":"string","maxLength":80},"latencyMs":{"type":"number","maximum":1000000,"minimum":0},"recordType":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA"],"type":"string"},"expectedAnswer":{"type":"string","maxLength":500}},"additionalProperties":false},"maxItems":5000},"reputations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"ip":{"type":"string","maxLength":80},"score":{"type":"number","maximum":100,"minimum":0},"listed":{"type":"boolean"},"source":{"type":"string","maxLength":200},"category":{"type":"string","maxLength":120},"hostname":{"type":"string","maxLength":253},"listName":{"type":"string","maxLength":120},"observedAt":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":5000},"certificates":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"issuer":{"type":"string","maxLength":200},"source":{"type":"string","maxLength":200},"notAfter":{"type":"string","maxLength":40},"notBefore":{"type":"string","maxLength":40},"commonName":{"type":"string","maxLength":253},"serialNumber":{"type":"string","maxLength":120},"fingerprintSha256":{"type":"string","maxLength":120}},"additionalProperties":false},"maxItems":2000},"latencySamples":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"pathId":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"latencyMs":{"type":"number","maximum":1000000,"minimum":0}},"additionalProperties":false},"maxItems":10000},"latencyAnomalyZ":{"type":"number","maximum":10,"minimum":1},"expiryWarningDays":{"type":"number","maximum":3650,"minimum":0},"packetLossSamples":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"host":{"type":"string","maxLength":253},"lost":{"type":"number","maximum":1000000000,"minimum":0},"sent":{"type":"number","maximum":1000000000,"minimum":0},"pathId":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"lossPct":{"type":"number","maximum":100,"minimum":0}},"additionalProperties":false},"maxItems":10000},"packetLossWarnPct":{"type":"number","maximum":100,"minimum":0}}},"responseSchema":{"type":"json","example":{"items":[{"at":"2026-11-04T20:00:00.000Z","id":"L1","host":"edge-1","source":"Caller-supplied syslog","message":"link up","facility":"local0","severity":"info","sourceIp":"203.0.113.10","destinationIp":"198.51.100.20","paidReputationApiUsed":false,"privateNetworkScanned":false},{"at":"2026-11-04T20:05:00.000Z","id":"L2","host":"edge-1","source":"Caller-supplied syslog","message":"BGP session timeout","facility":"local0","severity":"error","sourceIp":"","destinationIp":"","paidReputationApiUsed":false,"privateNetworkScanned":false}],"status":"normalized","findings":[{"code":"private_source_ip","kind":"observation","detail":"Source IP is in a private/special range; it is retained from caller data only and not contacted.","subject":"L1"},{"code":"private_destination_ip","kind":"observation","detail":"Destination IP is in a private/special range; it is retained from caller data only and not contacted.","subject":"L1"}],"logCount":2,"checkedAt":"2026-11-04T21:00:00.000Z","limitations":["Network logs, latency/packet-loss samples, DNS answers, BGP routes, certificates, configs, reputation labels, and incidents are copied only from labeled fields supplied by the caller, or from optional key-free public DNS / public TLS port-443 inspection when explicitly requested.","Private, loopback, link-local, and documentation addresses are never contacted. Private networks are not scanned.","No intrusive security testing is performed and no paid reputation API is used.","IP reputation uses only caller-supplied labels/observations. Missing reputation data is not invented.","Infrastructure health reports aggregate only sections for which records were supplied or optionally fetched."],"apiKeyRequired":false,"paidProviderUsed":false,"publicDnsQueried":false,"publicTlsInspected":false,"paidReputationApiUsed":false,"privateNetworkScanned":false,"intrusiveScanPerformed":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kHZXwfqwFczlMxUUv0EOb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes heterogeneous network log data (syslog, CSV, JSON, BGP routes, configs) into a structured, enriched format with optional public DNS/TLS inspection and reputation observations","exampleAgentPrompt":"Can you normalize these syslog entries into structured fields? I have about 500 lines in CSV format from edge-1 — parse out the timestamps, host, severity, source IP, destination IP, and message, and flag anything unusual.","exampleUseCases":[{"title":"Normalize firewall syslog for SIEM ingestion","prompt":"I have a batch of raw syslog lines from our firewall in text format — can you normalize them into structured JSON with timestamps, source IPs, destination IPs, severity, and facility fields so I can feed them into our SIEM?"},{"title":"Parse mixed BGP and config logs for incident review","prompt":"We had a network incident last night. I have BGP route logs and device config snapshots in a mix of formats — can you normalize all of it into a unified structure and flag any observations or anomalies like private IPs or mismatched fields?"},{"title":"Structure CSV network logs with reputation observations","prompt":"Here's a CSV export of network events from our edge router — can you normalize the log entries, extract source and destination IPs, and note any reputation-related observations based on what's in the data?"}],"resultDescription":"Returns a JSON object with an `items` array of normalized log entries (each with at, id, host, source, message, facility, severity, sourceIp, destinationIp, and boolean inspection flags), a `findings` array of coded observations (e.g. private IP ranges, anomalies), overall status, log count, checkedAt timestamp, a limitations list, and boolean flags indicating whether paid reputation APIs, public DNS, public TLS inspection, or intrusive scans were used.","failureModes":["Input exceeds maximum size limits (200,000 chars for text/csv/json, 10,000 log array items)","Malformed base64 file encoding causes parsing failure","Unsupported media type for file upload","Missing required fileBase64 field when submitting file object","Payment not provided or insufficient USDC on Base via x402","Ambiguous or unparseable log format returns empty items with status indicating normalization failure"],"whenToPreferThis":"Choose this endpoint when you need to normalize, parse, and structure raw or heterogeneous network log data (syslog, CSV, JSON, BGP routes, device configs) into a consistent schema with enriched metadata. It is especially useful when you want observations about IP reputation (from caller-supplied data), private network flags, and optional public DNS/TLS inspection without requiring an account or API key — just a one-time $0.03 USDC payment on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:41.564Z","isFirstParty":false,"canonicalSlug":"brainiac-network-intelligence-log-normalize-3d5d0ffd"}