Splunk Search

How do you configure splunk to extract fields from SMTP Message Transaction Logs?

aphanmanivong
New Member

We currently use Cisco IronPorts and are sending the Message Transaction Logs via syslog to Splunk. I couldn't find the exact app for the IronPort, but I tried installing Cisco ESA as it had references for email. Does Splunk have rules already built-in to extract fields from Message Transaction Logs? I have also tried creating field-extractions, but they do not appear to be working 100% of the time. I am open to any suggestions.

0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee

The best advice I can give you without seeing any sample logs, is to not depend on an app at all. Learn about how transforms.conf can change your sourcetype for the specific type of log that appears in syslog. From there, learn field extraction and grab the fields that matter for your events, finally, chart it and build your views. Then you will have your apps. Learning core Splunk and its capabilities will be a boon to you. There are numerous examples on answers.splunk.com that show how to transform syslog based on the event patterns, and numerous tutorials on field extraction. Finally, go take the Splunk tutorial and you will be off and running! Good luck!

woodcock
Esteemed Legend

According to the dox (http://docs.splunk.com/Documentation/Splunk/6.3.0/Data/Listofpretrainedsourcetypes ), Splunk supports 3 MTA types automatically; you just have to configure the input and set the sourcetype to match: {exim_main, postfix_syslog, sendmail_syslog}

0 Karma

muebel
SplunkTrust
SplunkTrust

do you have a log sample, and the extractions you have tried so far?

Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...