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=^

 

 

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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...