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!

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, ...