Private GIT

Skip to content
Snippets Groups Projects
Commit 038b77fb authored by nin9s's avatar nin9s
Browse files

date to @timestamp

changed @timestamp to the actual timestamp of the log entry
parent 309f89c4
Branches
Tags
No related merge requests found
File deleted
...@@ -7,6 +7,11 @@ input { ...@@ -7,6 +7,11 @@ input {
} }
filter { filter {
date {
match => [ "date", "MMM d HH:mm:ss" ]
}
if "pihole" in [tags]{ if "pihole" in [tags]{
grok { grok {
patterns_dir => ["/etc/logstash/patterns/"] patterns_dir => ["/etc/logstash/patterns/"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment