Splunk Search

How can I exract these error messages into one field?

karthi2809
Builder

|| vasb05 | PROD | Availit | | 2017-08-11 08:54:01,420 | ERROR | http--10.100.108.48-8080-13 | com.amerigroup.utilities.FileTransferManager.saveFile(FileTransferManager.java:120) | Unable to write file data to \agpcorp\apps\Local\BatchJava\Prod\attachments\ClaimAppeals\144603114500_20170811T085401_1_CLAIM.pdf: java.io.FileNotFoundException: \agpcorp\apps\Local\BatchJava\Prod\attachments\ClaimAppeals\144603114500_20170811T085401_1_CLAIM.pdf (There is not enough space on the disk)

italic field to extract

0 Karma

DalJeanis
Legend

At search time, do this...

| rex "(|[^|]*){6}| ERROR\s+(|[^|]*){2}|(?<errormessage>.*)"
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Do you want to extract the fields at index time or search time?

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 ...