Hi everyone !
I'm posting today to ask some help with ElasticSearch.
I would like use ELK for treat some data from a JSON file but I don't know how organize my ElasticSearch Structure.
Below the structure of my JSON datafile:
"dateoftheday":{
"countrieName":[
{
"serverName":"hisName",
"status":"hisStatus",
"users":[
{
"name":"hisName",
"computerName":"hisComputerName",
"idNumber":"hisIdNumber"
},
{
"name":"hisName",
"computerName":"hisComputerName",
"idNumber":"hisIdNumber"
},
{
"name":"hisName",
"computerName":"hisComputerName",
"idNumber":"hisIdNumber"
},
]
},
{
"serverName":"hisName",
"status":"hisStatus",
"users":[
{
"name":"hisName",
"computerName":"hisComputerName",
"idNumber":"hisIdNumber"
},
{
"name":"hisName",
"computerName":"hisComputerName",
"idNumber":"hisIdNumber"
},
{
"name":"hisName",
"computerName":"hisComputerName",
"idNumber":"hisIdNumber"
},
]
},
]
}
I don't detail more my file but i've several countries and several server for each countries and a lot of users for each server. (my file have about 3000 lines)
Moreover, il will receive a new 3000 lines file every 3 hours and I have to make statistic on these.
I would like make kibana chart on the number of users per countries, a general chart with the evolution of the number of users in terms of time with différents line representing different countries
and so one
But I don't know how organize my datafiles in elasticSearch to these make Kibana chart.
Can someone help me to define my structure ElasticSearch, I did lots of manipulation with ES and Kibana but i can't generate chart like I want.
I think my ES structure is wrong.
Thanks in advance for all eventual help
Regards,
Math