Using map-functionality with Mobile Country Code?
Posted: Tue Jan 26, 2021 7:40 pm
Hello!
Is it possible to use Better Apache Dashboard map-function with mobile country code (i.e. 310 for US, 240 for Sweden, 234 for United Kingdom, ...) instead of an IP-address. We have Grokked this data from a big message-field into the field "visitedmcc"
if [program] == 'customDispatch' {
grok {
match => [ 'message', '%{DATE:endprocessingdate} %{TIME:endprocessingtime}\|%{DATA:iCampaignInstancename}\|%{INT:key}\|%{DATA:fsmid}\|%{INT:version}\|%{DATA:iCampaigneventtype}\|%{INT:gsmeventtype}\|%{DATA:ltestatus}\|%{DATA:gsmstatus}\|%{DATA:messagestatuscode}\|%{DATA:messagestatustext}\|%{INT:appid}\|%{DATA:messageidofdispatchedmessage}\|%{INT:deliveryfailurecode}\|%{DATE:eventprocessingdate} %{TIME:eventprocessingtime}\|%{INT:msisdn}\|%{INT:imsi}\|\|\|%{INT:vlr}\|\|%{INT:msc}\|%{INT:hlr}\|\|%{DATA:inbound}\|%{INT:visitedmcc}\|%{DATA:visitedmnc}\|%{INT:visitednetworkid}\|%{INT:homemcc}\|%{DATA:homemnc}\|%{INT:homenetworkid}\|%{DATA:messagetext}\|%{GREEDYDATA:restofmessage}' ]
}
}
I would like to display the number of messages on the map and be able to drill down from there, or display number of message sent and message failed (from messagestatuscode)!
Sorry for my stupid questions!
Best regards
/Patrik
Is it possible to use Better Apache Dashboard map-function with mobile country code (i.e. 310 for US, 240 for Sweden, 234 for United Kingdom, ...) instead of an IP-address. We have Grokked this data from a big message-field into the field "visitedmcc"
if [program] == 'customDispatch' {
grok {
match => [ 'message', '%{DATE:endprocessingdate} %{TIME:endprocessingtime}\|%{DATA:iCampaignInstancename}\|%{INT:key}\|%{DATA:fsmid}\|%{INT:version}\|%{DATA:iCampaigneventtype}\|%{INT:gsmeventtype}\|%{DATA:ltestatus}\|%{DATA:gsmstatus}\|%{DATA:messagestatuscode}\|%{DATA:messagestatustext}\|%{INT:appid}\|%{DATA:messageidofdispatchedmessage}\|%{INT:deliveryfailurecode}\|%{DATE:eventprocessingdate} %{TIME:eventprocessingtime}\|%{INT:msisdn}\|%{INT:imsi}\|\|\|%{INT:vlr}\|\|%{INT:msc}\|%{INT:hlr}\|\|%{DATA:inbound}\|%{INT:visitedmcc}\|%{DATA:visitedmnc}\|%{INT:visitednetworkid}\|%{INT:homemcc}\|%{DATA:homemnc}\|%{INT:homenetworkid}\|%{DATA:messagetext}\|%{GREEDYDATA:restofmessage}' ]
}
}
I would like to display the number of messages on the map and be able to drill down from there, or display number of message sent and message failed (from messagestatuscode)!
Sorry for my stupid questions!
Best regards
/Patrik