Splunk Search

Email Delivery

NamoSiddhanam
Loves-to-Learn

HI,

Splunk is a new tool to me, so I apologize for the very basic question. 

Could you please provide a query that includes email delivery status with reason, or detailed information if delivered/not delivered, as well as multiple specific subject sources from Postfix?

Labels (1)
0 Karma

yuanliu
SplunkTrust
SplunkTrust

This question has very little to do with Splunk or your familiarity with Splunk.  As @PickleRick suggested, the first most important question is: What data source do you have in Splunk?

The real question you need to ask is: How do I, without Splunk, determine from A source that has been ingested into Splunk "email delivery status with reason, or detailed information if delivered/not delivered, as well as multiple specific subject sources from Postfix?"  This is a data analytics forum, not a Postfix or a Linux forum.  But there is more to a search.  You need also to ask yourself: Which Email am I searching for?

Assume your Splunk instance contains syslog entries from Postfix, you can determine delivery status if the recipient is known (better, if both sender and recipients are known) as well as the approximate time of that Email.  No, a typical postfix configuration does not include subject in logs.  So searching for subject is futile.  Also note: Modern syslog can use different log formats.  Which one does your system use?

If you can post answers to these questions you ask yourself, volunteers here can help you construct a meaningful search.  Or you may have found the search when trying to answer those questions.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

1. Are you sure you even have such data in your Splunk? (and have access to it)

2. Email logs are typically a pain to work with since information about a single message is usually spread across a whole lot of events, often changing identifiers for the message as it goes through various stages of email processing. This includes Postfix - it can pass the message back and forth between different components and if you have amavis or external spamd in the mix... boy, you're in for a treat.

3. Unless you do something non-standard with your logging, email daemons like postfix, sendmail or exim do _not_ contain info from within the message (like subject). They typically only have the envelope info.

 

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!

Unlocking Unified Insights: New Gigamon Federated Search App for Splunk

In today’s data-heavy environment, organizations are caught in a data distribution dilemma. As data volumes ...

GA: New Data Management App in Splunk Platform

Streamlining Data Management: Introducing a unified experience in Splunk Managing data at scale shouldn’t feel ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...