Hi ,
Basically their server send logs one line at a time. When it came to Splunk it ingest automatically and not following the line breaker configuration. Out target is to line break the logs before "C:\Users\localserver>systeminfo".
Can Splunk wait for the line breaker to be visible before it linebreak ? Or what is the best way to handle this issue.
Example log:
C:\Users\localserver>systeminfo
Host Name: localserver
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.18362 N/A Build 18362
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Multiprocessor Free
Registered Owner: company
Registered Organization: OOO
Original Install Date: 01/01/2020, 7:10:02 PM
System Boot Time: 4/28/2020, 12:43:21 PM
System Model: HP Samplebook
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume1
C:\Users\localserver>
Host Name: localserver
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.18362 N/A Build 18362
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Multiprocessor Free
Registered Owner: company
Registered Organization: OOO
Original Install Date: 01/01/2020, 7:10:02 PM
System Boot Time: 4/28/2020, 12:43:21 PM
System Model: HP Samplebook
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume1
Here's the situation that their server sending the logs, every 1minute it will sent the nextline.
C:\Users\localserver>systeminfo <After 1min it will send the next line>
Host Name: localserver <After 1min it will send the next line>
OS Name: Microsoft Windows 10 Enterprise <After 1min it will send the next line>
OS Version: 10.0.18362 N/A Build 18362 <After 1min it will send the next line>
OS Manufacturer: Microsoft Corporation <After 1min it will send the next line>
OS Configuration: Member Workstation <After 1min it will send the next line>
Props.conf
[sourcetype_name]
DATETIME_CONFIG = CURRENT
SHOULD_LINEMERGE = true
BREAK_ONLY_BEFORE = (C\:\\Users)
TRUNCATE = 8000
If i ingest the log as a bulk it will show the "GREEN BOX" in the picture whole and complete.
But in my case it's staggered and ingesting 1line per minute "RED BOX".
... View more