Getting Data In

Multiple delineation and writing a props

loganacarter
New Member

I have a .log file that looks similar to the following below and I've tried doing multiple props.conf configurations to get the best results. I'm reaching out to more experience users that might have a better way of organizing the data. The first 13 lines are single lines of information that I used a regex to extract but after that the delineation changes to a tab delineated with multiple events per line. See example below, all inputs are arbitrary but resemble the actual log 

 

LOG FILE: "the actual path" --> I used regex for the following to point to the portions and extract

TEST DATE: 2019/10/27

TEST START: 10:32:25 AM

OPERATOR ID: xxxxxxxx

(tab portion)

*****          *****         ******         *****

time           seq           host          information

10:30:20 pm         (can be blank)          computer1        PASS

10:30:22 pm          Seq 1            computer1            Fail

 

My main objective at the end of this is to index everything as fields but I do want to use that "TEST START" and the last "time" to create some reports about test station usage. Thanks in advance for the help

Labels (2)
0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...