Generic ✓ fields verified against sample logs

Generic CSV Log Format: Field Reference and Example Records

Published

One row per record in an exported table — an API request, a new account, an authentication attempt — with no vendor schema behind it, so the header row is the only thing that says what the columns mean.

Sample record

timestamp,ip_address,http_method,path,status_code,user_agent,user_principal_name
2026-06-07T09:00:00Z,10.10.1.50,GET,/api/v1/dashboard,200,Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36,[email protected]
2026-06-07T09:00:05Z,10.10.1.50,GET,/api/v1/users/me,200,Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36,[email protected]
2026-06-07T09:00:30Z,10.10.1.51,POST,/api/v1/auth/login,200,Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7),[email protected]
2026-06-07T09:01:00Z,10.10.1.51,GET,/api/v1/tasks,200,Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7),[email protected]

From the LogTriage parser test corpus — synthetic data, no real hosts or users.

Explain this record field by field →

Field reference

Field Type Meaning Why it matters for security
timestampe.g. 2026-06-07T09:00:00Z datetime string When the request was recorded, written here as ISO 8601 with a trailing Z for UTC. The axis for everything else — rate, burst detection and correlation with other sources all depend on parsing it correctly.
ip_addresse.g. 10.10.1.50 IPv4/IPv6 string Source address the request came from. Group by this column to separate one noisy client from a distributed pattern; private ranges point at internal clients or an egress proxy.
http_methode.g. GET string HTTP verb of the request. Bulk reads show up as long runs of GET; POST, PUT and DELETE on data endpoints are state changes worth reviewing.
pathe.g. /api/v1/export/users string Request path, including the query string when the exporter kept it. Export, search and listing endpoints with paging or limit parameters are the targets of scraping.
status_codee.g. 200 integer HTTP response status returned to the client. Hundreds of 200s to data endpoints from one address means the scraping worked; runs of 401/403 mean it did not.
user_agente.g. python-requests/2.28.0 string User-Agent header sent by the client. Library and tool agents on endpoints that should only see browsers are the cheapest automation signal in the file.
user_principal_namee.g. [email protected] string Authenticated account for the request; empty when the request carried no identity. An empty identity column on endpoints that return user or account data is an authorization problem as well as a scraping one.
ip IPv4/IPv6 string Source address under a different column name, used by the exporter that produced the validation sample. Normalize ip and ip_address to one field name before you join exports, or half your events will not match.
statuse.g. 200 integer Response status in exports that shorten the column name. Same meaning as status_code; a query written against one name silently returns nothing against the other.
usere.g. ti-test-user string Account or identifier associated with the request in that export. Short identity columns rarely carry a domain, so matching them to directory accounts needs a lookup.
emaile.g. [email protected] string Address a signup record was created with. Many addresses sharing one local part before a plus tag are subaddressed aliases from one mailbox — the signature of a signup farm.
signup_datee.g. 2026-10-12 date Calendar day the account was created. Useful for daily counts, but too coarse to see bursts; use the full creation timestamp for that.
login_counte.g. 0 integer Number of logins recorded for the account. Accounts created in bulk that never log in, or log in once, are abuse signups rather than customers.
created_ate.g. 2026-10-12 09:02:00.5219247 datetime string Full creation time, here with a space separator, seven sub-second digits and no timezone marker. Sorting by this column exposes registrations arriving seconds apart, which daily counts hide.
last_login_ate.g. 2026-10-12 17:58:00.2293666 datetime string Most recent login time for the account. A last login seconds after creation, then nothing, is throwaway-account behaviour.

Have one of your own records? Paste it into the log line explainer and each field is explained from this table, with times, codes and addresses decoded — in your browser.

What it records

Generic CSV is not a product’s log format. It is the shape data takes when someone exports a table: one line per record, fields separated by commas, normally a header row naming the columns. What a row means is decided entirely by those names.

The samples on this page cover the two cases that turn up most often in an investigation. The API exports hold one HTTP request per row — timestamp, ip_address, http_method, path, status_code, user_agent, user_principal_name — the same facts a web server log carries, flattened into columns. The signup exports hold one account per row — email, signup_date, login_count, created_at, last_login_at — a slice of an application’s user table rather than an event stream. The validation sample shows the third case: the same request data as the first, under different column names (ip, status, user) and with an absolute URL in path instead of a relative one.

Treat the header as the only contract. Nothing else in the file tells you whether a column is UTC, whether an empty cell means “none” or “not collected”, or whether two files with the same column name hold the same kind of value.

