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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...