This repository has been archived by the owner on Jun 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration of dashboards, template, and pipelines to 7.x
- Loading branch information
Andrew Selden
committed
Dec 7, 2019
1 parent
e6b2e61
commit df9b3a5
Showing
7 changed files
with
250 additions
and
2,098 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
input { | ||
stdin {} | ||
} | ||
|
||
filter { | ||
json { | ||
source => "message" | ||
} | ||
geoip { | ||
source => "ClientIP" | ||
target => "geoip" | ||
} | ||
mutate { | ||
rename => ["geoip", "ClientIP" ] | ||
} | ||
|
||
date { | ||
match => [ "EdgeStartTimestamp", "yyyy-MM-dd'T'HH:mm:ssZ", "yyyy-MM-dd'T'HH:mm:ss.SSSZ" ] | ||
timezone => "UTC" | ||
target => "@timestamp" | ||
} | ||
date { | ||
match => [ "EdgeStartTimestamp", "yyyy-MM-dd'T'HH:mm:ssZ", "yyyy-MM-dd'T'HH:mm:ss.SSSZ" ] | ||
timezone => "UTC" | ||
target => "EdgeStartTimestamp" | ||
} | ||
useragent { | ||
source => "ClientRequestUserAgent" | ||
target => "UserAgent" | ||
} | ||
} | ||
|
||
output { | ||
stdout { | ||
codec => rubydebug | ||
} | ||
elasticsearch { | ||
hosts => [" < YOUR ELASTICSEARCH HOSTS GO HERE > "] | ||
index => "cloudflare-%{+YYYY.MM.dd}" | ||
user => "elastic" | ||
password => "< YOUR ELASTICSEARCH PASSWORD GOES HERE >" | ||
} | ||
} |
Oops, something went wrong.