You've already forked Curso-lenguaje-python
Update elastic stack test
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
input {
|
||||
file {
|
||||
path => "/path/to/your/data/wiki_movie_plots_deduped.csv"
|
||||
start_position => "beginning"
|
||||
sincedb_path => "/dev/null"
|
||||
}
|
||||
}
|
||||
|
||||
filter {
|
||||
csv {
|
||||
separator => ","
|
||||
columns => ["Release Year", "Title", "Origin/Ethnicity", "Director", "Cast", "Genre", "Wiki Page", "Plot"]
|
||||
}
|
||||
|
||||
mutate {
|
||||
convert => { "Release Year" => "integer" }
|
||||
}
|
||||
}
|
||||
|
||||
output {
|
||||
elasticsearch {
|
||||
hosts => ["http://elasticsearch:9200"]
|
||||
index => "movies"
|
||||
}
|
||||
stdout { codec => rubydebug }
|
||||
}
|
||||
Reference in New Issue
Block a user