Hi,
i was watching the video how to create Alert by using system log file ( Load Average etc)
however, i have customer log file, bellow log are under message, What i am looking for is ,
When the Field [ALARM:NONE] will show [ALARM:POWER], Generate a Alert by attaching feld
[IMEI:352621109471182] in the email.
Can any one please tell me how can i do this ?
I would really appreciate your help.
Apr 30, 2019 @ 14:35:54.897 message:
14:35:48,811 DEBUG [com.yuma.jca.sockets.vt202] (default-threads - 47) [TIMESTAMP:Tue Apr 30 14:35:46 UTC 2019],[IMEI:352621109471182],[COMMAND:INFO],[GPS STATUS:true],[INFO:true],[SIGNAL:false],[ENGINE:0],[DOOR:0],[LON:90.35394999999998],[LAT:23.773595],[SPEED:1.1],[BATTERY:100],[GSM_SIGNAL:100],[GPS_SATS:7],[FUEL:0.0],[ALARM:NONE]
@timestamp:
Apr 30, 2019 @ 14:35:54.897
cloud.instance.id:
135683766
cloud.region:
lon1
cloud.provider:
digitalocean
log.file.path:
/root/wildfly-11.0.0.Final/standalone/log/VT202.log
log.offset:
746247
input.type:
log
host.name:
PRODWILDIFY
host.hostname:
PRODWILDIFY
host.architecture:
x86_64
host.os.platform:
ubuntu
host.os.version:
18.04.2 LTS (Bionic Beaver)
host.os.family:
debian
host.os.name:
Ubuntu
host.os.kernel:
4.15.0-45-generic
host.os.codename:
bionic
host.id:
982b7b8d1795445e9b8a9a794550123f
host.containerized:
false
agent.version:
7.0.0
agent.type:
filebeat
agent.ephemeral_id:
ac3e1b07-c74c-475a-96af-c162df6601d5
agent.hostname:
PRODWILDIFY
agent.id:
e47d8400-1077-4fd1-a56b-68e69e1b129e
ecs.version:
1.0.0
_id:
PTusbmoBMZCkMLhicKqO
_type:
_doc
_index:
filebeat-7.0.0-2019.04.24-000001
_score: