Features
Support
Purchase
Documentation
Download
Login
Register
Login
Register
Home
»
LogViewPlus Support
»
Configuration & Customization
»
Question for parsing a log with multiple lines
Question for parsing a log with multiple lines
Post Reply
Like
4
Question for parsing a log with multiple lines
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
LogViewPlus Support
LogViewPlus Support
posted 6 Months Ago
ANSWER
Post Details
Share Post
Group: Moderators
Posts: 1.2K,
Visits: 4.3K
Hi,
Currently, it is not possible to parse the date from one log line and apply it to other log lines without writing a
custom parser
or (possibly) a
post processor
. The best you will be able to do in this case is to extract the timestamp and apply a default or
metadata date
.
Hope that helps,
Toby
Reply
Like
4
ggomez
ggomez
posted 6 Months Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 1,
Visits: 1
Hi, I have a log file with multiple lines that are different:
line 1 - 6:46:16 (@-SLOG@) Timestamp Time: Fri Aug 11 2023 06:46:16 UTC
line 2 - 7:47:58 ) IN: "c"
name@server1.com
line 3 - 7:57:58 ) OUT: "c"
name@server1.com
When I import file it gives me today's date by default.
I would like to have:
date , timestamp, in or out, name, server
with date being on the Timestamp line and every line below has that same date until the next date
How can I create the date column based on the timestamp value and parse the rest based on line 2 rules
Reply
Like
4
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
4
Similar Topics
Post Quoted Reply
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search