Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
9de59a05
Commit
9de59a05
authored
Jul 06, 2015
by
Lasse Karstensen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the documented JSON output format.
parent
1625f9c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
varnishstat.rst
doc/sphinx/reference/varnishstat.rst
+12
-2
No files found.
doc/sphinx/reference/varnishstat.rst
View file @
9de59a05
...
...
@@ -71,7 +71,7 @@ The following options are available:
-x
Displays the result as XML.
-j
-j
Displays the result as JSON.
CURSES MODE
...
...
@@ -181,10 +181,20 @@ With -j the output format is::
{
"timestamp": "YYYY-MM-DDTHH:mm:SS",
"FIELD NAME": {"type": "FIELD TYPE", "ident": "FIELD IDENT", "value": FIELD VALUE, "flag": "FIELD SEMANTICS", "format": "FIELD DISPLAY FORMAT", "description": "FIELD DESCRIPTION"},
"FIELD NAME": {
"description": "FIELD DESCRIPTION",
"type": "FIELD TYPE", "ident": "FIELD IDENT", "flag": "FIELD SEMANTICS", "format": "FIELD DISPLAY FORMAT",
"value": FIELD VALUE,
},
"FIELD2 NAME": {
"description": "FIELD2 DESCRIPTION",
"type": "FIELD2 TYPE", "ident": "FIELD2 IDENT", "flag": "FIELD2 SEMANTICS", "format": "FIELD2 DISPLAY FORMAT",
"value": FIELD2 VALUE,
},
[..]
}
Type and ident are optional. Timestamp is the time when the report was
generated by varnishstat.
...
...
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