Dashboards & Visualizations

Helps with Props For Sample Logs

Ram2
Explorer

Sample logs:

Mon Sep 04 13:23:40 2024 -- (eMonitoringLATN_install.sh) Your current directory is [/d/onedemand/etc]
Mon Sep 05 12:21:30 2024 -- (eMonitoringLATN_install.sh) Final Destination reached logs.
Mon Sep 06 12:21:30 2024 -- (eMonitoringLATN_install.sh) logs ingestion started.

 

We tried below props for above sample logs but line breaking not happening correctly.  And pls let us know how to give time format as well.

SHOULD_LINEMERGE=false
LINE_BREAKER=([\r\n]+)\w+\s\w+\s\d{2}\s\d{2}:\d{2}:\d{2}\s\d{4}
TIME_PREFIX=^

 

 

Labels (1)
0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @Ram2 
Same questions of @PickleRick :

Looks like you are reading app logs from linux, thru Splunk UF (or HF)

1) pls confirm are you using UF or HF (or directly reading at indexer?)

2) are you ingesting these logs thru some Splunk TA / App / Add-on's?

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

Ram2
Explorer

 

Looks like you are reading app logs from linux, thru Splunk UF (or HF)  yes from Splunk UF

1) pls confirm are you using UF or HF (or directly reading at indexer?) using UF

2) are you ingesting these logs thru some Splunk TA / App / Add-on's? No

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @Ram2 ...May i know what happens when you try this props:

SHOULD_LINEMERGE=false
LINE_BREAKER=([\r\n]+)
TIME_PREFIX=^

 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

PickleRick
SplunkTrust
SplunkTrust

1. How are you ingesting your events?

2. Where (on which component) did you put these settings?1

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...