Loading data from .csv file to elasticsearch using logstash on localhost

hi
i m new to elastic. so i m trying to upload data from .csv file to elasticsearch using logstash on my local desktop (windows10)
the problem is only 10 data from excel is uploading on elasticsearch.
no error in logstash logs , no errors in elasticsearch logs
so what may be the issue ?

Are you sure that only 10 records are loaded?

What is the output of

GET /your_index/_search?size=0

output is
{
"took": 520,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 408,
"max_score": 0,
"hits":
}
}

but when i query below in kibana and i varify data only10 data it shows
GET /your_index/_search
{
"query": { "match_all": {} }

}
output is
{
"took" : 9,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : 408,
"max_score" : 1.0,
"hits" : [
{
"_index" : "your_index",
"_type" : "your_indextype",
"_id" : "S2q4ZmgB7K7vpgwX9wV3",
"_score" : 1.0,
"_source" : {
(***here it shows only 10 _source data ***)
}
}
]
}

Page size is 10 by default. Use from and size parameters. See https://www.elastic.co/guide/en/elasticsearch/reference/6.5/search-request-from-size.html

thanks for your reply . i can see all data now .

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.