Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apachedex
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
apachedex
Commits
0aa68c8d
Commit
0aa68c8d
authored
Apr 11, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add line continuations when commands are word-wrapped.
parent
cf79c7b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
README
README
+10
-10
No files found.
README
View file @
0aa68c8d
...
@@ -127,7 +127,7 @@ A log file with a site section to ignore. Order does not matter::
...
@@ -127,7 +127,7 @@ A log file with a site section to ignore. Order does not matter::
A mix of both above examples. Order matters !::
A mix of both above examples. Order matters !::
apachedex --skip-base "/site1/ignored(/|$|\?)"
apachedex --skip-base "/site1/ignored(/|$|\?)"
\
--base "/site1(/|$|\?)" "/site2(/|$|\?)"
--base "/site1(/|$|\?)" "/site2(/|$|\?)"
Matching non-ASCII urls works by using urlencoded strings::
Matching non-ASCII urls works by using urlencoded strings::
...
@@ -137,12 +137,12 @@ Matching non-ASCII urls works by using urlencoded strings::
...
@@ -137,12 +137,12 @@ Matching non-ASCII urls works by using urlencoded strings::
Naming websites so that report looks less intimidating, by interleaving
Naming websites so that report looks less intimidating, by interleaving
"+"-prefixed titles with regexes (title must be just before regex)::
"+"-prefixed titles with regexes (title must be just before regex)::
apachedex --default "Public website" --base "+Back office"
apachedex --default "Public website" --base "+Back office"
\
"/backoffice(/|$|\\?)" "+User access" "/secure(/|$|\\?)" access.log
"/backoffice(/|$|\\?)" "+User access" "/secure(/|$|\\?)" access.log
Saving the result of an analysis for faster reuse::
Saving the result of an analysis for faster reuse::
apachedex --default foo --format json --out save_state.json --period day
apachedex --default foo --format json --out save_state.json --period day
\
access.log
access.log
Although not required, it is strongly advised to provide `--period` argument,
Although not required, it is strongly advised to provide `--period` argument,
...
@@ -152,13 +152,13 @@ converted to a larger period.
...
@@ -152,13 +152,13 @@ converted to a larger period.
Continuing a saved analysis, updating collected data::
Continuing a saved analysis, updating collected data::
apachedex --default foo --format json --state-file save_state.json
apachedex --default foo --format json --state-file save_state.json
\
--out save_state.json --period day access.2.log
--out save_state.json --period day access.2.log
Generating HTML output from two state files, aggregating their content
Generating HTML output from two state files, aggregating their content
without parsing more logs::
without parsing more logs::
apachedex --default foo --state-file save_state.json save_state.2.json
apachedex --default foo --state-file save_state.json save_state.2.json
\
--period day --out index.html
--period day --out index.html
...
@@ -184,14 +184,14 @@ directory of referencing file, or current working directory for command line.
...
@@ -184,14 +184,14 @@ directory of referencing file, or current working directory for command line.
- command line::
- command line::
apachedex --skip-base "/ignored(/|$|\?)" @foo/dev.cfg --out index.html
apachedex --skip-base "/ignored(/|$|\?)" @foo/dev.cfg --out index.html
\
access.log
access.log
This is equivalent to::
This is equivalent to::
apachedex --skip-base "/ignored(/|$|\?)" --error-detail
apachedex --skip-base "/ignored(/|$|\?)" --error-detail
\
--default Front-office --prefix "+Back office" "/back(/|$|\?)"
--default Front-office --prefix "+Back office" "/back(/|$|\?)"
\
--skip-prefix "/baz/ignored(/|$|\?)" --prefix +Something "/baz(/|$|\?)"
--skip-prefix "/baz/ignored(/|$|\?)" --prefix +Something "/baz(/|$|\?)"
\
--stats --out index.html access.log
--stats --out index.html access.log
Portability note: the use of paths containing directory elements inside
Portability note: the use of paths containing directory elements inside
...
@@ -213,7 +213,7 @@ For better performance...
...
@@ -213,7 +213,7 @@ For better performance...
adapt its data structure to analysed time range before there is too much
adapt its data structure to analysed time range before there is too much
data::
data::
apachedex [...] access.log.1.gz access.log.99.gz access.log.2.gz
apachedex [...] access.log.1.gz access.log.99.gz access.log.2.gz
\
access.log.3.gz [...] access.98.gz
access.log.3.gz [...] access.98.gz
- parse log files in parallel processes, saving analysis output and aggregating
- parse log files in parallel processes, saving analysis output and aggregating
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment