elastalert icon indicating copy to clipboard operation
elastalert copied to clipboard

Alert when sourc and destination IP does not change for last 15 minutes

Open suchandbabu opened this issue 8 years ago • 2 comments

Hi @Qmando Thanks for your help.

I am looking for a rule type which meets below requirement.

Rule has to be get alerted when same srcip,dstip and differant dstport comes in multiple event in a timerange of 15min

I think i can achieve this using 'Cardinality' Rule type. But i doubt how to enter more than one cardinality_field.

Can you please help me.

suchandbabu avatar Mar 21 '18 16:03 suchandbabu

@Qmando

i have tried this below script. But its sending only when same dstport comes. Actually i need this to be alerted when differant dstport , same srcip and dstip in last 15min events.

type: cardinality cardinality_field: dstport query_key: [srcip, dstip] max_cardinality: 5

timeframe: minutes: 15

suchandbabu avatar Mar 21 '18 22:03 suchandbabu

@Qmando
Kindly requesting your help for above to resolve above mentioned issues in Elastoplast.

suchandbabu avatar Mar 23 '18 19:03 suchandbabu