Hi,
I have a log as such:
{
"recordType":"MT",
"callingNumber":"5555555",
"callingImsi":"",
"callingMsc":"",
"billable":"",
"calledNumber":"5555555",
"calledImsi":"425240787504111",
"calledMsc":"972723800111",
"msgSubmissionTime":"1483952084757",
"clientId":"Me",
"gmt1":"-5",
"msgDeliveryTime":"1483952084859",
"originatingProtocol":"SMPP",
"gmt2":"-5",
"campignId":"",
"channel":"",
"destinationProtocol":"MAP",
"terminationCause":"UNEXPECTED_DATA_VALUE",
"transactionId":"0632095307",
"msgLength":"0",
"concatenated":"FALSE",
"concatenatedFrom":"1",
"sequence":"0",
"priority":"",
"deferred":"",
"numOfAttemp":"0"
}
I am trying to make that "msgSubmissionTime" will be read as an Int. The way I saw in my search was:
grok {
match => ["message", "\msgSubmissionTime\(%{INT:epoch}-0500\)\\/"]
}
This does not work for me... Im stuck with this for quite a while so any help will be great.
P.S.
My end result is to change this field to my timestamp.