Splunk Search

How do we edit our props.conf sourcetype configuration for proper line breaking?

dhavamanis
Builder

Need your help,

We want to split the event when the timestamp starts in the line, otherwise, it has to append the line with previous event:

2015-10-15 18:47:35,136 [1.2.50] [videoObjectTaskExecutor-2] ERROR o.s.batch.core.step.AbstractStep ID-ip-10-4-2-65-ec2-internal-56619-1444931577585-0-160  route3 - Encountered an error executing step videoObjectIndexStep in job bulkIndexJob
org.elasticsearch.ElasticsearchException: failure in bulk execution:
[4]: index [mavismpx-2015.10.15t18:46:05], type [video-object], id [mmvo240707651690], message [RemoteTransportException[[News Production][inet[/10.4.2.98:9300]][indices:data/write/bulk[s]]]; nested: EsRejectedExecutionException[rejected execution (queue capacity 50) on 
2015-10-15 18:48:31,130 [1.2.50] [videoObjectTaskExecutor-2] ERROR o.s.batch.core.step.AbstractStep ID-ip-10-4-2-65-ec2-internal-56619-1444931577585-0-160  route3 - Encountered an error executing step videoObjectIndexStep in job bulkIndexJob
org.elasticsearch.ElasticsearchException: failure in bulk execution:
[14]: index [mavismpx-2015.10.15t18:46:05], type [video-object], id [mmvo240707651690], message [RemoteTransportException[[News Production][inet[/10.4.2.98:9300]][indices:data/write/bulk[s]]]; nested: EsRejectedExecutionException[rejected execution (queue capacity 50) on 

Currently, we have this pattern and it's not working properly, Can you please help us to correct this?

[ingest_event]
BREAK_ONLY_BEFORE = \d\d?:\d\d:\d\d
MAX_TIMESTAMP_LOOKAHEAD = 150
NO_BINARY_CHECK = 1
pulldown_type = 1
TRUNCATE = 0
0 Karma
1 Solution

dhavamanis
Builder

We have changed as below and its working.

[ingest_event]
BREAK_ONLY_BEFORE = ^\d\d\d\d-\d\d-\d\d\s\d\d:\d\d:\d\d
MAX_TIMESTAMP_LOOKAHEAD = 150
NO_BINARY_CHECK = true
category = Custom
pulldown_type = true
TRUNCATE = 0

View solution in original post

0 Karma

dhavamanis
Builder

We have changed as below and its working.

[ingest_event]
BREAK_ONLY_BEFORE = ^\d\d\d\d-\d\d-\d\d\s\d\d:\d\d:\d\d
MAX_TIMESTAMP_LOOKAHEAD = 150
NO_BINARY_CHECK = true
category = Custom
pulldown_type = true
TRUNCATE = 0
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...