 
					
				
		
Hi! I created a new sourcetype (syslog_sic) because I have a syslog file coming from the mainframe with multiple line event that I want to break at each timestamp. My timestamp defenition is "2019099 00:24:48.71" meanning 2019=year 099=number of day in the year. When the data get indexed, it reconnized the time but not the date. The event break is set to breaking at each timestamp but instead it is breaking at each line.
 
					
				
		
In props.conf
Simplest
    [syslog_sic]
    TIME_FORMAT = %Y%j %H:%M:%S.%N
Better but with specific regex based on the small sample you provided.
    [syslog_sic]
    TIME_FORMAT = %Y%j %H:%M:%S.%N
    MAX_TIMESTAMP_LOOKAHEAD = 20
    TIME_PREFIX = \w{5}\s\w{7}\s\w{4}\s
    LINE_BREAKER = ([\r\n]+)(?=\w{5}\s\w{7}\s\w{4}\s\d{7})
    SHOULD_LINEMERGE = false
Hi @usernamejpblais,
If you need to get mainframe data (security, database, CICS, FTP, TCPIP, master console messages and much more), please see dgtechllc.com/meas. Our Mainframe Event Acquisition System (MEAS) product will allow you to monitor, filter and forward - in real time - any/all events from the mainframe that you would like to see in Splunk. It take roughly 1/2 day to install and no IPL necessary. Let me know if this solution could help you out.
Thanks!
 
					
				
		
In props.conf
Simplest
    [syslog_sic]
    TIME_FORMAT = %Y%j %H:%M:%S.%N
Better but with specific regex based on the small sample you provided.
    [syslog_sic]
    TIME_FORMAT = %Y%j %H:%M:%S.%N
    MAX_TIMESTAMP_LOOKAHEAD = 20
    TIME_PREFIX = \w{5}\s\w{7}\s\w{4}\s
    LINE_BREAKER = ([\r\n]+)(?=\w{5}\s\w{7}\s\w{4}\s\d{7})
    SHOULD_LINEMERGE = false
 
					
				
		
Super!!!
Thanks mjharris!
 
					
				
		
please provide atleast 4-5 lines to see how the sample data looks like
 
					
				
		
Hello Koshyk!
Thanks for you're help!
H158N 4020000 H158     2019099 00:24:47.97 STC67273 00000080  XCOMM0780E Txpi  227: Socket received 
H158S                                                                                                             Last error: 167
H158N 4020000 H158     2019099 00:24:47.97 STC67273 00000080  XCOMM0805I TCP/IP CONNECTION END
H158N 0002000 H158     2019099 00:24:48.11 STC64107 00000090  PGTV1710E TCPERR 00050000 on READ 
H158S                                                                                                             CONNECTION CLOSED PREMATURELY
H158M 0000000 H158     2019099 00:24:48.33 STC66246 00000090 CECA0143I The subscription heartbeat 
H158S                                                                                                             779
H158D                                                                                  779 00000090  DATASRC=IMS SUBSTATE=REPLICATE 
H158D                                                                                  779 00000090  PE=Active/Standby LATENCYSTATE=No
H158E                                                                                   779 00000090  COMMITS=0 ABSBOOKMARK=2019-04-
H158N FDE0000 H158     2019099 00:24:48.71 STC66280 00000281  HWSP1415E TCP/IP SOCKET FUNCTION 
H158S                                                                                                              , M=SDRC, ID=DELDUMMY,IPv4=10.250.1
