I am looking to configure filebeats to deal with the following data sample...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Time of Server Script Exception : 26 January 2018 13:38:02
1: Source:.Net SqlClient Data Provider
1: Type :System.Data.SqlClient.SqlException
1: Message:Incorrect syntax near the keyword 'VIEW'.
Incorrect syntax near the keyword 'AS'.
1: Target Site:System.String LoadXML(Int32, Int64, Int64, Int64, System.String, System.String, Int32, System.String, System.String, System.String, System.String, System.String, Int32)
1: Stack Trace: at XXX.YYY.clsBizSummaryPanel.LoadXML(Int32 intSummaryPanelID, Int64 lngParentID, Int64 lngPatientID, Int64 lngUserID, String strLanguageCode, String strParam1, Int32 intDataSourceID, String strtempPatList, String strDataID, String streRxAccountStatusCount, String strSectionXml, String strPreferredSettings, Int32 IntpgqaeSize)
1: at XXX.ZZZ.ZZZ.LoadXML(Int32 intSummaryPanelID, Int64 lngParentID, Int64 lngPatientID, Int64 lngUserID, String strLanguageCode, String strParam1, Int32 intDataSourceID, String strTempPatlist, String strDataID, String streRxAccountStatusCount, String strSectionXml, String strPreferredSettings, Int32 intPageSize)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Time of Server Script Exception : 26 January 2018 13:42:02
1: Source:.Net SqlClient Data Provider
1: Type :System.Data.SqlClient.SqlException
1: Message:Incorrect syntax near the keyword 'VIEW'
1: Target Site:System.String LoadXML(Int32, Int64, Int64, Int64, System.String, System.String, Int32, System.String, System.String, System.String, System.String, System.String, Int32)
1: Stack Trace: at XXX.YYY.clsBizSummaryPanel.LoadXML(Int32 intSummaryPanelID, Int64 lngParentID, Int64 lngPatientID, Int64 lngUserID, String strLanguageCode, String strParam1, Int32 intDataSourceID, String strtempPatList, String strDataID, String streRxAccountStatusCount, String strSectionXml, String strPreferredSettings, Int32 IntpgqaeSize)
1: at XXX.ZZZ.ZZZ.LoadXML(Int32 intSummaryPanelID, Int64 lngParentID, Int64 lngPatientID, Int64 lngUserID, String strLanguageCode, String strParam1, Int32 intDataSourceID, String strTempPatlist, String strDataID, String streRxAccountStatusCount, String strSectionXml, String strPreferredSettings, Int32 intPageSize)
So, the data we wish to harvest from the first data set is...
Field Name:Time of Server Script Exception
Data: 26 January 2018 13:38:02
Field Name:Source
Data:.Net SqlClient Data Provider
Field Name:Type
Data:System.Data.SqlClient.SqlException
Field Name:Message
Data:Incorrect syntax near the keyword 'VIEW'.Incorrect syntax near the keyword 'AS'.
Field Name:Target Site
Data:System.String LoadXML
Field Name:Stack Trace
Data:at XXX.YYY.clsBizSummaryPanel.LoadXML at XXX.ZZZ.ZZZ.LoadXML
Can someone help.
Thanks