Gratis å bruke, uten konto

Analyseverktøy for tilgangslogger

Se gjennom antall forespørsler etter HTTP-status, metode og UTC-dato. Dette verktøyet leser kombinerte Apache/Nginx-tilgangslogger på denne enheten og laster ikke opp loggen.

Logger kan inneholde personlige eller konfidensielle data. Behandlingen skjer i nettleseren; sammendraget utelater IP-er, stier, brukeragenter, henvisere og opprinnelige linjer.

Støttet format: bare Apache/Nginx kombinert tilgangslogg. Maksimum 10 MiB, 100,000 linjer og 8,192 tegn per linje.

Byte bruker verdien i hver logglinje; «-» telles som null. Datoer grupperes etter UTC etter at loggført forskyvning er brukt. Dette er et sammendrag, ikke en sikkerhetsrevisjon eller trafikkmåling.

Hvordan analyserer jeg en tilgangslogg?

Lim inn en logg eller velg en lokal fil i Apache/Nginx kombinert format, og analyser den. Filtrer etter statusklasse og datointervall, og eksporter sammendraget som CSV.

Veiledning

Slik bruker du Analyseverktøy for tilgangslogger

The Log Analyzer reads a web server access log and counts requests by status code, by method and by day. You paste the text or pick a file, optionally filter by status class and date range, and get a short summary that you can download as CSV. Logs can hold personal data, so the summary leaves out IP addresses, paths, user agents and the text of bad lines. It is a count, and not a security review or a traffic report.

Slik gjør du

  1. Paste the log lines into the box, or choose a .log or .txt file. If you choose a file, it is used instead of any pasted text.
  2. Optionally pick a status class (2xx to 5xx) and a from date and to date. Dates are read as UTC days.
  3. Press Analyze log. The summary shows line counts, the matching requests, the response bytes and three tables.
  4. Press Download summary CSV to save the counts. Changing any field hides the old result until you analyze again.

Eksempler

The built-in sample

Du skriver inn
Linjer
192.0.2.10 - - [10/Oct/2026:08:10:00 +0000] "GET / HTTP/1.1" 200 125 "-" "Example browser"; 203.0.113.5 - - [11/Oct/2026:23:30:00 -0200] "GET /b HTTP/1.1" 304 -; 203.0.113.7 - - [11/Oct/2026:00:01:00 -0700] "POST /submit HTTP/1.1" 503 - "-" "Example browser"; Denne linjen støttes med vilje ikke
Filtre
none
Du får
Linjer som ikke er tomme
4
Analysert
3
Ugyldige
1
Linjenumre med feil
4
Forespørsler som samsvarer
3
Svarstørrelse i byte
175
Etter status
200: 1; 404: 1; 503: 1
Etter metode
GET: 2; POST: 1
Etter UTC-dato
2026-10-10: 2; 2026-10-11: 1

Three lines fit the combined format and one does not. The response sizes are 125 + 50 + 0, because a dash counts as zero. The last line is reported only by its number.

Kjørt med verktøyets egen kode.

Only client errors

Du skriver inn
Linjer
the same four lines
Statusklasse
4xx
Du får
Forespørsler som samsvarer
1
Svarstørrelse i byte
50
Etter status
404: 1
Etter UTC-dato
2026-10-10: 1

The filter keeps the 404 only. The parsed-lines figure still says 3, because it counts lines read, while matching requests counts lines left after the filters.

Kjørt med verktøyets egen kode.

Local days that become other UTC days

Du skriver inn
Linjer
203.0.113.5 - - [11/Oct/2026:00:30:00 +0200] "GET /a HTTP/1.1" 200 10; 203.0.113.5 - - [11/Oct/2026:23:30:00 -0200] "GET /b HTTP/1.1" 304 -
Du får
Etter UTC-dato
2026-10-10: 1; 2026-10-12: 1
Svarstørrelse i byte
10

