Using basic query to create a graph from elasticsearch

Hi,
I’m new with Grafana, and I have some data in elasticsearch that i want to use to create a graph.
“customer” : {
“aliases” : { },
“mappings” : {
“customer” : {
“properties” : {
“id” : {
“type” : “long”
},
“name” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“note” : {
“type” : “long”
},
“year” : {
“type” : “date”,
“store” : true,
“format” : “yyyy-MM-dd”
}
}
}
},
“settings” : {
“index” : {
“refresh_interval” : “1s”,
“number_of_shards” : “2”,
“provided_name” : “customer”,
“creation_date” : “1585430740664”,
“store” : {
“type” : “fs”
},
“number_of_replicas” : “1”,
“uuid” : “3-1K9F8VTfWER-MtzrvTQw”,
“version” : {
“created” : “6050199”
}
}
}
}
}
This is my index. I want to select data for every user alone using his name.