My script name was access-abc.sh , I just removed hyphen and renamed it to accessabc.sh and that fixed the issue and able to see the Data in Splunk.
But now I have issue with event Formatting, Actual website data I am ingesting is shown below:
##### BEGIN STATUS #####
#LAST UPDATE : Tue, 28 Nov 2023 11:00:16 +0000
Abcstatus.status=ok
Abcstatus.lastupdate=17xxxxxxxx555
### ServiceStatus ###
xxxxx
xxxxxx
xxxx
### SystemStatus ###
XXXX'
XXXX
### xyxStatus ###
XXX
XXX
XXX
.
.
.
.
So on....
But in splunk below lines are coming as a seperate events instead of being part of one complete event:
##### FIRST STATUS ##### - is coming as seperate event
Abcstatus.status=ok - this is also coming as a separate event
Below all events coming as one event which is correct and the above two lines should also be part of this one event:
Abcstatus.lastupdate=17xxxxxxxx555
### ServiceStatus ###
xxxxx
xxxxxx
xxxx
### SystemStatus ###
.
.
.
So on....
##### END STATUS #####
Below is my props:
DATETIME_CONFIG = CURRENT
SHOULD_LINEMERGE=TRUE
BREAK_ONLY_AFTER = ^#{5}\s{6}END\sSTATUS\s{6}\#{5}
MUST_NOT_BREAK_AFTER=\#{5}\s{5}BEGIN\sSTATUS\s{5}\#{5}
TIME_PREFIX=^#\w+\s\w+\w+\s:\s
MAX_TIMESTAMP_LOOKAHEAD=200
Can you please help me with the issue?
... View more