Both lines were written on 11 October in their own time zones. After the offset is applied, 00:30 +0200 is 22:30 UTC on the 10th, and 23:30 -0200 is 01:30 UTC on the 12th.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Get a quick view of how many requests failed (4xx or 5xx) on a given day.
  • See which HTTP methods your site receives, for example a surprise number of POST requests.
  • Check that a log file parses as expected before you build a script around it.
  • Count requests per day from a small log without sending the file to an online service.

Begrensninger

  • A log can be up to 10 MiB and 100,000 lines, and each line up to 8,192 characters. Bigger logs are refused, so cut them first.
  • Lines must look like the Apache or Nginx combined layout: client, two identity fields, a bracketed date such as 10/Oct/2026:08:10:00 +0000, a quoted request, a three-digit status and a byte count. Lines that do not fit are counted as invalid and are never guessed at.
  • The report holds counts only: status, method, UTC day and total response bytes. It has no URLs, IP addresses, user agents, referrers or timings, so it cannot show slow pages, top visitors or attack patterns.
  • A request line with a space in the path, a lower-case method, or a status outside 100 to 599 makes the whole line invalid. Dates in the filter must be real calendar dates, and the start cannot come after the end.

Tips

  • Remove the lines you do not need before pasting, since access logs often mix in lines from other services.
  • Check the invalid-lines count first. A big number usually means the log uses another format.
  • Clear the box when you finish on a shared computer, because the pasted text stays in the field until you do.

Kilder

Vanlige spørsmål

Which log formats does it read?

The Apache and Nginx combined layout, which both web servers can write. In practice, lines in the older common layout, without the last two quoted fields, also parse. Other layouts, such as JSON logs or custom formats, are counted as invalid lines.

Is my log uploaded or stored?

No. The text is read and counted in the page on your device, and the code of the tool makes no network request. The pasted text sits in the box until you clear it or reload, so close the tab on a shared computer.

Does the report contain personal data?

It is designed not to. Only counts are shown or exported, and there are no IP addresses, paths, user agents, referrers or bad-line text. The log you paste still may hold personal data, and the EU treats storing IP addresses as processing personal data.

Why are some of my lines marked invalid?

They did not match the expected layout, for example a missing quote, a date in another format or a space inside the requested path. The summary gives the count and the first 20 line numbers, not the text, so you can find them in your own file.

Which time zone are the dates in?

UTC. The tool applies the offset written in each log line, such as +0200, and then groups by the resulting UTC day. The from and to filters use the same UTC days, so a request near midnight local time can fall on a different day.

What does a dash for the size mean?

In Apache logs a dash in the size field means no content was returned to the client. The tool counts it as zero when it adds up the response bytes. The total is the size the server reported for the replies, not the traffic seen on the network.

Can it find slow requests or the busiest pages?

No. The combined format does not record how long a request took, and this summary drops paths and IP addresses on purpose. For those questions you need a tool that works on your own server and keeps more of each line.

Hvordan analyserer jeg en tilgangslogg?

Lim inn en logg eller velg en lokal fil i Apache/Nginx kombinert format, og analyser den. Filtrer etter statusklasse og datointervall, og eksporter sammendraget som CSV.

Laster denne logganalysatoren opp IP-adresser eller loggdata?

Nei. Parsing og sammendrag kjøres i nettleseren din. Rapporten inneholder ikke IP-adresser, brukeragenter, henvisere, forespørselsstier eller de opprinnelige ugyldige linjene.

Hvilket loggformat støttes?

Denne versjonen støtter Apache/Nginx-linjer for kombinert tilgangslogg med dato, sitert forespørsel, tresifret status og antall svarbyte. Andre formater telles som ustøttede linjer i stedet for at formatet gjettes.

Vises ugyldige linjer i rapporten?

Rapporten oppgir antallet ugyldige eller ustøttede, ikke-tomme linjer og opptil 20 linjenumre. Den gjengir ikke teksten, som kan inneholde private data.

Rapporterer verktøyet trege forespørsler eller URL-er?

Nei. De oppgitte loggfeltet inneholder ikke nødvendigvis svartid, og dette personvernfokuserte sammendraget viser ikke forespørselsstier, spørringsstrenger, IP-er, brukeragenter eller henvisere.