Splunk Search

Incorrect Imail Events

jknowles
Engager

I am trying to have my Imail Logs indexed correctly. Right now there is no order to the events. They should be separated by Connection ID

Examples:

SMTP-(b200000069dbca52)

SMTP-(2edb0000685cc69c)

SMTPD(2edb0000685cc69c)

SMTPD(0000000000000000)

I have tried the Field Extraction Generator but it hasnot been able to correctly identfify the connection ID.

Tags (1)
0 Karma

jedinerd
New Member

try piping your query to | rex field=_raw "SMTP[-D]((?[a-f0-9]*))"
That should extract the connection id to its own field. If that works i would suggest using that regex as a field extraction in props.conf.

Hope that helps!

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...