Created
May 28, 2015 11:44
-
-
Save chrtze/792f4e4e5e8f4750f1e6 to your computer and use it in GitHub Desktop.
logstash_config_update
This file contains hidden or 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
filter { | |
csv { | |
separator => "," | |
columns => ["Date","Open","High","Low","Close","Volume","Adj Close"] | |
} | |
mutate {convert => ["High", "float"]} | |
mutate {convert => ["Open", "float"]} | |
mutate {convert => ["Low", "float"]} | |
mutate {convert => ["Close", "float"]} | |
mutate {convert => ["Volume", "float"]} | |
date { | |
match => ["Date", "YYYY-MM-dd"] | |
target => "@timestamp" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment