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
db17a8d3
Commit
db17a8d3
authored
May 19, 2018
by
Alcides Viamontes E
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
See if we can mount it
parents
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
README.md
README.md
+2
-0
pipeline/uploaded_log_messages.conf
pipeline/uploaded_log_messages.conf
+31
-0
No files found.
README.md
0 → 100644
View file @
db17a8d3
Mount inside logstash, at /usr/share/logstash/pipeline/
pipeline/uploaded_log_messages.conf
0 → 100644
View file @
db17a8d3
input
{
beats
{
port
=>
5044
}
}
filter
{
date
{
match
=> [
"when"
,
"yyyy-MM-ddD HH:mm:ss"
]
}
grok
{
match
=> {
"message"
=>
"Uploaded %{NUMBER:uploaded_msg_count:integer} messages"
}
}
# grok {
# match => {
# # Level: INFO, Time: 2018-05-15 08:36:42,211, Message: Uploaded 1000 messages
# "message" => "Level\: %{LOGLEVEL:log-level}, Time\: %{DATESTAMP:datestamp}[,0-9]* Message: .*"
# }
# }
}
output
{
elasticsearch
{
"hosts"
=> [
"elasticsearch:9200"
]
"template"
=>
"/etc/es_default_mapping_template.json"
}
}
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