Other Usage

Why is Splunk email triggering twice?

mm185429
New Member

Hi,

I have created a splunk email and it seems to be triggering it twice. Below the query and alert configuration.

query:
index="liquidity" AND cf_space_name="pvs-ad00008034" AND (msg.Extended_Fields.ValueAmount = "0" OR msg.Extended_Fields.ValueAmount = "NULL" OR msg.Results.Message="EWI Load process is completed*") | table _time, msg.Extended_Fields.DataSource, msg.Extended_Fields.ValueAmount, msg.Results.Message | sort by _time | rename msg.Extended_Fields.ValueAmount as ValueAmount | rename msg.Results.Message as Message | rename msg.Extended_Fields.DataSource as DataSource

 

trigger condition:

search Message = "EWI Load process is completed*" | stats count as Total | search Total > 0alert config pic 1.PNGInkedalert config pic2.jpg

Tags (2)
0 Karma

MsF-2000
Path Finder

Hi @mm185429  were you able to find the solution,  I too facing the issue the same but mine is a Splunk report we have custom alert action for mailing purpose and made it pull mail contacts from a lookup and lookup contained two DLs.  I re-run the report with my email it received once only for now I have cloned the report and ask user to check if they are receiving again since the actual report should once a day.

 

I checked in the intenal logs can see two mail were sent out at same time but there is only one report which is scheduled to run once a day.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

How do you know that the alert is triggered twice? Because you get double email? Do all the recipients get double email or is it just you? Are you sure it's not that there are some redirections in your email system?

0 Karma

mm185429
New Member

@PickleRick The issue is intermittent. The double email is sent to all the recipients. There is no redirection from the email system as far as I know.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Ok. And it's the same email - from the same scheduled search run? Not from two separate ones?

Is it a standalone SH or a cluster? Does searching for sendemail.py yields single send per alert or double?

0 Karma

mm185429
New Member

@PickleRick Yes, It is the same email from the same scheduled search run and not from two separate ones.

I'm not sure if it is standalone SH or a cluster since this is managed by another team in my organization. How can I search for sendemail.py?

0 Karma

PickleRick
SplunkTrust
SplunkTrust

To be honest, if it's not "your" environment (I mean you're not administering it), I'd just create a ticket with your splunk admin team because you probably don't have enough permissions to troubleshoot it on your own.

You could try to search for

index=_internal sendemail.py

Around the time that your alert was triggered but typically non-admin users don't have access to internal indexes.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...