Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
ff6c14da
Commit
ff6c14da
authored
Jul 30, 2021
by
Greg Myers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing . to jq log parsing example
jq 'select(status >= 500)' <FILE> will fail, status needs a . before it
parent
6c3d2d1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doc/administration/troubleshooting/log_parsing.md
doc/administration/troubleshooting/log_parsing.md
+1
-1
No files found.
doc/administration/troubleshooting/log_parsing.md
View file @
ff6c14da
...
@@ -60,7 +60,7 @@ zcat some_json.log.25.gz | (head -1; tail -1) | jq '.time'
...
@@ -60,7 +60,7 @@ zcat some_json.log.25.gz | (head -1; tail -1) | jq '.time'
#### Find all requests with a 5XX status code
#### Find all requests with a 5XX status code
```
shell
```
shell
jq
'select(status >= 500)'
<FILE>
jq
'select(
.
status >= 500)'
<FILE>
```
```
#### Top 10 slowest requests
#### Top 10 slowest requests
...
...
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