Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
metric-from-logs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
public-items
metric-from-logs
Commits
df8e4995
Commit
df8e4995
authored
May 20, 2018
by
Alcides Viamontes E
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added entry for recently added ip mappings
parent
7357b65e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
mapping/es_default_mapping_template.json
mapping/es_default_mapping_template.json
+3
-0
pipeline/uploaded_log_messages.conf
pipeline/uploaded_log_messages.conf
+3
-0
No files found.
mapping/es_default_mapping_template.json
View file @
df8e4995
...
...
@@ -31,6 +31,9 @@
"uploaded_msg_count"
:
{
"type"
:
"integer"
},
"new_cached_ip2countries"
:
{
"type"
:
"integer"
},
"message"
:
{
"norms"
:
false
,
"type"
:
"text"
...
...
pipeline/uploaded_log_messages.conf
View file @
df8e4995
...
...
@@ -16,6 +16,9 @@ filter {
match
=> {
"message"
=>
"Uploaded %{NUMBER:uploaded_msg_count:integer} messages"
}
match
=> {
"message"
=>
"\[%{TIMESTAMP_ISO8601:timestamp}[,0-9]*: (?<log-level>INFO)/[a-zA-Z0-9-]+\] update_CachedIP2Country: amount of new instances created: (?<new_cached_ip2countries>[0-9]+)"
}
match
=> {
"message"
=>
"Level\: %{LOGLEVEL:log-level}, Time\: %{TIMESTAMP_ISO8601:datestamp}[,0-9]* Message: (?<real_message>.*)"
}
...
...
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