hi,
i am very new to elk.so i do not know how to parse the mixed json logs here is sample log that i want parse,i getting these logs from filebeat.
2019-02-03 23:51:54,263 | {" MACID":"00009934","ID":"1","SS":"26","FW":"V5.1.14","TSRC":"R", "STATUS":"SOFT RESET","SN":"25925","PCK":{"M26":"AQPAQF5GUJAERk93BUZPwnhGTy0eRrRuhUazKspGtLcXOVFJUjmdqII4+8z3OhLFrLcnzPe5kgAAAAC3F7lRqIK4+6iCOPsAAD+AAAA/gAAAP4AAAD+AAAAAAJumu0QAAAAAm6a7RBJvuwMSb7qDEm86gxJvuwMSbzsDEm87gxJvOoMSbzuDsTBC8PefQu5aAELwWh1CSJqZOnwAAEIQCj0/V7hSP14KPT9XAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAx3QBAxDPfEuB5/9LhswgSoH0AEgcXOgBAxDXBwAOmVUAAr1iAA4ZpAAA2h4BAwwgAAAABAAAAHW+Ons7l36HXFduJw=="},"RTC":"19/02/03,23:51:35"}
use cases
1.i want to calculate total number logs based on particular field from logs
for example =>
I want find out total number of logs that matches with MACID":"00009934"
2.how to filter the logs based on one the field.
let say i want to search the logs for "STATUS":"SOFT RESET" so it shoud return me all the logs where it found "STATUS":"SOFT RESET"
any one have any clue please help me
Thank you