Last active
August 29, 2015 14:05
-
-
Save robinsmidsrod/909d07c2269dfd0129c2 to your computer and use it in GitHub Desktop.
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
{:timestamp=>"2014-09-02T10:48:49.644000+0000", | |
:message=>"+---------------------------------------------------------+\n| | |
An unexpected error occurred. This is probably a bug. | | |
\n| | |
You can find help with this problem in a few places: | | |
\n | |
| | | |
\n| | |
* chat: #logstash IRC channel on freenode irc. | | |
\n| | |
IRC via the web: http://goo.gl/TI4Ro | | |
\n| | |
* email: logstash-users@googlegroups.com | | |
\n| | |
* bug system: https://logstash.jira.com/ |\n | |
| | | |
\n+---------------------------------------------------------+\n | |
The error reported is: \n The datetime zone id '%{tz}' is not recognised" | |
} | |
if [tz] { | |
date { | |
match => [ "nginx_date", "yyyy/MM/dd HH:mm:ss" ] | |
timezone => "%{tz}" | |
target => "nginx_timestamp" | |
add_tag => ["timestamp_changed"] | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment