Getting Data In

Splunk data are cut of randomly

jadengoho
Builder

I am having problem with UF data ingestion.
There are 36 servers (18 server are prod and 18 are test-prod)
I have deployment server who deploy configuration files to the 36 servers. But the logs i get are incomplete from different server.
"incomplete" means most server send complete logs but other servers logs are being cut.

Example logs:
(Complete)

+ server-service applicationservice-engine1:status
server-service: applicationservice-engine1: OK
+ server-service applicationservice-engine2:status
server-service: applicationservice-engine2: OK

(incomplete sample 1)
+ server-service applicationservice-engine2:status
server-service: applicationservice-engine2: OK

(incomplete sample 2)
server-service: applicationservice-engine1: OK
+ server-service applicationservice-engine2:status
server-service: applicationservice-engine2: OK

my inputs.conf :
[monitor:///var/log/scripts/service-status.log]
disabled = 0
index = operations
sourcetype = service:status

and there are NO Props or Transforms applied.
What may be the reason of this occurrence?

Tags (1)
0 Karma
1 Solution

woodcock
Esteemed Legend

Rather than explain the details (that is @DalJeanis job), here are some configurations to be sure to set:

DATETIME_CONFIG = CURRENT
EVENT_BREAKER_ENABLE = true
EVENT_BREAKER = ([\r\n]+)
useACK = false
time_before_close = <experiment>

View solution in original post

0 Karma

woodcock
Esteemed Legend

Rather than explain the details (that is @DalJeanis job), here are some configurations to be sure to set:

DATETIME_CONFIG = CURRENT
EVENT_BREAKER_ENABLE = true
EVENT_BREAKER = ([\r\n]+)
useACK = false
time_before_close = <experiment>
0 Karma

jadengoho
Builder

Thank you very much this really help me a lot.

@DalJeanis can you tell me why does this happens?

0 Karma

woodcock
Esteemed Legend

So did it work for you?

0 Karma

jadengoho
Builder

Yes it works, thank you very much

Props.conf
DATETIME_CONFIG = CURRENT
EVENT_BREAKER_ENABLE = true
EVENT_BREAKER = ([\r\n]+)

Inputs.conf
useACK = false
time_before_close = 300

Still i want to know why does behavior happens ?

0 Karma

woodcock
Esteemed Legend

The useACK is very buggy and causes as many problems as it might perhaps solve so only consider using it when you absolutely must and be prepared for many duplicated events. The on that did it for you was the time_before_close.

0 Karma
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 ...