From 62e4c68907d8d33709c2c1f92a161dff00b3d5f2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 22:01:36 +0200 Subject: Adding upstream version 0.11.2. Signed-off-by: Daniel Baumann --- src/scripts/partition-by-boot.lnav | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/scripts/partition-by-boot.lnav (limited to 'src/scripts/partition-by-boot.lnav') diff --git a/src/scripts/partition-by-boot.lnav b/src/scripts/partition-by-boot.lnav new file mode 100644 index 0000000..e052774 --- /dev/null +++ b/src/scripts/partition-by-boot.lnav @@ -0,0 +1,12 @@ +# +# DO NOT EDIT THIS FILE, IT WILL BE OVERWRITTEN! +# +# @synopsis: partition-by-boot +# @description: Partition the log view based on boot messages from the Linux kernel. +# + +;UPDATE syslog_log + SET log_part = 'Boot: ' || log_time + WHERE log_text LIKE '%kernel:%Linux version%'; + +;SELECT 'Created ' || changes() || ' partitions(s)'; -- cgit v1.2.3