Where to get it

  • Database and reporting queries — COPY ... TO ... CSV in PostgreSQL, SELECT ... INTO OUTFILE in MySQL, or a scheduled report an application team runs against the user, order or audit table.
  • Export buttons in SaaS admin consoles, identity providers, API gateways and ticketing systems, when no API or log pipeline is available during the case.
  • SIEM and spreadsheet exports, where an analyst has already filtered a larger set down to the rows in question.
  • Conversions, where a script has turned JSON or a web server log into columns. If you can still reach the original — for example the nginx access log the CSV was built from — prefer it, because conversion is where fields get dropped.

Parsing pitfalls

  • Missing header. The malicious signup sample begins at the first data row. Supplying the names yourself is the only way to read it without losing a record.
  • Same meaning, different names. ip and ip_address, status and status_code, user and user_principal_name appear across these files. Normalize before correlating, or a query matches only half your data.
  • Timestamp shapes. 2026-06-07T09:00:00Z and 2026-10-12 09:02:00.5219247 both appear; the second has no timezone and seven fractional digits, which several parsers truncate or reject.
  • Empty cells. Unauthenticated requests and the kube-probe/1.28 health check leave user_principal_name empty. That is a value, not a broken row — do not drop it.
  • Quoting. User agents, free-text fields and names routinely contain commas, so real exports need RFC 4180 quoting. Split on commas naively and those rows shift by a column.
  • Spreadsheet damage. Opening a CSV in a spreadsheet can reformat dates, drop sub-second precision and mangle long numeric identifiers. Parse the file, do not re-save it.
  • Same column, different value form. path is /api/v1/dashboard in one export and https://github.com/ in another.

Detection ideas

  • API scraping: one ip_address, a library user_agent such as python-requests/2.28.0, an empty user_principal_name, and a sequence of listing, paging and /export/ paths returning 200 at machine speed — the basis of the generic CSV API scraping rule.
  • Enumeration by parameter: repeated requests to one path with only a page, limit or table parameter changing.
  • Signup farms: many email values sharing one local part before a + tag, created seconds apart in created_at, with login_count of 0 or 1 and a last_login_at minutes after creation.
  • Off-hours bursts: a dense block of requests at a time when the benign baseline for the same endpoints is quiet.
  • Authorization gaps: 200 responses on account or export endpoints where the identity column is empty.

The free browser analyzer reads CSV exports like these in the browser.

Sending Generic CSV to an LLM

One megabyte of this format is about 604,154 tokens on current Claude models and 474,254 on GPT models, measured with the models' own tokenizers — so a gigabyte sent raw to Claude Sonnet 5.5 costs about $1,208 in input tokens alone (prices of 2026-10-24). Estimate your own volume →

Detections and guides for Generic CSV

Frequently Asked Questions

What counts as a generic CSV log?
Any comma-separated export that does not follow a published vendor schema — a database query written to a file, a Download CSV button in an admin console, a report produced by an application team. The structure is a header row plus one record per line, and the column names are the only documentation you get.
My export has no header row. How do I use it?
Recover the column order from the system that produced it, or from a sibling export of the same table that does have a header, then supply the names yourself. The malicious signup sample on this page starts straight at the data, so a parser that assumes row one is a header both loses a record and names every column after one account's values.
Which columns does an investigation actually need?
A time, an actor and an outcome. For web and API exports that is a timestamp, a source address or account, the path and the status; for account exports it is the creation time, the identifier and some measure of use such as a login count. Anything beyond those three roles is context you can add later.
How should I handle the different timestamp formats in one case?
Convert everything to UTC at parse time and keep the original string in a separate column. These samples alone mix ISO 8601 with a Z suffix and a space-separated form with seven fractional digits and no timezone, so comparing them as text produces the wrong order and the wrong gaps between events.

Analyze a Generic CSV file in your browser

The free analyzer detects this format, parses every field above and flags attack patterns — the file never leaves your machine. For threat-intel enrichment and an AI-written incident report, run it through LogTriage.

Investigating something right now? LogTriage checks every address in the file against threat intelligence and writes the incident report: 10 analyses a month free. The incident pack adds the in-depth AI analysis and files up to 100 MB: 25 analyses for $19, one payment, no subscription. Pricing

How this page was made. The official definitions, field names and examples on it are copied by script from the sources it links and re-checked against them on every build. The investigation advice was drafted with AI from those sources and passed a separate review before publishing. What is checked, and how · found a mistake? [email protected]