Hi everyone,
I have been trying to import my csv file with logstash, however, the output is not seen as I expected.
Firstly, I cannot see every column in the output, then I cannot see the correct value for some existing columns in the output.
My config file is:
> input {
> file {
> path => "/home/burak/Downloads/QA2/*"
> start_position => "beginning"
> sincedb_path => "/dev/null"
> }
> }
> filter {
> csv {
> separator => ","
> columns => ["Epic","Total User Stories","Closed User Stories","Not Closed User Stories","User Stories with Test Case Creation in Progress","Total Test Cases Forecast","Total Created Test Cases","Total Executed","Pass","Fail","Blocked","NA"]
> }
> }
> output {
> elasticsearch {
> hosts => "http://localhost:9200"
> index => "qadata"
> }
> stdout {}
> }
This is a simple output:
{
"Total User Stories" => "83;318;231;194;33;4;0;87;87;54",
"path" => "/home/burak/Downloads/QA2/qadata.csv",
"@timestamp" => 2020-04-29T08:51:11.946Z,
"User Stories Without Test Cases" => "97;1",
"Epic" => ";236;129;107;29;5;0;372",
"User Stories with Test Case Creation in Progress" => "25;2020-04-17",
"host" => "burak-VirtualBox",
"message" => ";236;129;107;29;5;0;372,83;318;231;194;33;4;0;87;87;54,83;178,83;161;137;24;4;17;3;0,7;10,97;1,25;2020-04-17\r",
"Not Closed User Stories" => "83;161;137;24;4;17;3;0",
"Closed User Stories" => "83;178",
"User Stories with Test Cases Ready" => "7;10",
"@version" => "1"
}
There are many fields that I did not show it here but basically it's like this.
I'm new in ELK I may do simple mistakes.
OS: Ubuntu 18.04.4 LTS
ElasticSearch: 7.6.2
Logstash: 7.6.2