Alert Manager is not working

Hello, I am using Grafana and Elasticsearch, I have produced an alert, but this alert is not working, I am sharing the codes below, can you help me?

alias: ''
bucketAggs:
  - field: '@timestamp'
    id: '2'
    settings:
      interval: auto
    type: date_histogram
hide: false
intervalMs: 1000
maxDataPoints: 43200
metrics:
  - id: '1'
    type: count
query: agent.name:"SARPFILE" AND event.code:"4659"
refId: A
timeField: '@timestamp'