You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2026/03/03 12:56:11 UTC

(skywalking) 26/27: Remove Maven ${revision} property and flatten-maven-plugin; hardcode version 10.4.0-SNAPSHOT

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch groovy-replace
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 1ea91b0e272ab8608bdbc96ab47a7dc12dc4ed53
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Tue Mar 3 20:04:41 2026 +0800

    Remove Maven ${revision} property and flatten-maven-plugin; hardcode version 10.4.0-SNAPSHOT
    
    Replace CI-friendly ${revision} with hardcoded 10.4.0-SNAPSHOT in all 104 POMs.
    This eliminates persistent "Could not find artifact ...pom:${revision}" errors
    when building individual modules without -am. Also removes flatten-maven-plugin
    (no longer needed), updates release scripts to use versions:set, and wires
    LALSourceTypeProvider SPI for envoy-als extraLog type resolution in tests.
    
    Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
---
 .gitignore                                         |   1 -
 CLAUDE.md                                          |  22 --
 apm-dist/pom.xml                                   |   2 +-
 apm-protocol/apm-network/pom.xml                   |   2 +-
 apm-protocol/pom.xml                               |   2 +-
 apm-webapp/pom.xml                                 |   2 +-
 docs/en/changes/changes.md                         |   1 +
 oap-server-bom/pom.xml                             |   2 +-
 oap-server/ai-pipeline/pom.xml                     |   2 +-
 oap-server/analyzer/agent-analyzer/pom.xml         |   2 +-
 oap-server/analyzer/event-analyzer/pom.xml         |   2 +-
 oap-server/analyzer/hierarchy/pom.xml              |   2 +-
 oap-server/analyzer/log-analyzer/CLAUDE.md         |  24 +-
 oap-server/analyzer/log-analyzer/pom.xml           |   2 +-
 .../analyzer/v2/compiler/LALClassGenerator.java    | 306 ++++++++++++---------
 .../log/analyzer/v2/compiler/LALScriptParser.java  |  15 +
 .../analyzer/v2/compiler/rt/LalRuntimeHelper.java  |  16 --
 .../skywalking/oap/log/analyzer/v2/dsl/DSL.java    |   2 +-
 .../oap/log/analyzer/v2/dsl/ExecutionContext.java  |  57 ----
 .../oap/log/analyzer/v2/dsl/spec/AbstractSpec.java |  11 -
 .../v2/dsl/spec/extractor/ExtractorSpec.java       |  37 +--
 .../provider/log/listener/LogFilterListener.java   |  35 ++-
 .../log/analyzer/v2/spi/LALSourceTypeProvider.java |  53 ++++
 .../v2/compiler/LALClassGeneratorTest.java         |  57 +++-
 .../v2/compiler/LALExpressionExecutionTest.java    |  30 +-
 .../v2/compiler/TestMeshLALSourceTypeProvider.java |  34 +++
 ...g.oap.log.analyzer.v2.spi.LALSourceTypeProvider |   1 +
 oap-server/analyzer/meter-analyzer/pom.xml         |   2 +-
 .../apache/skywalking/mal/rt/grammar/MALParser.g4  |   6 +-
 .../analyzer/v2/compiler/MALClassGenerator.java    |  78 +++++-
 .../analyzer/v2/compiler/MALExpressionModel.java   |  22 ++
 .../analyzer/v2/compiler/MALScriptParser.java      |  75 ++++-
 oap-server/analyzer/pom.xml                        |   2 +-
 oap-server/exporter/pom.xml                        |   2 +-
 oap-server/mqe-grammar/pom.xml                     |   2 +-
 oap-server/mqe-rt/pom.xml                          |   2 +-
 oap-server/oal-grammar/pom.xml                     |   2 +-
 oap-server/oal-rt/pom.xml                          |   2 +-
 oap-server/pom.xml                                 |   2 +-
 oap-server/server-alarm-plugin/pom.xml             |   2 +-
 .../cluster-consul-plugin/pom.xml                  |   2 +-
 .../cluster-etcd-plugin/pom.xml                    |   2 +-
 .../cluster-kubernetes-plugin/pom.xml              |   2 +-
 .../cluster-nacos-plugin/pom.xml                   |   2 +-
 .../cluster-standalone-plugin/pom.xml              |   2 +-
 .../cluster-zookeeper-plugin/pom.xml               |   2 +-
 oap-server/server-cluster-plugin/pom.xml           |   2 +-
 .../server-configuration/configuration-api/pom.xml |   2 +-
 .../configuration-apollo/pom.xml                   |   2 +-
 .../configuration-consul/pom.xml                   |   2 +-
 .../configuration-etcd/pom.xml                     |   2 +-
 .../configuration-k8s-configmap/pom.xml            |   2 +-
 .../configuration-nacos/pom.xml                    |   2 +-
 .../configuration-zookeeper/pom.xml                |   2 +-
 .../grpc-configuration-sync/pom.xml                |   2 +-
 oap-server/server-configuration/pom.xml            |   2 +-
 oap-server/server-core/pom.xml                     |   2 +-
 .../cilium-fetcher-plugin/pom.xml                  |   2 +-
 .../server-fetcher-plugin/fetcher-proto/pom.xml    |   2 +-
 .../kafka-fetcher-plugin/pom.xml                   |   2 +-
 oap-server/server-fetcher-plugin/pom.xml           |   2 +-
 oap-server/server-health-checker/pom.xml           |   2 +-
 .../library-async-profiler-jfr-parser/pom.xml      |   2 +-
 .../server-library/library-banyandb-client/pom.xml |   2 +-
 .../server-library/library-batch-queue/pom.xml     |   2 +-
 oap-server/server-library/library-client/pom.xml   |   2 +-
 .../library-elasticsearch-client/pom.xml           |   2 +-
 .../library-integration-test/pom.xml               |   2 +-
 .../library-kubernetes-support/pom.xml             |   2 +-
 oap-server/server-library/library-module/pom.xml   |   2 +-
 .../server-library/library-pprof-parser/pom.xml    |   2 +-
 oap-server/server-library/library-server/pom.xml   |   2 +-
 oap-server/server-library/library-util/pom.xml     |   2 +-
 oap-server/server-library/pom.xml                  |   2 +-
 .../server-query-plugin/logql-plugin/pom.xml       |   2 +-
 oap-server/server-query-plugin/pom.xml             |   2 +-
 .../server-query-plugin/promql-plugin/pom.xml      |   2 +-
 .../query-graphql-plugin/pom.xml                   |   2 +-
 .../status-query-plugin/pom.xml                    |   2 +-
 .../zipkin-query-plugin/pom.xml                    |   2 +-
 .../aws-firehose-receiver/pom.xml                  |   2 +-
 .../pom.xml                                        |   2 +-
 .../envoy-metrics-receiver-plugin/pom.xml          |   2 +-
 .../envoy/EnvoyHTTPLALSourceTypeProvider.java      |  39 +++
 ...g.oap.log.analyzer.v2.spi.LALSourceTypeProvider |   1 +
 .../otel-receiver-plugin/pom.xml                   |   2 +-
 oap-server/server-receiver-plugin/pom.xml          |   2 +-
 .../server-receiver-plugin/receiver-proto/pom.xml  |   2 +-
 .../pom.xml                                        |   2 +-
 .../skywalking-browser-receiver-plugin/pom.xml     |   2 +-
 .../skywalking-clr-receiver-plugin/pom.xml         |   2 +-
 .../skywalking-ebpf-receiver-plugin/pom.xml        |   2 +-
 .../skywalking-event-receiver-plugin/pom.xml       |   2 +-
 .../skywalking-jvm-receiver-plugin/pom.xml         |   2 +-
 .../skywalking-log-receiver-plugin/pom.xml         |   2 +-
 .../skywalking-management-receiver-plugin/pom.xml  |   2 +-
 .../skywalking-mesh-receiver-plugin/pom.xml        |   2 +-
 .../skywalking-meter-receiver-plugin/pom.xml       |   2 +-
 .../skywalking-pprof-receiver-plugin/pom.xml       |   2 +-
 .../skywalking-profile-receiver-plugin/pom.xml     |   2 +-
 .../skywalking-sharing-server-plugin/pom.xml       |   2 +-
 .../skywalking-telegraf-receiver-plugin/pom.xml    |   2 +-
 .../skywalking-trace-receiver-plugin/pom.xml       |   2 +-
 .../skywalking-zabbix-receiver-plugin/pom.xml      |   2 +-
 .../zipkin-receiver-plugin/pom.xml                 |   2 +-
 oap-server/server-starter/pom.xml                  |   2 +-
 .../src/main/resources/lal/envoy-als.yaml          |   6 +-
 oap-server/server-storage-plugin/pom.xml           |   2 +-
 .../storage-banyandb-plugin/pom.xml                |   2 +-
 .../storage-elasticsearch-plugin/pom.xml           |   2 +-
 .../storage-jdbc-hikaricp-plugin/pom.xml           |   2 +-
 oap-server/server-telemetry/pom.xml                |   2 +-
 oap-server/server-telemetry/telemetry-api/pom.xml  |   2 +-
 .../server-telemetry/telemetry-prometheus/pom.xml  |   2 +-
 oap-server/server-testing/pom.xml                  |   2 +-
 oap-server/server-tools/data-generator/pom.xml     |   2 +-
 oap-server/server-tools/pom.xml                    |   2 +-
 oap-server/server-tools/profile-exporter/pom.xml   |   4 +-
 .../tool-profile-snapshot-bootstrap/pom.xml        |   4 +-
 .../tool-profile-snapshot-exporter/pom.xml         |   4 +-
 .../tool-profile-snapshot-server-mock/pom.xml      |   4 +-
 pom.xml                                            |  19 +-
 .../hierarchy-v1-v2-checker/pom.xml                |   2 +-
 .../hierarchy-v1-with-groovy/pom.xml               |   2 +-
 .../lal-v1-with-groovy/pom.xml                     |   2 +-
 .../log/analyzer/dsl/spec/sink/SamplerSpec.java    |  15 +
 .../mal-lal-v1-v2-checker/pom.xml                  |   9 +-
 .../oap/server/checker/lal/LalComparisonTest.java  | 163 +++++++++--
 .../checker/lal/TestMeshLALSourceTypeProvider.java |  34 +++
 .../oap/server/checker/mal/MalComparisonTest.java  |  49 ++--
 ...g.oap.log.analyzer.v2.spi.LALSourceTypeProvider |   1 +
 .../mal-v1-with-groovy/pom.xml                     |   2 +-
 .../skywalking/oap/meter/analyzer/dsl/DSL.java     |   1 +
 .../script-runtime-with-groovy/pom.xml             |   2 +-
 .../scripts/lal/test-lal/oap-cases/envoy-als.yaml  |   3 +-
 tools/releasing/create_release_tars.sh             |   6 +-
 tools/releasing/start_next_version.sh              |   6 +-
 137 files changed, 968 insertions(+), 479 deletions(-)

diff --git a/.gitignore b/.gitignore
index ccfb27257a..9c97d40a42 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,6 @@
 /build/
 target/
 .idea/
-.flattened-pom.xml
 *.iml
 .classpath
 .project
diff --git a/CLAUDE.md b/CLAUDE.md
index dc6f946e15..dfa342ad0b 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -81,28 +81,6 @@ git submodule init && git submodule update
 - `dist` (default): Creates distribution packages
 - `all`: Builds everything including submodule initialization
 
-### CI-Friendly `${revision}` Property
-
-SkyWalking uses Maven's CI-friendly `${revision}` property (defined in the root `pom.xml`) instead of hardcoded version numbers. The `flatten-maven-plugin` resolves `${revision}` at install time, but POMs installed to `~/.m2/repository` may retain the unresolved `${revision}` literal. This causes `Could not find artifact org.apache.skywalking:...:pom:${revision}` errors when building individual modules with `-pl` (without `-am` to rebuild all ancestors from source).
-
-**Prevention**: When building individual modules, always include their ancestor modules via `-am`:
-```bash
-# GOOD: -am builds all ancestor modules from source, avoiding cached POM issues
-./mvnw install -pl oap-server/analyzer/meter-analyzer -am -DskipTests
-
-# RISKY: without -am, Maven resolves ancestors from ~/.m2 which may have broken ${revision}
-./mvnw install -pl oap-server/analyzer/meter-analyzer -DskipTests
-```
-
-**Fix if it happens**: Remove and reinstall the broken cached artifacts:
-```bash
-# Delete all SkyWalking SNAPSHOT artifacts from local cache
-rm -rf ~/.m2/repository/org/apache/skywalking/*/10.4.0-SNAPSHOT
-
-# Rebuild and install from source
-./mvnw install -DskipTests -q
-```
-
 ## Architecture & Key Concepts
 
 ### Module System
diff --git a/apm-dist/pom.xml b/apm-dist/pom.xml
index 106fce645b..5fc0a68b96 100644
--- a/apm-dist/pom.xml
+++ b/apm-dist/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>apm</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/apm-protocol/apm-network/pom.xml b/apm-protocol/apm-network/pom.xml
index 2be48f6939..a494ebad2b 100644
--- a/apm-protocol/apm-network/pom.xml
+++ b/apm-protocol/apm-network/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-protocol</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/apm-protocol/pom.xml b/apm-protocol/pom.xml
index 201570eedc..8c24423c3e 100644
--- a/apm-protocol/pom.xml
+++ b/apm-protocol/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>apm</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/apm-webapp/pom.xml b/apm-webapp/pom.xml
index 138b48a49d..8872e03aa1 100644
--- a/apm-webapp/pom.xml
+++ b/apm-webapp/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>apm</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md
index 167724adbb..e378def89b 100644
--- a/docs/en/changes/changes.md
+++ b/docs/en/changes/changes.md
@@ -1,6 +1,7 @@
 ## 10.4.0
 
 #### Project
+* Remove Maven CI-friendly `${revision}` property and `flatten-maven-plugin`; use hardcoded version numbers in all POMs.
 * Introduce OAL V2 engine:
   - Immutable AST models for thread safety and predictable behavior
   - Type-safe enums replacing string-based filter operators
diff --git a/oap-server-bom/pom.xml b/oap-server-bom/pom.xml
index f6177d4135..5c2d337b5e 100644
--- a/oap-server-bom/pom.xml
+++ b/oap-server-bom/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>apm</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <packaging>pom</packaging>
     <modelVersion>4.0.0</modelVersion>
diff --git a/oap-server/ai-pipeline/pom.xml b/oap-server/ai-pipeline/pom.xml
index ddcf480d7c..9878e1f9f0 100644
--- a/oap-server/ai-pipeline/pom.xml
+++ b/oap-server/ai-pipeline/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.skywalking</groupId>
         <artifactId>oap-server</artifactId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
 
     <groupId>org.apache.skywalking</groupId>
diff --git a/oap-server/analyzer/agent-analyzer/pom.xml b/oap-server/analyzer/agent-analyzer/pom.xml
index b4b96cd62e..2fa964fca2 100644
--- a/oap-server/analyzer/agent-analyzer/pom.xml
+++ b/oap-server/analyzer/agent-analyzer/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>analyzer</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/analyzer/event-analyzer/pom.xml b/oap-server/analyzer/event-analyzer/pom.xml
index 69179b753b..540ba962cb 100644
--- a/oap-server/analyzer/event-analyzer/pom.xml
+++ b/oap-server/analyzer/event-analyzer/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>analyzer</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/analyzer/hierarchy/pom.xml b/oap-server/analyzer/hierarchy/pom.xml
index 04adce9ed0..e0e5f385ef 100644
--- a/oap-server/analyzer/hierarchy/pom.xml
+++ b/oap-server/analyzer/hierarchy/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>analyzer</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/analyzer/log-analyzer/CLAUDE.md b/oap-server/analyzer/log-analyzer/CLAUDE.md
index 273c525c51..07f0924e55 100644
--- a/oap-server/analyzer/log-analyzer/CLAUDE.md
+++ b/oap-server/analyzer/log-analyzer/CLAUDE.md
@@ -107,25 +107,23 @@ The generator detects the parser type from the AST at compile time and generates
 | JSON/YAML nested | `parsed.a.b` | `h.mapVal("a", "b")` |
 | TEXT (regexp) | `parsed.level` | `h.group("level")` |
 | NONE + extraLogType | `parsed.response.code` | `((ExtraLogType) h.ctx().extraLog()).getResponse().getCode()` |
-| NONE (fallback) | `parsed.x` | `LalRuntimeHelper.getAt(ctx.parsed(), "x")` |
+| NONE + no type | `parsed.x` | **Compile error — fails boot** |
 | log fields | `log.service` | `h.ctx().log().getService()` |
 | log trace | `log.traceContext.traceId` | `h.ctx().log().getTraceContext().getTraceId()` |
 | tags | `tag("KEY")` | `h.tagValue("KEY")` |
 
-### extraLogType
+### extraLogType and LALSourceTypeProvider SPI
 
-For LAL rules that process typed protobuf extra logs (e.g., envoy-als), declare `extraLogType` in the YAML config:
+For LAL rules with no DSL parser (`json{}`/`yaml{}`/`text{}`), the compiler needs a type to generate direct getter calls on `parsed.*` fields. Per-rule resolution order:
 
-```yaml
-rules:
-  - name: envoy-als
-    layer: MESH
-    extraLogType: io.envoyproxy.envoy.data.accesslog.v3.HTTPAccessLogEntry
-    dsl: |
-      filter { ... }
-```
+1. **DSL parser** (`json{}`, `yaml{}`, `text{}`) — parser wins, extraLogType is ignored
+2. **Explicit `extraLogType`** in YAML rule config — FQCN string, resolved via `Class.forName()`
+3. **`LALSourceTypeProvider` SPI** — default extraLogType for a layer, discovered via `ServiceLoader`
+4. **Compile error** — if none of the above and the rule accesses `parsed.*`, boot fails
+
+The SPI interface is in `org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider`. Receiver plugins implement it and register in `META-INF/services/`. Example: `EnvoyHTTPLALSourceTypeProvider` registers `HTTPAccessLogEntry` for `Layer.MESH`.
 
-The compiler resolves getter chains at compile time using `Class.forName(extraLogType)`. If `extraLogType` is null and no parser is present, a warning is logged and runtime reflection (`getAt`) is used as fallback.
+A single YAML file can have rules with different input types (e.g., `envoy-als.yaml` has a proto-based rule and a `json{}` rule, both in layer MESH). Resolution is per-rule, not per-file.
 
 ## Example
 
@@ -165,8 +163,6 @@ Instance-based helper created at the start of `execute()`, holds the `ExecutionC
 
 **Safe navigation:** `toString()`, `trim()`
 
-**Legacy static:** `getAt(Object, String)` — kept for fallback when no parser or extraLogType
-
 ## Null-Safe String Conversion
 
 Generated code calls `h.toStr()` instead of `String.valueOf()` for casting parsed values to String.
diff --git a/oap-server/analyzer/log-analyzer/pom.xml b/oap-server/analyzer/log-analyzer/pom.xml
index 180a8435df..1d2fdcbdfd 100644
--- a/oap-server/analyzer/log-analyzer/pom.xml
+++ b/oap-server/analyzer/log-analyzer/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>analyzer</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALClassGenerator.java b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALClassGenerator.java
index 50109c6abe..a721d8e973 100644
--- a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALClassGenerator.java
+++ b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALClassGenerator.java
@@ -67,7 +67,7 @@ public final class LALClassGenerator {
     private final ClassPool classPool;
     private File classOutputDir;
     private String classNameHint;
-    private String extraLogType;
+    private Class<?> extraLogType;
 
     // ==================== Parser type detection ====================
 
@@ -85,11 +85,17 @@ public final class LALClassGenerator {
 
     private static class GenCtx {
         final ParserType parserType;
-        final String extraLogType;
+        final Class<?> extraLogType;
         final List<PrivateMethod> privateMethods = new ArrayList<>();
         final Map<String, Integer> methodCounts = new HashMap<>();
 
-        GenCtx(final ParserType parserType, final String extraLogType) {
+        // Set by generateExtraLogAccess for primitive optimization in callers.
+        // Reset to null by generateValueAccess at the start of each value access.
+        Class<?> lastResolvedType;
+        String lastNullChecks;
+        String lastRawChain;
+
+        GenCtx(final ParserType parserType, final Class<?> extraLogType) {
             this.parserType = parserType;
             this.extraLogType = extraLogType;
         }
@@ -98,6 +104,12 @@ public final class LALClassGenerator {
             final int count = methodCounts.merge(prefix, 1, Integer::sum);
             return count == 1 ? "_" + prefix : "_" + prefix + "_" + count;
         }
+
+        void clearExtraLogResult() {
+            lastResolvedType = null;
+            lastNullChecks = null;
+            lastRawChain = null;
+        }
     }
 
     public LALClassGenerator() {
@@ -116,7 +128,7 @@ public final class LALClassGenerator {
         this.classNameHint = hint;
     }
 
-    public void setExtraLogType(final String extraLogType) {
+    public void setExtraLogType(final Class<?> extraLogType) {
         this.extraLogType = extraLogType;
     }
 
@@ -238,13 +250,9 @@ public final class LALClassGenerator {
         final ParserType parserType = detectParserType(model.getStatements());
         final GenCtx genCtx = new GenCtx(parserType, this.extraLogType);
 
-        if (parserType == ParserType.NONE && this.extraLogType == null) {
-            if (hasParsedAccess(model.getStatements())) {
-                log.warn("LAL rule accesses parsed fields without a parser and without "
-                    + "extraLogType — using runtime reflection, which may impact "
-                    + "performance. Declare extraLogType in the LAL config to enable "
-                    + "direct proto getter calls.");
-            }
+        if (parserType == ParserType.NONE && this.extraLogType != null) {
+            log.info("LAL rule has no parser — using extraLogType {} for "
+                + "direct getter calls.", this.extraLogType.getName());
         }
 
         final String executeBody = generateExecuteMethod(model, genCtx);
@@ -650,29 +658,13 @@ public final class LALClassGenerator {
     private void generateTagAssignment(final StringBuilder sb,
                                          final LALScriptModel.TagAssignment tag,
                                          final GenCtx genCtx) {
-        final Map<String, LALScriptModel.TagValue> tags = tag.getTags();
-        if (tags.isEmpty()) {
-            return;
-        }
-        if (tags.size() == 1) {
-            final Map.Entry<String, LALScriptModel.TagValue> entry =
-                tags.entrySet().iterator().next();
-            sb.append("  _e.tag(h.ctx(), java.util.Collections.singletonMap(\"")
+        for (final Map.Entry<String, LALScriptModel.TagValue> entry
+                : tag.getTags().entrySet()) {
+            sb.append("  _e.tag(h.ctx(), \"")
               .append(escapeJava(entry.getKey())).append("\", ");
-            generateCastedValueAccess(sb, entry.getValue().getValue(),
+            generateStringValueAccess(sb, entry.getValue().getValue(),
                 entry.getValue().getCastType(), genCtx);
-            sb.append("));\n");
-        } else {
-            sb.append("  { java.util.Map _tagMap = new java.util.LinkedHashMap();\n");
-            for (final Map.Entry<String, LALScriptModel.TagValue> entry
-                    : tags.entrySet()) {
-                sb.append("    _tagMap.put(\"")
-                  .append(escapeJava(entry.getKey())).append("\", ");
-                generateCastedValueAccess(sb, entry.getValue().getValue(),
-                    entry.getValue().getCastType(), genCtx);
-                sb.append(");\n");
-            }
-            sb.append("    _e.tag(h.ctx(), _tagMap); }\n");
+            sb.append(");\n");
         }
     }
 
@@ -837,28 +829,16 @@ public final class LALClassGenerator {
                     sb.append(")");
                     break;
                 case GT:
-                    sb.append("h.toLong(");
-                    generateValueAccessObj(sb, cc.getLeft(), null, genCtx);
-                    sb.append(") > ");
-                    generateConditionValueNumeric(sb, cc.getRight(), genCtx);
+                    generateNumericComparison(sb, cc, " > ", genCtx);
                     break;
                 case LT:
-                    sb.append("h.toLong(");
-                    generateValueAccessObj(sb, cc.getLeft(), null, genCtx);
-                    sb.append(") < ");
-                    generateConditionValueNumeric(sb, cc.getRight(), genCtx);
+                    generateNumericComparison(sb, cc, " < ", genCtx);
                     break;
                 case GTE:
-                    sb.append("h.toLong(");
-                    generateValueAccessObj(sb, cc.getLeft(), null, genCtx);
-                    sb.append(") >= ");
-                    generateConditionValueNumeric(sb, cc.getRight(), genCtx);
+                    generateNumericComparison(sb, cc, " >= ", genCtx);
                     break;
                 case LTE:
-                    sb.append("h.toLong(");
-                    generateValueAccessObj(sb, cc.getLeft(), null, genCtx);
-                    sb.append(") <= ");
-                    generateConditionValueNumeric(sb, cc.getRight(), genCtx);
+                    generateNumericComparison(sb, cc, " <= ", genCtx);
                     break;
                 default:
                     break;
@@ -889,6 +869,37 @@ public final class LALClassGenerator {
         }
     }
 
+    private void generateNumericComparison(
+            final StringBuilder sb,
+            final LALScriptModel.ComparisonCondition cc,
+            final String op,
+            final GenCtx genCtx) {
+        // Generate left side into buffer to inspect resolved type
+        final StringBuilder leftBuf = new StringBuilder();
+        generateValueAccessObj(leftBuf, cc.getLeft(), null, genCtx);
+
+        final boolean primitiveNumeric = genCtx.lastResolvedType != null
+            && (genCtx.lastResolvedType == int.class
+                || genCtx.lastResolvedType == long.class);
+
+        if (primitiveNumeric && genCtx.lastRawChain != null) {
+            // Direct primitive comparison — no boxing, no h.toLong()
+            if (genCtx.lastNullChecks != null) {
+                sb.append("(").append(genCtx.lastNullChecks).append(" ? false : ")
+                  .append(genCtx.lastRawChain).append(op);
+                generateConditionValueNumeric(sb, cc.getRight(), genCtx);
+                sb.append(")");
+            } else {
+                sb.append(genCtx.lastRawChain).append(op);
+                generateConditionValueNumeric(sb, cc.getRight(), genCtx);
+            }
+        } else {
+            // Fallback: h.toLong() conversion
+            sb.append("h.toLong(").append(leftBuf).append(")").append(op);
+            generateConditionValueNumeric(sb, cc.getRight(), genCtx);
+        }
+    }
+
     private void generateConditionValue(final StringBuilder sb,
                                          final LALScriptModel.ConditionValue cv,
                                          final GenCtx genCtx) {
@@ -959,6 +970,33 @@ public final class LALClassGenerator {
         }
     }
 
+    private void generateStringValueAccess(final StringBuilder sb,
+                                             final LALScriptModel.ValueAccess value,
+                                             final String castType,
+                                             final GenCtx genCtx) {
+        if (castType == null || "String".equals(castType)) {
+            sb.append("h.toStr(");
+            generateValueAccess(sb, value, genCtx);
+            sb.append(")");
+        } else if ("Long".equals(castType)) {
+            sb.append("String.valueOf(h.toLong(");
+            generateValueAccess(sb, value, genCtx);
+            sb.append("))");
+        } else if ("Integer".equals(castType)) {
+            sb.append("String.valueOf(h.toInt(");
+            generateValueAccess(sb, value, genCtx);
+            sb.append("))");
+        } else if ("Boolean".equals(castType)) {
+            sb.append("String.valueOf(h.toBool(");
+            generateValueAccess(sb, value, genCtx);
+            sb.append("))");
+        } else {
+            sb.append("h.toStr(");
+            generateValueAccess(sb, value, genCtx);
+            sb.append(")");
+        }
+    }
+
     private void generateValueAccessObj(final StringBuilder sb,
                                          final LALScriptModel.ValueAccess value,
                                          final String castType,
@@ -975,6 +1013,8 @@ public final class LALClassGenerator {
     private void generateValueAccess(final StringBuilder sb,
                                       final LALScriptModel.ValueAccess value,
                                       final GenCtx genCtx) {
+        genCtx.clearExtraLogResult();
+
         // Handle function call primaries (e.g., tag("LOG_KIND"))
         if (value.getFunctionCallName() != null) {
             if ("tag".equals(value.getFunctionCallName())
@@ -1092,9 +1132,10 @@ public final class LALClassGenerator {
                         boxType = "Integer";
                     }
                 } else {
-                    // Fall back to getAt for unknown sub-fields
-                    current = H + ".getAt(" + current + ", \""
-                        + escapeJava(name) + "\")";
+                    throw new IllegalArgumentException(
+                        "Unknown log field: log." + name
+                            + ". Supported fields: " + LOG_GETTERS.keySet()
+                            + ", traceContext." + TRACE_CONTEXT_GETTERS.keySet());
                 }
             } else if (seg instanceof LALScriptModel.MethodSegment) {
                 current = appendMethodSegment(current, (LALScriptModel.MethodSegment) seg);
@@ -1120,18 +1161,23 @@ public final class LALClassGenerator {
         }
 
         // Collect leading field segments
-        final List<String> fieldKeys = new ArrayList<>();
+        final List<LALScriptModel.FieldSegment> fieldSegments = new ArrayList<>();
         int methodStart = -1;
         for (int i = 0; i < chain.size(); i++) {
             final LALScriptModel.ValueAccessSegment seg = chain.get(i);
             if (seg instanceof LALScriptModel.FieldSegment) {
-                fieldKeys.add(((LALScriptModel.FieldSegment) seg).getName());
+                fieldSegments.add((LALScriptModel.FieldSegment) seg);
             } else {
                 methodStart = i;
                 break;
             }
         }
 
+        final List<String> fieldKeys = new ArrayList<>();
+        for (final LALScriptModel.FieldSegment fs : fieldSegments) {
+            fieldKeys.add(fs.getName());
+        }
+
         String current;
         switch (genCtx.parserType) {
             case JSON:
@@ -1147,14 +1193,18 @@ public final class LALClassGenerator {
                 break;
             case NONE:
                 if (genCtx.extraLogType != null) {
-                    current = generateExtraLogAccess(fieldKeys, genCtx.extraLogType);
+                    current = generateExtraLogAccess(fieldSegments, genCtx.extraLogType,
+                        genCtx);
                 } else {
-                    // Fallback to runtime getAt
-                    current = "h.ctx().parsed()";
-                    for (final String key : fieldKeys) {
-                        current = H + ".getAt(" + current + ", \""
-                            + escapeJava(key) + "\")";
-                    }
+                    throw new IllegalStateException(
+                        "LAL rule accesses parsed.* fields ("
+                            + String.join(".", fieldKeys)
+                            + ") but type is unknown — no parser (json/yaml/text), "
+                            + "no extraLogType in YAML config, and no "
+                            + "LALSourceTypeProvider SPI registered for this layer. "
+                            + "Either add a parser to the DSL, declare extraLogType "
+                            + "in the YAML config, or register an SPI provider in "
+                            + "the receiver plugin.");
                 }
                 break;
             default:
@@ -1170,10 +1220,10 @@ public final class LALClassGenerator {
                     current = appendMethodSegment(current,
                         (LALScriptModel.MethodSegment) seg);
                 } else if (seg instanceof LALScriptModel.FieldSegment) {
-                    final String name =
-                        ((LALScriptModel.FieldSegment) seg).getName();
-                    current = H + ".getAt(" + current + ", \""
-                        + escapeJava(name) + "\")";
+                    throw new IllegalArgumentException(
+                        "Field access after method call is not supported: ."
+                            + ((LALScriptModel.FieldSegment) seg).getName()
+                            + " — all field segments must precede method calls.");
                 }
             }
         }
@@ -1196,72 +1246,82 @@ public final class LALClassGenerator {
         return call.toString();
     }
 
-    private String generateExtraLogAccess(final List<String> fieldKeys,
-                                           final String extraLogTypeName) {
-        if (fieldKeys.isEmpty()) {
+    private String generateExtraLogAccess(
+            final List<LALScriptModel.FieldSegment> fieldSegments,
+            final Class<?> extraLogType,
+            final GenCtx genCtx) {
+        if (fieldSegments.isEmpty()) {
             return "h.ctx().extraLog()";
         }
 
-        try {
-            final Class<?> rootType = Class.forName(extraLogTypeName);
-            final StringBuilder accessSb = new StringBuilder();
-            accessSb.append("((").append(extraLogTypeName)
-                     .append(") h.ctx().extraLog())");
-
-            Class<?> currentType = rootType;
-            boolean lastIsPrimitive = false;
-            String lastPrimitiveType = null;
-
-            for (final String field : fieldKeys) {
-                final String getterName = "get" + Character.toUpperCase(field.charAt(0))
-                    + field.substring(1);
-                try {
-                    final java.lang.reflect.Method getter =
-                        currentType.getMethod(getterName);
-                    accessSb.append(".").append(getterName).append("()");
-                    currentType = getter.getReturnType();
-                    lastIsPrimitive = currentType.isPrimitive();
-                    if (lastIsPrimitive) {
-                        if (currentType == long.class) {
-                            lastPrimitiveType = "Long";
-                        } else if (currentType == int.class) {
-                            lastPrimitiveType = "Integer";
-                        } else if (currentType == boolean.class) {
-                            lastPrimitiveType = "Boolean";
-                        } else if (currentType == double.class) {
-                            lastPrimitiveType = "Double";
-                        } else if (currentType == float.class) {
-                            lastPrimitiveType = "Float";
-                        }
-                    }
-                } catch (NoSuchMethodException e) {
-                    // Try hasXxx for protobuf wrapper presence check
-                    log.warn("Cannot resolve getter {}.{}() — falling back to "
-                        + "runtime reflection", currentType.getSimpleName(), getterName);
-                    // Fallback: wrap what we have so far in getAt calls
-                    String current = accessSb.toString();
-                    for (int i = fieldKeys.indexOf(field); i < fieldKeys.size(); i++) {
-                        current = H + ".getAt(" + current + ", \""
-                            + escapeJava(fieldKeys.get(i)) + "\")";
-                    }
-                    return current;
-                }
-            }
+        final String typeName = extraLogType.getName();
+        final StringBuilder chainSb = new StringBuilder();
+        chainSb.append("((").append(typeName)
+               .append(") h.ctx().extraLog())");
 
-            if (lastIsPrimitive && lastPrimitiveType != null) {
-                return lastPrimitiveType + ".valueOf(" + accessSb.toString() + ")";
+        final List<String> nullChecks = new ArrayList<>();
+        Class<?> currentType = extraLogType;
+        boolean lastIsPrimitive = false;
+        String lastPrimitiveType = null;
+
+        for (final LALScriptModel.FieldSegment seg : fieldSegments) {
+            final String field = seg.getName();
+            final String getterName = "get" + Character.toUpperCase(field.charAt(0))
+                + field.substring(1);
+
+            // ?. means: check the chain so far for null before calling this getter
+            if (seg.isSafeNav()) {
+                nullChecks.add(chainSb.toString() + " == null");
             }
-            return accessSb.toString();
-        } catch (ClassNotFoundException e) {
-            log.warn("Cannot load extraLogType class '{}' — falling back to "
-                + "runtime reflection", extraLogTypeName);
-            String current = "h.ctx().parsed()";
-            for (final String key : fieldKeys) {
-                current = H + ".getAt(" + current + ", \""
-                    + escapeJava(key) + "\")";
+
+            try {
+                final java.lang.reflect.Method getter =
+                    currentType.getMethod(getterName);
+                chainSb.append(".").append(getterName).append("()");
+                currentType = getter.getReturnType();
+                lastIsPrimitive = currentType.isPrimitive();
+                if (lastIsPrimitive) {
+                    lastPrimitiveType = boxTypeName(currentType);
+                }
+            } catch (NoSuchMethodException e) {
+                throw new IllegalArgumentException(
+                    "Cannot resolve getter " + currentType.getSimpleName()
+                        + "." + getterName + "() for extraLogType "
+                        + typeName + ". Check the field path in the LAL rule.");
             }
-            return current;
         }
+
+        // Store metadata for callers that can optimize (e.g., numeric comparisons)
+        genCtx.lastResolvedType = currentType;
+        genCtx.lastRawChain = chainSb.toString();
+        genCtx.lastNullChecks = nullChecks.isEmpty()
+            ? null : String.join(" || ", nullChecks);
+
+        // Default return: boxed + null-checked (safe for all callers)
+        String result = chainSb.toString();
+        if (lastIsPrimitive && lastPrimitiveType != null) {
+            result = lastPrimitiveType + ".valueOf(" + result + ")";
+        }
+
+        if (!nullChecks.isEmpty()) {
+            return "(" + genCtx.lastNullChecks + " ? null : " + result + ")";
+        }
+        return result;
+    }
+
+    private static String boxTypeName(final Class<?> primitiveType) {
+        if (primitiveType == int.class) {
+            return "Integer";
+        } else if (primitiveType == long.class) {
+            return "Long";
+        } else if (primitiveType == boolean.class) {
+            return "Boolean";
+        } else if (primitiveType == double.class) {
+            return "Double";
+        } else if (primitiveType == float.class) {
+            return "Float";
+        }
+        return null;
     }
 
     private String appendMethodSegment(final String current,
diff --git a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALScriptParser.java b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALScriptParser.java
index 3aebe99a78..421a8b6515 100644
--- a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALScriptParser.java
+++ b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALScriptParser.java
@@ -626,6 +626,21 @@ public final class LALScriptParser {
         if (ctx instanceof LALParser.CondValueAccessContext) {
             final LALParser.CondValueAccessContext va =
                 (LALParser.CondValueAccessContext) ctx;
+            // ANTLR grammar routes NUMBER/NULL/STRING/bool through condValueAccess
+            // (since valueAccessPrimary includes them and condValueAccess has priority).
+            // Detect standalone literals and create proper ConditionValue types.
+            if (va.typeCast() == null
+                && va.valueAccess().valueAccessSegment().isEmpty()) {
+                final LALParser.ValueAccessPrimaryContext primary =
+                    va.valueAccess().valueAccessPrimary();
+                if (primary instanceof LALParser.ValueNumberContext) {
+                    return new NumberConditionValue(Double.parseDouble(
+                        ((LALParser.ValueNumberContext) primary).NUMBER().getText()));
+                }
+                if (primary instanceof LALParser.ValueNullContext) {
+                    return new NullConditionValue();
+                }
+            }
             final String cast = va.typeCast() != null ? extractCastType(va.typeCast()) : null;
             return new ValueAccessConditionValue(visitValueAccess(va.valueAccess()), cast);
         }
diff --git a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/rt/LalRuntimeHelper.java b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/rt/LalRuntimeHelper.java
index 6c7489c715..29b60b0bf2 100644
--- a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/rt/LalRuntimeHelper.java
+++ b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/rt/LalRuntimeHelper.java
@@ -297,20 +297,4 @@ public final class LalRuntimeHelper {
         return obj == null ? null : obj.toString().trim();
     }
 
-    // ==================== Legacy static methods (backward compat) ====================
-    // Kept for existing generated code and tests. New generated code should
-    // use instance methods instead.
-
-    public static Object getAt(final Object obj, final String key) {
-        if (obj == null) {
-            return null;
-        }
-        if (obj instanceof ExecutionContext.Parsed) {
-            return ((ExecutionContext.Parsed) obj).getAt(key);
-        }
-        if (obj instanceof Map) {
-            return ((Map) obj).get(key);
-        }
-        return ExecutionContext.Parsed.getField(obj, key);
-    }
 }
diff --git a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/DSL.java b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/DSL.java
index 947ede6935..e5da0404b0 100644
--- a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/DSL.java
+++ b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/DSL.java
@@ -57,7 +57,7 @@ public class DSL {
     public static DSL of(final ModuleManager moduleManager,
                          final LogAnalyzerModuleConfig config,
                          final String dsl,
-                         final String extraLogType) throws ModuleStartException {
+                         final Class<?> extraLogType) throws ModuleStartException {
         try {
             final LALClassGenerator generator = new LALClassGenerator();
             generator.setExtraLogType(extraLogType);
diff --git a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/ExecutionContext.java b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/ExecutionContext.java
index c363493bcc..449a13cc80 100644
--- a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/ExecutionContext.java
+++ b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/ExecutionContext.java
@@ -17,7 +17,6 @@
 
 package org.apache.skywalking.oap.log.analyzer.v2.dsl;
 
-import com.google.protobuf.Descriptors;
 import com.google.protobuf.Message;
 import java.util.HashMap;
 import java.util.List;
@@ -179,61 +178,5 @@ public class ExecutionContext {
 
         @Getter
         private Message extraLog;
-
-        public Object getAt(final String key) {
-            Object result;
-            if (matcher != null && (result = matcher.group(key)) != null) {
-                return result;
-            }
-            if (map != null && (result = map.get(key)) != null) {
-                return result;
-            }
-            if (extraLog != null && (result = getField(extraLog, key)) != null) {
-                return result;
-            }
-            return null;
-        }
-
-        public static Object getField(final Object obj, final String name) {
-            if (obj instanceof Message) {
-                Descriptors.FieldDescriptor fd =
-                    ((Message) obj).getDescriptorForType().findFieldByName(name);
-                if (fd == null) {
-                    fd = ((Message) obj).getDescriptorForType()
-                        .findFieldByName(camelToSnake(name));
-                }
-                if (fd != null) {
-                    return ((Message) obj).getField(fd);
-                }
-            }
-            if (obj instanceof Message.Builder) {
-                Descriptors.FieldDescriptor fd =
-                    ((Message.Builder) obj).getDescriptorForType().findFieldByName(name);
-                if (fd == null) {
-                    fd = ((Message.Builder) obj).getDescriptorForType()
-                        .findFieldByName(camelToSnake(name));
-                }
-                if (fd != null) {
-                    return ((Message.Builder) obj).getField(fd);
-                }
-            }
-            return null;
-        }
-
-        private static String camelToSnake(final String name) {
-            final StringBuilder sb = new StringBuilder();
-            for (int i = 0; i < name.length(); i++) {
-                final char c = name.charAt(i);
-                if (Character.isUpperCase(c)) {
-                    if (i > 0) {
-                        sb.append('_');
-                    }
-                    sb.append(Character.toLowerCase(c));
-                } else {
-                    sb.append(c);
-                }
-            }
-            return sb.toString();
-        }
     }
 }
diff --git a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/spec/AbstractSpec.java b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/spec/AbstractSpec.java
index 0d54cbc7e5..cf466b072d 100644
--- a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/spec/AbstractSpec.java
+++ b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/spec/AbstractSpec.java
@@ -21,8 +21,6 @@ package org.apache.skywalking.oap.log.analyzer.v2.dsl.spec;
 import lombok.Getter;
 import lombok.RequiredArgsConstructor;
 import lombok.experimental.Accessors;
-import org.apache.skywalking.apm.network.common.v3.KeyStringValuePair;
-import org.apache.skywalking.oap.log.analyzer.v2.dsl.ExecutionContext;
 import org.apache.skywalking.oap.log.analyzer.v2.provider.LogAnalyzerModuleConfig;
 import org.apache.skywalking.oap.server.library.module.ModuleManager;
 
@@ -34,13 +32,4 @@ public abstract class AbstractSpec {
 
     private final LogAnalyzerModuleConfig moduleConfig;
 
-    public String tag(final ExecutionContext ctx, final String key) {
-        return ctx.log().getTags().getDataList()
-                .stream()
-                .filter(data -> key.equals(data.getKey()))
-                .map(KeyStringValuePair::getValue)
-                .findFirst()
-                .orElse("");
-    }
-
 }
diff --git a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/spec/extractor/ExtractorSpec.java b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/spec/extractor/ExtractorSpec.java
index 3e9f5fb813..c4fc8aa8e9 100644
--- a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/spec/extractor/ExtractorSpec.java
+++ b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/dsl/spec/extractor/ExtractorSpec.java
@@ -18,11 +18,9 @@
 
 package org.apache.skywalking.oap.log.analyzer.v2.dsl.spec.extractor;
 
-import com.google.common.base.Joiner;
 import com.google.common.collect.ImmutableMap;
 import java.text.ParseException;
 import java.text.SimpleDateFormat;
-import java.util.Collection;
 import java.util.List;
 import java.util.Map;
 import java.util.Objects;
@@ -58,7 +56,6 @@ import org.apache.skywalking.oap.server.core.source.ServiceMeta;
 import org.apache.skywalking.oap.server.core.source.SourceReceiver;
 import org.apache.skywalking.oap.server.library.module.ModuleManager;
 import org.apache.skywalking.oap.server.library.module.ModuleStartException;
-import org.apache.skywalking.oap.server.library.util.CollectionUtils;
 import org.apache.skywalking.oap.server.library.util.StringUtil;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -124,37 +121,17 @@ public class ExtractorSpec extends AbstractSpec {
         }
     }
 
-    public void tag(final ExecutionContext ctx, final Map<String, ?> kv) {
+    public void tag(final ExecutionContext ctx, final String key, final String value) {
         if (ctx.shouldAbort()) {
             return;
         }
-        if (CollectionUtils.isEmpty(kv)) {
-            return;
+        if (isNotBlank(key) && isNotBlank(value)) {
+            ctx.log().setTags(
+                ctx.log().getTags().toBuilder()
+                    .addData(KeyStringValuePair.newBuilder()
+                        .setKey(key).setValue(value).build())
+            );
         }
-        final LogData.Builder logData = ctx.log();
-        logData.setTags(
-            logData.getTags()
-                   .toBuilder()
-                   .addAllData(
-                       kv.entrySet()
-                         .stream()
-                         .filter(it -> isNotBlank(it.getKey()))
-                         .filter(it -> nonNull(it.getValue()) &&
-                             isNotBlank(Objects.toString(it.getValue())))
-                         .map(it -> {
-                             final Object val = it.getValue();
-                             String valStr = Objects.toString(val);
-                             if (Collection.class.isAssignableFrom(val.getClass())) {
-                                 valStr = Joiner.on(",").skipNulls().join((Collection<?>) val);
-                             }
-                             return KeyStringValuePair.newBuilder()
-                                                      .setKey(it.getKey())
-                                                      .setValue(valStr)
-                                                      .build();
-                         })
-                         .collect(Collectors.toList())
-                   )
-        );
     }
 
     public void traceId(final ExecutionContext ctx, final String traceId) {
diff --git a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/provider/log/listener/LogFilterListener.java b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/provider/log/listener/LogFilterListener.java
index 9b25157bd3..5de656a0e4 100644
--- a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/provider/log/listener/LogFilterListener.java
+++ b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/provider/log/listener/LogFilterListener.java
@@ -22,6 +22,7 @@ import com.google.protobuf.Message;
 import java.util.Collection;
 import java.util.List;
 import java.util.Map;
+import java.util.ServiceLoader;
 import java.util.stream.Collectors;
 import lombok.RequiredArgsConstructor;
 import lombok.extern.slf4j.Slf4j;
@@ -33,6 +34,7 @@ import org.apache.skywalking.oap.log.analyzer.v2.dsl.DSL;
 import org.apache.skywalking.oap.log.analyzer.v2.provider.LALConfig;
 import org.apache.skywalking.oap.log.analyzer.v2.provider.LALConfigs;
 import org.apache.skywalking.oap.log.analyzer.v2.provider.LogAnalyzerModuleConfig;
+import org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider;
 
 import org.apache.skywalking.oap.server.core.analysis.Layer;
 import org.apache.skywalking.oap.server.library.module.ModuleManager;
@@ -91,19 +93,46 @@ public class LogFilterListener implements LogAnalysisListener {
         public Factory(final ModuleManager moduleManager, final LogAnalyzerModuleConfig config) throws Exception {
             dsls = new HashMap<>();
 
+            // Scan SPI providers for default extraLogType per layer
+            final Map<Layer, Class<?>> spiTypes = new HashMap<>();
+            for (final LALSourceTypeProvider p : ServiceLoader.load(LALSourceTypeProvider.class)) {
+                spiTypes.put(p.layer(), p.extraLogType());
+                log.info("LALSourceTypeProvider: layer={} -> {}",
+                    p.layer().name(), p.extraLogType().getName());
+            }
+
             final List<LALConfig> configList = LALConfigs.load(config.getLalPath(), config.lalFiles())
                                                          .stream()
                                                          .flatMap(it -> it.getRules().stream())
                                                          .collect(Collectors.toList());
             for (final LALConfig c : configList) {
-                Layer layer = Layer.nameOf(c.getLayer());
-                Map<String, DSL> dsls = this.dsls.computeIfAbsent(layer, k -> new HashMap<>());
-                if (dsls.put(c.getName(), DSL.of(moduleManager, config, c.getDsl(), c.getExtraLogType())) != null) {
+                final Layer layer = Layer.nameOf(c.getLayer());
+
+                // Per-rule resolution: explicit YAML > SPI > null
+                Class<?> resolvedType = resolveExtraLogType(c, spiTypes.get(layer));
+
+                final Map<String, DSL> layerDsls = this.dsls.computeIfAbsent(layer, k -> new HashMap<>());
+                if (layerDsls.put(c.getName(), DSL.of(moduleManager, config, c.getDsl(), resolvedType)) != null) {
                     throw new ModuleStartException("Layer " + layer.name() + " has already set " + c.getName() + " rule.");
                 }
             }
         }
 
+        private static Class<?> resolveExtraLogType(final LALConfig config,
+                                                     final Class<?> spiType) throws ModuleStartException {
+            final String yamlType = config.getExtraLogType();
+            if (yamlType != null && !yamlType.isEmpty()) {
+                try {
+                    return Class.forName(yamlType);
+                } catch (ClassNotFoundException e) {
+                    throw new ModuleStartException(
+                        "LAL rule '" + config.getName() + "' declares extraLogType '"
+                            + yamlType + "' but the class was not found.", e);
+                }
+            }
+            return spiType;
+        }
+
         @Override
         public LogAnalysisListener create(Layer layer) {
             if (layer == null) {
diff --git a/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/spi/LALSourceTypeProvider.java b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/spi/LALSourceTypeProvider.java
new file mode 100644
index 0000000000..bc5a3e6726
--- /dev/null
+++ b/oap-server/analyzer/log-analyzer/src/main/java/org/apache/skywalking/oap/log/analyzer/v2/spi/LALSourceTypeProvider.java
@@ -0,0 +1,53 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.skywalking.oap.log.analyzer.v2.spi;
+
+import org.apache.skywalking.oap.server.core.analysis.Layer;
+
+/**
+ * SPI for receiver plugins to declare the Java type of the {@code extraLog}
+ * they pass to LAL via {@code ILogAnalyzerService.doAnalysis(LogData, Message)}.
+ *
+ * <p>The LAL compiler uses this at compile time to generate optimized direct
+ * getter calls instead of runtime reflection. Implementations are discovered
+ * via {@link java.util.ServiceLoader} and matched by {@link Layer}.
+ *
+ * <p>Per-rule type resolution order:
+ * <ol>
+ *   <li>DSL parser ({@code json{}}, {@code yaml{}}, {@code text{}}) — parser wins</li>
+ *   <li>Explicit {@code extraLogType} declared in the YAML rule config</li>
+ *   <li>This SPI — acts as the default {@code extraLogType} for a layer</li>
+ *   <li>Compile error if none of the above and the rule accesses {@code parsed.*}</li>
+ * </ol>
+ *
+ * <p>Receiver plugins register implementations in
+ * {@code META-INF/services/org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider}.
+ */
+public interface LALSourceTypeProvider {
+    /**
+     * The layer this provider supplies type information for.
+     */
+    Layer layer();
+
+    /**
+     * The Java type passed as {@code extraLog} by the receiver plugin for
+     * this layer. The compiler resolves getter chains on this type at
+     * compile time.
+     */
+    Class<?> extraLogType();
+}
diff --git a/oap-server/analyzer/log-analyzer/src/test/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALClassGeneratorTest.java b/oap-server/analyzer/log-analyzer/src/test/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALClassGeneratorTest.java
index 4a2bb9d192..e039e85564 100644
--- a/oap-server/analyzer/log-analyzer/src/test/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALClassGeneratorTest.java
+++ b/oap-server/analyzer/log-analyzer/src/test/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALClassGeneratorTest.java
@@ -206,6 +206,7 @@ class LALClassGeneratorTest {
     void generateSourceSafeNavMethodEmitsSpecificHelper() {
         final String source = generator.generateSource(
             "filter {\n"
+            + "  json {}\n"
             + "  if (parsed?.flags?.toString()) {\n"
             + "    sink {}\n"
             + "  }\n"
@@ -497,8 +498,9 @@ class LALClassGeneratorTest {
     }
 
     @Test
-    void compileEnvoyAlsAbortRule() throws Exception {
-        final LalExpression expr = generator.compile(
+    void compileEnvoyAlsAbortRuleFailsWithoutExtraLogType() {
+        // envoy-als pattern has no parser (json/yaml/text) — requires extraLogType
+        assertThrows(IllegalStateException.class, () -> generator.compile(
             "filter {\n"
             + "  if (parsed?.response?.responseCode?.value as Integer < 400"
             + " && !parsed?.commonProperties?.responseFlags?.toString()?.trim()) {\n"
@@ -511,7 +513,55 @@ class LALClassGeneratorTest {
             + "    tag 'response.flag': parsed?.commonProperties?.responseFlags\n"
             + "  }\n"
             + "  sink {}\n"
-            + "}");
+            + "}"));
+    }
+
+    @Test
+    void compileExtraLogTypeGeneratesDirectGetterCalls() throws Exception {
+        generator.setExtraLogType(
+            io.envoyproxy.envoy.data.accesslog.v3.HTTPAccessLogEntry.class);
+        final String dsl =
+            "filter {\n"
+            + "  if (parsed?.response?.responseCode?.value as Integer < 400"
+            + " && !parsed?.commonProperties?.responseFlags?.toString()?.trim()) {\n"
+            + "    abort {}\n"
+            + "  }\n"
+            + "  extractor {\n"
+            + "    if (parsed?.response?.responseCode) {\n"
+            + "      tag 'status.code': parsed?.response?.responseCode?.value\n"
+            + "    }\n"
+            + "    tag 'response.flag': parsed?.commonProperties?.responseFlags\n"
+            + "  }\n"
+            + "  sink {}\n"
+            + "}";
+        final String source = generator.generateSource(dsl);
+        final String fqcn =
+            "io.envoyproxy.envoy.data.accesslog.v3.HTTPAccessLogEntry";
+        // Direct getter chains, not getAt
+        assertTrue(source.contains(
+            "((" + fqcn + ") h.ctx().extraLog()).getResponse()"),
+            "Expected direct getter for parsed.response but got: " + source);
+        assertTrue(source.contains(
+            "((" + fqcn + ") h.ctx().extraLog()).getCommonProperties()"),
+            "Expected direct getter for parsed.commonProperties but got: " + source);
+        assertFalse(source.contains("getAt"),
+            "Should NOT contain getAt calls but got: " + source);
+        // Safe navigation: null checks with == null
+        assertTrue(source.contains("== null"),
+            "Expected null checks for ?. safe navigation but got: " + source);
+        // Numeric comparison: direct primitive, no h.toLong() boxing
+        assertTrue(source.contains(".getValue() < 400"),
+            "Expected direct primitive comparison without boxing but got: " + source);
+        assertFalse(source.contains("h.toLong"),
+            "Should NOT use h.toLong for primitive int comparison but got: " + source);
+        // Single-tag: uses tag(ctx, String, String), not singletonMap
+        assertTrue(source.contains("_e.tag(h.ctx(), \"status.code\""),
+            "Expected tag(ctx, String, String) overload but got: " + source);
+        assertFalse(source.contains("singletonMap"),
+            "Should NOT use singletonMap for single tags but got: " + source);
+
+        // Verify it compiles
+        final LalExpression expr = generator.compile(dsl);
         assertNotNull(expr);
     }
 
@@ -565,6 +615,7 @@ class LALClassGeneratorTest {
     void generateSourceElseIfEmitsNestedBranches() {
         final String source = generator.generateSource(
             "filter {\n"
+            + "  json {}\n"
             + "  if (parsed.a) {\n"
             + "    sink {}\n"
             + "  } else if (parsed.b) {\n"
diff --git a/oap-server/analyzer/log-analyzer/src/test/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALExpressionExecutionTest.java b/oap-server/analyzer/log-analyzer/src/test/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALExpressionExecutionTest.java
index a247cb314a..884d8adfd2 100644
--- a/oap-server/analyzer/log-analyzer/src/test/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALExpressionExecutionTest.java
+++ b/oap-server/analyzer/log-analyzer/src/test/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/LALExpressionExecutionTest.java
@@ -24,8 +24,10 @@ import java.nio.file.Path;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Collections;
+import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.ServiceLoader;
 import java.util.stream.Collectors;
 
 import com.google.protobuf.Message;
@@ -39,6 +41,7 @@ import org.apache.skywalking.apm.network.logging.v3.TextLog;
 import org.apache.skywalking.oap.log.analyzer.v2.dsl.ExecutionContext;
 import org.apache.skywalking.oap.log.analyzer.v2.dsl.LalExpression;
 import org.apache.skywalking.oap.log.analyzer.v2.dsl.spec.filter.FilterSpec;
+import org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider;
 import org.apache.skywalking.oap.server.analyzer.provider.trace.parser.listener.SampledTraceBuilder;
 import org.apache.skywalking.oap.log.analyzer.v2.module.LogAnalyzerModule;
 import org.apache.skywalking.oap.log.analyzer.v2.provider.LogAnalyzerModuleConfig;
@@ -140,6 +143,7 @@ class LALExpressionExecutionTest {
                     final String ruleName = rule.get("name");
                     final String dsl = rule.get("dsl");
                     final String ruleLayer = rule.get("layer");
+                    final String extraLogType = rule.get("extraLogType");
                     if (ruleName == null || dsl == null) {
                         continue;
                     }
@@ -153,7 +157,7 @@ class LALExpressionExecutionTest {
                         category + "/" + baseName + " | " + ruleName,
                         () -> executeAndAssert(
                             generator, filterSpec, ruleName,
-                            dsl, ruleLayer, input)
+                            dsl, ruleLayer, extraLogType, input)
                     ));
                 }
             }
@@ -167,7 +171,16 @@ class LALExpressionExecutionTest {
             final String ruleName,
             final String dsl,
             final String ruleLayer,
+            final String extraLogType,
             final Map<String, Object> input) throws Exception {
+        if (extraLogType != null) {
+            generator.setExtraLogType(Class.forName(extraLogType));
+        } else if (ruleLayer != null) {
+            // Resolve via LALSourceTypeProvider SPI
+            generator.setExtraLogType(spiExtraLogTypes().get(ruleLayer));
+        } else {
+            generator.setExtraLogType(null);
+        }
         final LalExpression expr = generator.compile(dsl);
         final LogData.Builder logData = buildLogData(input);
         if (ruleLayer != null) {
@@ -387,6 +400,21 @@ class LALExpressionExecutionTest {
         return builder.build();
     }
 
+    // ==================== SPI lookup ====================
+
+    private Map<String, Class<?>> spiTypes;
+
+    private Map<String, Class<?>> spiExtraLogTypes() {
+        if (spiTypes == null) {
+            spiTypes = new HashMap<>();
+            for (final LALSourceTypeProvider p :
+                    ServiceLoader.load(LALSourceTypeProvider.class)) {
+                spiTypes.put(p.layer().name(), p.extraLogType());
+            }
+        }
+        return spiTypes;
+    }
+
     // ==================== FilterSpec setup ====================
 
     private FilterSpec buildFilterSpec() throws Exception {
diff --git a/oap-server/analyzer/log-analyzer/src/test/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/TestMeshLALSourceTypeProvider.java b/oap-server/analyzer/log-analyzer/src/test/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/TestMeshLALSourceTypeProvider.java
new file mode 100644
index 0000000000..e1e5df4cfb
--- /dev/null
+++ b/oap-server/analyzer/log-analyzer/src/test/java/org/apache/skywalking/oap/log/analyzer/v2/compiler/TestMeshLALSourceTypeProvider.java
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.skywalking.oap.log.analyzer.v2.compiler;
+
+import io.envoyproxy.envoy.data.accesslog.v3.HTTPAccessLogEntry;
+import org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider;
+import org.apache.skywalking.oap.server.core.analysis.Layer;
+
+public class TestMeshLALSourceTypeProvider implements LALSourceTypeProvider {
+    @Override
+    public Layer layer() {
+        return Layer.MESH;
+    }
+
+    @Override
+    public Class<?> extraLogType() {
+        return HTTPAccessLogEntry.class;
+    }
+}
diff --git a/oap-server/analyzer/log-analyzer/src/test/resources/META-INF/services/org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider b/oap-server/analyzer/log-analyzer/src/test/resources/META-INF/services/org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider
new file mode 100644
index 0000000000..4cec9403db
--- /dev/null
+++ b/oap-server/analyzer/log-analyzer/src/test/resources/META-INF/services/org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider
@@ -0,0 +1 @@
+org.apache.skywalking.oap.log.analyzer.v2.compiler.TestMeshLALSourceTypeProvider
diff --git a/oap-server/analyzer/meter-analyzer/pom.xml b/oap-server/analyzer/meter-analyzer/pom.xml
index 57d3fd200e..5b6442eca3 100644
--- a/oap-server/analyzer/meter-analyzer/pom.xml
+++ b/oap-server/analyzer/meter-analyzer/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>analyzer</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/analyzer/meter-analyzer/src/main/antlr4/org/apache/skywalking/mal/rt/grammar/MALParser.g4 b/oap-server/analyzer/meter-analyzer/src/main/antlr4/org/apache/skywalking/mal/rt/grammar/MALParser.g4
index 53f4d3e7d0..d4adcc73b3 100644
--- a/oap-server/analyzer/meter-analyzer/src/main/antlr4/org/apache/skywalking/mal/rt/grammar/MALParser.g4
+++ b/oap-server/analyzer/meter-analyzer/src/main/antlr4/org/apache/skywalking/mal/rt/grammar/MALParser.g4
@@ -95,6 +95,7 @@ argument
     | enumRef                                // Layer.GENERAL, K8sRetagType.Pod2Service
     | STRING                                 // "PT1M", "k8s-key"
     | boolLiteral                            // true, false
+    | NULL                                   // null
     ;
 
 stringList
@@ -214,17 +215,18 @@ closureExpr
     | closureExpr MINUS closureExpr                                # closureSub
     | closureExpr STAR closureExpr                                 # closureMul
     | closureExpr SLASH closureExpr                                # closureDiv
+    | MINUS closureExprPrimary                                      # closureUnaryMinus
     | closureExprPrimary                                           # closurePrimary
     ;
 
 closureExprPrimary
-    : STRING                                                       # closureString
+    : STRING closureChainAccess*                                   # closureString
     | NUMBER                                                       # closureNumber
     | NULL                                                         # closureNull
     | boolLiteral                                                  # closureBool
     | closureMapLiteral                                            # closureMap
     | closureMethodChain                                           # closureChain
-    | L_PAREN closureExpr R_PAREN                                  # closureParen
+    | L_PAREN closureExpr R_PAREN closureChainAccess*              # closureParen
     ;
 
 // Groovy map literal: ['key': expr, 'key2': expr2]
diff --git a/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/v2/compiler/MALClassGenerator.java b/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/v2/compiler/MALClassGenerator.java
index b8b28a164a..12c7e7b77b 100644
--- a/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/v2/compiler/MALClassGenerator.java
+++ b/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/v2/compiler/MALClassGenerator.java
@@ -1027,7 +1027,8 @@ public final class MALClassGenerator {
 
     private static boolean allStringArgs(final List<MALExpressionModel.Argument> args) {
         for (final MALExpressionModel.Argument arg : args) {
-            if (!(arg instanceof MALExpressionModel.StringArgument)) {
+            if (!(arg instanceof MALExpressionModel.StringArgument)
+                    && !(arg instanceof MALExpressionModel.NullArgument)) {
                 return false;
             }
         }
@@ -1069,6 +1070,8 @@ public final class MALClassGenerator {
             sb.append(')');
         } else if (arg instanceof MALExpressionModel.BoolArgument) {
             sb.append(((MALExpressionModel.BoolArgument) arg).isValue());
+        } else if (arg instanceof MALExpressionModel.NullArgument) {
+            sb.append("null");
         } else if (arg instanceof MALExpressionModel.EnumRefArgument) {
             final MALExpressionModel.EnumRefArgument enumRef =
                 (MALExpressionModel.EnumRefArgument) arg;
@@ -1217,7 +1220,13 @@ public final class MALClassGenerator {
               .append(escapeJava(((MALExpressionModel.ClosureStringLiteral) expr).getValue()))
               .append('"');
         } else if (expr instanceof MALExpressionModel.ClosureNumberLiteral) {
-            sb.append(((MALExpressionModel.ClosureNumberLiteral) expr).getValue());
+            final double val =
+                ((MALExpressionModel.ClosureNumberLiteral) expr).getValue();
+            if (val == (int) val) {
+                sb.append((int) val);
+            } else {
+                sb.append(val);
+            }
         } else if (expr instanceof MALExpressionModel.ClosureBoolLiteral) {
             sb.append(((MALExpressionModel.ClosureBoolLiteral) expr).isValue());
         } else if (expr instanceof MALExpressionModel.ClosureNullLiteral) {
@@ -1297,6 +1306,50 @@ public final class MALClassGenerator {
             sb.append(RUNTIME_HELPER_FQCN).append(".regexMatch(String.valueOf(");
             generateClosureExpr(sb, rm.getTarget(), paramName, beanMode);
             sb.append("), \"").append(escapeJava(rm.getPattern())).append("\")");
+        } else if (expr instanceof MALExpressionModel.ClosureExprChain) {
+            final MALExpressionModel.ClosureExprChain chain =
+                (MALExpressionModel.ClosureExprChain) expr;
+            final StringBuilder local = new StringBuilder();
+            // Cast to String when the chain has method calls (e.g., .split(), .toString())
+            // so Javassist can resolve the method on the concrete type.
+            final boolean needsCast = chain.getSegments().stream()
+                .anyMatch(s -> s instanceof MALExpressionModel.ClosureMethodCallSeg);
+            if (needsCast) {
+                local.append("((String) ");
+            } else {
+                local.append("(");
+            }
+            generateClosureExpr(local, chain.getBase(), paramName, beanMode);
+            local.append(")");
+            for (final MALExpressionModel.ClosureChainSegment seg : chain.getSegments()) {
+                if (seg instanceof MALExpressionModel.ClosureMethodCallSeg) {
+                    final MALExpressionModel.ClosureMethodCallSeg mc =
+                        (MALExpressionModel.ClosureMethodCallSeg) seg;
+                    if ("size".equals(mc.getName()) && mc.getArguments().isEmpty()) {
+                        local.append(".length");
+                    } else {
+                        local.append('.').append(mc.getName()).append('(');
+                        for (int i = 0; i < mc.getArguments().size(); i++) {
+                            if (i > 0) {
+                                local.append(", ");
+                            }
+                            generateClosureExpr(local, mc.getArguments().get(i),
+                                paramName, beanMode);
+                        }
+                        local.append(')');
+                    }
+                } else if (seg instanceof MALExpressionModel.ClosureFieldAccess) {
+                    local.append('.').append(
+                        ((MALExpressionModel.ClosureFieldAccess) seg).getName());
+                } else if (seg instanceof MALExpressionModel.ClosureIndexAccess) {
+                    local.append("[(int) ");
+                    generateClosureExpr(local,
+                        ((MALExpressionModel.ClosureIndexAccess) seg).getIndex(),
+                        paramName, beanMode);
+                    local.append(']');
+                }
+            }
+            sb.append(local);
         }
     }
 
@@ -1369,15 +1422,22 @@ public final class MALClassGenerator {
                 } else if (seg instanceof MALExpressionModel.ClosureMethodCallSeg) {
                     final MALExpressionModel.ClosureMethodCallSeg mc =
                         (MALExpressionModel.ClosureMethodCallSeg) seg;
-                    local.append('.').append(mc.getName()).append('(');
-                    for (int i = 0; i < mc.getArguments().size(); i++) {
-                        if (i > 0) {
-                            local.append(", ");
+                    // Groovy .size() on arrays → Java .length (for local vars)
+                    if (!target.equals(paramName)
+                            && "size".equals(mc.getName())
+                            && mc.getArguments().isEmpty()) {
+                        local.append(".length");
+                    } else {
+                        local.append('.').append(mc.getName()).append('(');
+                        for (int i = 0; i < mc.getArguments().size(); i++) {
+                            if (i > 0) {
+                                local.append(", ");
+                            }
+                            generateClosureExpr(local, mc.getArguments().get(i),
+                                paramName, beanMode);
                         }
-                        generateClosureExpr(local, mc.getArguments().get(i), paramName,
-                            beanMode);
+                        local.append(')');
                     }
-                    local.append(')');
                 }
             }
             sb.append(local);
diff --git a/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/v2/compiler/MALExpressionModel.java b/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/v2/compiler/MALExpressionModel.java
index d32bacc2f4..c7b4df5473 100644
--- a/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/v2/compiler/MALExpressionModel.java
+++ b/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/v2/compiler/MALExpressionModel.java
@@ -227,6 +227,12 @@ public final class MALExpressionModel {
         }
     }
 
+    /**
+     * Null literal argument.
+     */
+    public static final class NullArgument implements Argument {
+    }
+
     /**
      * Closure expression: {@code {tags -> tags.key = "val"}}
      */
@@ -408,6 +414,22 @@ public final class MALExpressionModel {
         }
     }
 
+    /**
+     * Method chain on a non-identifier base expression:
+     * {@code "str".toString()}, {@code (expr).split(...)}.
+     */
+    @Getter
+    public static final class ClosureExprChain implements ClosureExpr {
+        private final ClosureExpr base;
+        private final List<ClosureChainSegment> segments;
+
+        public ClosureExprChain(final ClosureExpr base,
+                                final List<ClosureChainSegment> segments) {
+            this.base = base;
+            this.segments = Collections.unmodifiableList(segments);
+        }
+    }
+
     @Getter
     public static final class ClosureBinaryExpr implements ClosureExpr {
         private final ClosureExpr left;
diff --git a/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/v2/compiler/MALScriptParser.java b/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/v2/compiler/MALScriptParser.java
index c541aaf636..42242c2af3 100644
--- a/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/v2/compiler/MALScriptParser.java
+++ b/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/v2/compiler/MALScriptParser.java
@@ -283,6 +283,9 @@ public final class MALScriptParser {
             if (ctx.boolLiteral() != null) {
                 return new BoolArgument(ctx.boolLiteral().TRUE() != null);
             }
+            if (ctx.NULL() != null) {
+                return new MALExpressionModel.NullArgument();
+            }
             // additiveExpression — nested expression
             return new ExprArgument(visit(ctx.additiveExpression()));
         }
@@ -509,17 +512,21 @@ public final class MALScriptParser {
             if (init instanceof MALExpressionModel.ClosureRegexMatchExpr) {
                 return "String[][]";
             }
+            final List<MALExpressionModel.ClosureChainSegment> segs;
             if (init instanceof ClosureMethodChain) {
-                final ClosureMethodChain chain = (ClosureMethodChain) init;
-                final List<MALExpressionModel.ClosureChainSegment> segs = chain.getSegments();
-                if (!segs.isEmpty()) {
-                    final MALExpressionModel.ClosureChainSegment last =
-                        segs.get(segs.size() - 1);
-                    if (last instanceof MALExpressionModel.ClosureMethodCallSeg
-                            && "split".equals(
-                                ((MALExpressionModel.ClosureMethodCallSeg) last).getName())) {
-                        return "String[]";
-                    }
+                segs = ((ClosureMethodChain) init).getSegments();
+            } else if (init instanceof MALExpressionModel.ClosureExprChain) {
+                segs = ((MALExpressionModel.ClosureExprChain) init).getSegments();
+            } else {
+                segs = Collections.emptyList();
+            }
+            if (!segs.isEmpty()) {
+                final MALExpressionModel.ClosureChainSegment last =
+                    segs.get(segs.size() - 1);
+                if (last instanceof MALExpressionModel.ClosureMethodCallSeg
+                        && "split".equals(
+                            ((MALExpressionModel.ClosureMethodCallSeg) last).getName())) {
+                    return "String[]";
                 }
             }
             return "Object";
@@ -607,6 +614,20 @@ public final class MALScriptParser {
                     ArithmeticOp.DIV,
                     convertClosureExpr(div.closureExpr(1)));
             }
+            if (ctx instanceof MALParser.ClosureUnaryMinusContext) {
+                final MALParser.ClosureUnaryMinusContext um =
+                    (MALParser.ClosureUnaryMinusContext) ctx;
+                final ClosureExpr inner =
+                    convertClosureExprPrimary(um.closureExprPrimary());
+                if (inner instanceof ClosureNumberLiteral) {
+                    return new ClosureNumberLiteral(
+                        -((ClosureNumberLiteral) inner).getValue());
+                }
+                return new ClosureBinaryExpr(
+                    new ClosureNumberLiteral(0),
+                    ArithmeticOp.SUB,
+                    inner);
+            }
             // closurePrimary
             final MALParser.ClosurePrimaryContext primary =
                 (MALParser.ClosurePrimaryContext) ctx;
@@ -616,9 +637,11 @@ public final class MALScriptParser {
         private ClosureExpr convertClosureExprPrimary(
                 final MALParser.ClosureExprPrimaryContext ctx) {
             if (ctx instanceof MALParser.ClosureStringContext) {
-                final String raw =
-                    stripQuotes(((MALParser.ClosureStringContext) ctx).STRING().getText());
-                return expandGString(raw);
+                final MALParser.ClosureStringContext sc =
+                    (MALParser.ClosureStringContext) ctx;
+                final String raw = stripQuotes(sc.STRING().getText());
+                final ClosureExpr base = expandGString(raw);
+                return wrapWithChainAccess(base, sc.closureChainAccess());
             }
             if (ctx instanceof MALParser.ClosureNumberContext) {
                 return new ClosureNumberLiteral(
@@ -633,8 +656,10 @@ public final class MALScriptParser {
                 return new ClosureBoolLiteral(bc.boolLiteral().TRUE() != null);
             }
             if (ctx instanceof MALParser.ClosureParenContext) {
-                return convertClosureExpr(
-                    ((MALParser.ClosureParenContext) ctx).closureExpr());
+                final MALParser.ClosureParenContext pc =
+                    (MALParser.ClosureParenContext) ctx;
+                final ClosureExpr base = convertClosureExpr(pc.closureExpr());
+                return wrapWithChainAccess(base, pc.closureChainAccess());
             }
             if (ctx instanceof MALParser.ClosureMapContext) {
                 final MALParser.ClosureMapLiteralContext mapCtx =
@@ -673,6 +698,26 @@ public final class MALScriptParser {
             return new ClosureMethodChain(target, segments);
         }
 
+        private ClosureExpr wrapWithChainAccess(
+                final ClosureExpr base,
+                final List<MALParser.ClosureChainAccessContext> accesses) {
+            if (accesses == null || accesses.isEmpty()) {
+                return base;
+            }
+            final List<ClosureChainSegment> segments = new ArrayList<>();
+            for (final MALParser.ClosureChainAccessContext acc : accesses) {
+                if (acc.closureChainSegment() != null) {
+                    final boolean isSafeNav = acc.safeNav() != null;
+                    segments.add(convertClosureChainSegment(
+                        acc.closureChainSegment(), isSafeNav));
+                } else if (acc.closureExpr() != null) {
+                    segments.add(new ClosureIndexAccess(
+                        convertClosureExpr(acc.closureExpr())));
+                }
+            }
+            return new MALExpressionModel.ClosureExprChain(base, segments);
+        }
+
         private ClosureChainSegment convertClosureChainSegment(
                 final MALParser.ClosureChainSegmentContext ctx,
                 final boolean safeNav) {
diff --git a/oap-server/analyzer/pom.xml b/oap-server/analyzer/pom.xml
index 8cad4dff5a..f0b1cbf1f8 100644
--- a/oap-server/analyzer/pom.xml
+++ b/oap-server/analyzer/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/exporter/pom.xml b/oap-server/exporter/pom.xml
index 85dc662d51..7b36bb1b97 100644
--- a/oap-server/exporter/pom.xml
+++ b/oap-server/exporter/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/mqe-grammar/pom.xml b/oap-server/mqe-grammar/pom.xml
index b8e3d58f8f..ab5080ae0f 100644
--- a/oap-server/mqe-grammar/pom.xml
+++ b/oap-server/mqe-grammar/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/mqe-rt/pom.xml b/oap-server/mqe-rt/pom.xml
index a70dec6fdd..b437ba689f 100644
--- a/oap-server/mqe-rt/pom.xml
+++ b/oap-server/mqe-rt/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/oal-grammar/pom.xml b/oap-server/oal-grammar/pom.xml
index a5ae234218..1d7c897d35 100755
--- a/oap-server/oal-grammar/pom.xml
+++ b/oap-server/oal-grammar/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/oal-rt/pom.xml b/oap-server/oal-rt/pom.xml
index 44f0f95dbb..811829b442 100755
--- a/oap-server/oal-rt/pom.xml
+++ b/oap-server/oal-rt/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/pom.xml b/oap-server/pom.xml
index 93cc75452b..f865765c48 100755
--- a/oap-server/pom.xml
+++ b/oap-server/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>apm</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-alarm-plugin/pom.xml b/oap-server/server-alarm-plugin/pom.xml
index b31548980a..bd56f21324 100644
--- a/oap-server/server-alarm-plugin/pom.xml
+++ b/oap-server/server-alarm-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-cluster-plugin/cluster-consul-plugin/pom.xml b/oap-server/server-cluster-plugin/cluster-consul-plugin/pom.xml
index 549696a697..2db17ed560 100644
--- a/oap-server/server-cluster-plugin/cluster-consul-plugin/pom.xml
+++ b/oap-server/server-cluster-plugin/cluster-consul-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-cluster-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-cluster-plugin/cluster-etcd-plugin/pom.xml b/oap-server/server-cluster-plugin/cluster-etcd-plugin/pom.xml
index ce2d3ab655..fd4b53fc05 100644
--- a/oap-server/server-cluster-plugin/cluster-etcd-plugin/pom.xml
+++ b/oap-server/server-cluster-plugin/cluster-etcd-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-cluster-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-cluster-plugin/cluster-kubernetes-plugin/pom.xml b/oap-server/server-cluster-plugin/cluster-kubernetes-plugin/pom.xml
index 328d5471b3..0e57d4d0d6 100644
--- a/oap-server/server-cluster-plugin/cluster-kubernetes-plugin/pom.xml
+++ b/oap-server/server-cluster-plugin/cluster-kubernetes-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-cluster-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-cluster-plugin/cluster-nacos-plugin/pom.xml b/oap-server/server-cluster-plugin/cluster-nacos-plugin/pom.xml
index 8e37fc189f..b6b2b89e67 100644
--- a/oap-server/server-cluster-plugin/cluster-nacos-plugin/pom.xml
+++ b/oap-server/server-cluster-plugin/cluster-nacos-plugin/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <artifactId>server-cluster-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-cluster-plugin/cluster-standalone-plugin/pom.xml b/oap-server/server-cluster-plugin/cluster-standalone-plugin/pom.xml
index 2721b68eab..b731cfd017 100644
--- a/oap-server/server-cluster-plugin/cluster-standalone-plugin/pom.xml
+++ b/oap-server/server-cluster-plugin/cluster-standalone-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-cluster-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-cluster-plugin/cluster-zookeeper-plugin/pom.xml b/oap-server/server-cluster-plugin/cluster-zookeeper-plugin/pom.xml
index c6b2f43280..977c9ca19e 100644
--- a/oap-server/server-cluster-plugin/cluster-zookeeper-plugin/pom.xml
+++ b/oap-server/server-cluster-plugin/cluster-zookeeper-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <groupId>org.apache.skywalking</groupId>
         <artifactId>server-cluster-plugin</artifactId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-cluster-plugin/pom.xml b/oap-server/server-cluster-plugin/pom.xml
index 5b48fa53ea..f2be51d4bd 100644
--- a/oap-server/server-cluster-plugin/pom.xml
+++ b/oap-server/server-cluster-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-configuration/configuration-api/pom.xml b/oap-server/server-configuration/configuration-api/pom.xml
index df46bdd0d1..bcaa554cbf 100644
--- a/oap-server/server-configuration/configuration-api/pom.xml
+++ b/oap-server/server-configuration/configuration-api/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-configuration</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-configuration/configuration-apollo/pom.xml b/oap-server/server-configuration/configuration-apollo/pom.xml
index 33c93729e3..b36975b360 100644
--- a/oap-server/server-configuration/configuration-apollo/pom.xml
+++ b/oap-server/server-configuration/configuration-apollo/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-configuration</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-configuration/configuration-consul/pom.xml b/oap-server/server-configuration/configuration-consul/pom.xml
index 9f646c99fa..a96f1bb5aa 100644
--- a/oap-server/server-configuration/configuration-consul/pom.xml
+++ b/oap-server/server-configuration/configuration-consul/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-configuration</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
diff --git a/oap-server/server-configuration/configuration-etcd/pom.xml b/oap-server/server-configuration/configuration-etcd/pom.xml
index 42a5924097..69833aa76c 100644
--- a/oap-server/server-configuration/configuration-etcd/pom.xml
+++ b/oap-server/server-configuration/configuration-etcd/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <artifactId>server-configuration</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-configuration/configuration-k8s-configmap/pom.xml b/oap-server/server-configuration/configuration-k8s-configmap/pom.xml
index 8b0c3127ca..048675d370 100644
--- a/oap-server/server-configuration/configuration-k8s-configmap/pom.xml
+++ b/oap-server/server-configuration/configuration-k8s-configmap/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-configuration</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>configuration-k8s-configmap</artifactId>
diff --git a/oap-server/server-configuration/configuration-nacos/pom.xml b/oap-server/server-configuration/configuration-nacos/pom.xml
index 69a103faee..a2f56994e7 100644
--- a/oap-server/server-configuration/configuration-nacos/pom.xml
+++ b/oap-server/server-configuration/configuration-nacos/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-configuration</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-configuration/configuration-zookeeper/pom.xml b/oap-server/server-configuration/configuration-zookeeper/pom.xml
index 5db86ba8fd..88a811b428 100644
--- a/oap-server/server-configuration/configuration-zookeeper/pom.xml
+++ b/oap-server/server-configuration/configuration-zookeeper/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-configuration</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-configuration/grpc-configuration-sync/pom.xml b/oap-server/server-configuration/grpc-configuration-sync/pom.xml
index 74f726b4c2..7af7b74c8e 100644
--- a/oap-server/server-configuration/grpc-configuration-sync/pom.xml
+++ b/oap-server/server-configuration/grpc-configuration-sync/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-configuration</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-configuration/pom.xml b/oap-server/server-configuration/pom.xml
index b75c60e32f..9383ed69bd 100644
--- a/oap-server/server-configuration/pom.xml
+++ b/oap-server/server-configuration/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-core/pom.xml b/oap-server/server-core/pom.xml
index 484507e63b..21266b1725 100644
--- a/oap-server/server-core/pom.xml
+++ b/oap-server/server-core/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-fetcher-plugin/cilium-fetcher-plugin/pom.xml b/oap-server/server-fetcher-plugin/cilium-fetcher-plugin/pom.xml
index 8323c63081..de0efc40be 100644
--- a/oap-server/server-fetcher-plugin/cilium-fetcher-plugin/pom.xml
+++ b/oap-server/server-fetcher-plugin/cilium-fetcher-plugin/pom.xml
@@ -21,7 +21,7 @@
   <parent>
     <groupId>org.apache.skywalking</groupId>
     <artifactId>server-fetcher-plugin</artifactId>
-    <version>${revision}</version>
+    <version>10.4.0-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-fetcher-plugin/fetcher-proto/pom.xml b/oap-server/server-fetcher-plugin/fetcher-proto/pom.xml
index 6acf6137d9..3a0cfa1d0e 100644
--- a/oap-server/server-fetcher-plugin/fetcher-proto/pom.xml
+++ b/oap-server/server-fetcher-plugin/fetcher-proto/pom.xml
@@ -21,7 +21,7 @@
   <parent>
     <groupId>org.apache.skywalking</groupId>
     <artifactId>server-fetcher-plugin</artifactId>
-    <version>${revision}</version>
+    <version>10.4.0-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-fetcher-plugin/kafka-fetcher-plugin/pom.xml b/oap-server/server-fetcher-plugin/kafka-fetcher-plugin/pom.xml
index e25b5f6487..5574bbf148 100644
--- a/oap-server/server-fetcher-plugin/kafka-fetcher-plugin/pom.xml
+++ b/oap-server/server-fetcher-plugin/kafka-fetcher-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-fetcher-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-fetcher-plugin/pom.xml b/oap-server/server-fetcher-plugin/pom.xml
index d025201b3c..f0f5c243f5 100644
--- a/oap-server/server-fetcher-plugin/pom.xml
+++ b/oap-server/server-fetcher-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-health-checker/pom.xml b/oap-server/server-health-checker/pom.xml
index f1f9830021..29d4dfa9b3 100644
--- a/oap-server/server-health-checker/pom.xml
+++ b/oap-server/server-health-checker/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-library/library-async-profiler-jfr-parser/pom.xml b/oap-server/server-library/library-async-profiler-jfr-parser/pom.xml
index 92d32dd734..733fd6fd3d 100644
--- a/oap-server/server-library/library-async-profiler-jfr-parser/pom.xml
+++ b/oap-server/server-library/library-async-profiler-jfr-parser/pom.xml
@@ -25,7 +25,7 @@
     <parent>
         <groupId>org.apache.skywalking</groupId>
         <artifactId>server-library</artifactId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
 
     <artifactId>library-async-profiler-jfr-parser</artifactId>
diff --git a/oap-server/server-library/library-banyandb-client/pom.xml b/oap-server/server-library/library-banyandb-client/pom.xml
index 933e9ee4e7..3507fa8ee3 100644
--- a/oap-server/server-library/library-banyandb-client/pom.xml
+++ b/oap-server/server-library/library-banyandb-client/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <artifactId>server-library</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>library-banyandb-client</artifactId>
diff --git a/oap-server/server-library/library-batch-queue/pom.xml b/oap-server/server-library/library-batch-queue/pom.xml
index 455b77f447..11c897b694 100644
--- a/oap-server/server-library/library-batch-queue/pom.xml
+++ b/oap-server/server-library/library-batch-queue/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-library</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-library/library-client/pom.xml b/oap-server/server-library/library-client/pom.xml
index 91c26d68b7..934b583e2c 100755
--- a/oap-server/server-library/library-client/pom.xml
+++ b/oap-server/server-library/library-client/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-library</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-library/library-elasticsearch-client/pom.xml b/oap-server/server-library/library-elasticsearch-client/pom.xml
index 47c8669982..353b4d07dc 100644
--- a/oap-server/server-library/library-elasticsearch-client/pom.xml
+++ b/oap-server/server-library/library-elasticsearch-client/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-library</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-library/library-integration-test/pom.xml b/oap-server/server-library/library-integration-test/pom.xml
index 7d80e79210..90f58df104 100644
--- a/oap-server/server-library/library-integration-test/pom.xml
+++ b/oap-server/server-library/library-integration-test/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-library</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-library/library-kubernetes-support/pom.xml b/oap-server/server-library/library-kubernetes-support/pom.xml
index d36c151374..12f9205385 100644
--- a/oap-server/server-library/library-kubernetes-support/pom.xml
+++ b/oap-server/server-library/library-kubernetes-support/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-library</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-library/library-module/pom.xml b/oap-server/server-library/library-module/pom.xml
index 86ea9ca67d..ea04257577 100644
--- a/oap-server/server-library/library-module/pom.xml
+++ b/oap-server/server-library/library-module/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-library</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-library/library-pprof-parser/pom.xml b/oap-server/server-library/library-pprof-parser/pom.xml
index 25a549747e..991330167b 100755
--- a/oap-server/server-library/library-pprof-parser/pom.xml
+++ b/oap-server/server-library/library-pprof-parser/pom.xml
@@ -25,7 +25,7 @@
     <parent>
         <groupId>org.apache.skywalking</groupId>
         <artifactId>server-library</artifactId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
 
     <artifactId>library-pprof-parser</artifactId>
diff --git a/oap-server/server-library/library-server/pom.xml b/oap-server/server-library/library-server/pom.xml
index 4b8733294f..975715ccd5 100644
--- a/oap-server/server-library/library-server/pom.xml
+++ b/oap-server/server-library/library-server/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-library</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-library/library-util/pom.xml b/oap-server/server-library/library-util/pom.xml
index 82f81740a8..b4ac935168 100644
--- a/oap-server/server-library/library-util/pom.xml
+++ b/oap-server/server-library/library-util/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-library</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-library/pom.xml b/oap-server/server-library/pom.xml
index ba375584b9..063553f71f 100644
--- a/oap-server/server-library/pom.xml
+++ b/oap-server/server-library/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-query-plugin/logql-plugin/pom.xml b/oap-server/server-query-plugin/logql-plugin/pom.xml
index 7624b20ae7..922484adbe 100644
--- a/oap-server/server-query-plugin/logql-plugin/pom.xml
+++ b/oap-server/server-query-plugin/logql-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-query-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-query-plugin/pom.xml b/oap-server/server-query-plugin/pom.xml
index 87bc68a8ba..53410a5dc0 100644
--- a/oap-server/server-query-plugin/pom.xml
+++ b/oap-server/server-query-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <dependencies>
         <dependency>
diff --git a/oap-server/server-query-plugin/promql-plugin/pom.xml b/oap-server/server-query-plugin/promql-plugin/pom.xml
index 8428116b04..8b093bb3bb 100644
--- a/oap-server/server-query-plugin/promql-plugin/pom.xml
+++ b/oap-server/server-query-plugin/promql-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-query-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-query-plugin/query-graphql-plugin/pom.xml b/oap-server/server-query-plugin/query-graphql-plugin/pom.xml
index 82ed6c7949..696b6fc28e 100644
--- a/oap-server/server-query-plugin/query-graphql-plugin/pom.xml
+++ b/oap-server/server-query-plugin/query-graphql-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-query-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-query-plugin/status-query-plugin/pom.xml b/oap-server/server-query-plugin/status-query-plugin/pom.xml
index 89be571bf5..8a13400be1 100644
--- a/oap-server/server-query-plugin/status-query-plugin/pom.xml
+++ b/oap-server/server-query-plugin/status-query-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-query-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-query-plugin/zipkin-query-plugin/pom.xml b/oap-server/server-query-plugin/zipkin-query-plugin/pom.xml
index 11c4ff9da1..35f81bb485 100644
--- a/oap-server/server-query-plugin/zipkin-query-plugin/pom.xml
+++ b/oap-server/server-query-plugin/zipkin-query-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-query-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/aws-firehose-receiver/pom.xml b/oap-server/server-receiver-plugin/aws-firehose-receiver/pom.xml
index 53672aec96..d7fe3f97df 100644
--- a/oap-server/server-receiver-plugin/aws-firehose-receiver/pom.xml
+++ b/oap-server/server-receiver-plugin/aws-firehose-receiver/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.skywalking</groupId>
         <artifactId>server-receiver-plugin</artifactId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
 
     <artifactId>aws-firehose-receiver</artifactId>
diff --git a/oap-server/server-receiver-plugin/configuration-discovery-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/configuration-discovery-receiver-plugin/pom.xml
index 734cbefbe3..84ba9c73c5 100644
--- a/oap-server/server-receiver-plugin/configuration-discovery-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/configuration-discovery-receiver-plugin/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/pom.xml
index 34666f9b69..8322ee0b70 100644
--- a/oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/envoy/EnvoyHTTPLALSourceTypeProvider.java b/oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/envoy/EnvoyHTTPLALSourceTypeProvider.java
new file mode 100644
index 0000000000..9d42d09927
--- /dev/null
+++ b/oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/envoy/EnvoyHTTPLALSourceTypeProvider.java
@@ -0,0 +1,39 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.skywalking.oap.server.receiver.envoy;
+
+import io.envoyproxy.envoy.data.accesslog.v3.HTTPAccessLogEntry;
+import org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider;
+import org.apache.skywalking.oap.server.core.analysis.Layer;
+
+/**
+ * Declares {@link HTTPAccessLogEntry} as the extra log type for the
+ * {@link Layer#MESH} layer, enabling the LAL compiler to generate direct
+ * proto getter calls for envoy access log rules.
+ */
+public class EnvoyHTTPLALSourceTypeProvider implements LALSourceTypeProvider {
+    @Override
+    public Layer layer() {
+        return Layer.MESH;
+    }
+
+    @Override
+    public Class<?> extraLogType() {
+        return HTTPAccessLogEntry.class;
+    }
+}
diff --git a/oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/resources/META-INF/services/org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider b/oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/resources/META-INF/services/org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider
new file mode 100644
index 0000000000..b1e499b6eb
--- /dev/null
+++ b/oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/resources/META-INF/services/org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider
@@ -0,0 +1 @@
+org.apache.skywalking.oap.server.receiver.envoy.EnvoyHTTPLALSourceTypeProvider
diff --git a/oap-server/server-receiver-plugin/otel-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/otel-receiver-plugin/pom.xml
index 47a03c0491..96919d56a1 100644
--- a/oap-server/server-receiver-plugin/otel-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/otel-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/pom.xml
index 068a86167c..3aaa1cfdd4 100644
--- a/oap-server/server-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/receiver-proto/pom.xml b/oap-server/server-receiver-plugin/receiver-proto/pom.xml
index aaff44d8c3..60df6f08be 100644
--- a/oap-server/server-receiver-plugin/receiver-proto/pom.xml
+++ b/oap-server/server-receiver-plugin/receiver-proto/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-async-profiler-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-async-profiler-receiver-plugin/pom.xml
index 04e4037eca..68bb985342 100644
--- a/oap-server/server-receiver-plugin/skywalking-async-profiler-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-async-profiler-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-browser-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-browser-receiver-plugin/pom.xml
index 23a79556a4..f059a32e22 100644
--- a/oap-server/server-receiver-plugin/skywalking-browser-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-browser-receiver-plugin/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-clr-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-clr-receiver-plugin/pom.xml
index ed27266190..4d400645ed 100644
--- a/oap-server/server-receiver-plugin/skywalking-clr-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-clr-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-ebpf-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-ebpf-receiver-plugin/pom.xml
index 4329ffaebf..ab3d7dd5af 100644
--- a/oap-server/server-receiver-plugin/skywalking-ebpf-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-ebpf-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-event-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-event-receiver-plugin/pom.xml
index dc5183a1e8..0de304a270 100644
--- a/oap-server/server-receiver-plugin/skywalking-event-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-event-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-jvm-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-jvm-receiver-plugin/pom.xml
index 35ba033e1a..c7b08d6570 100644
--- a/oap-server/server-receiver-plugin/skywalking-jvm-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-jvm-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-log-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-log-receiver-plugin/pom.xml
index 084cc47c5f..8ca0296682 100644
--- a/oap-server/server-receiver-plugin/skywalking-log-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-log-receiver-plugin/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-management-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-management-receiver-plugin/pom.xml
index ad86e7fa85..5590bc94f3 100644
--- a/oap-server/server-receiver-plugin/skywalking-management-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-management-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-mesh-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-mesh-receiver-plugin/pom.xml
index b6180b4f27..1b328c2e41 100644
--- a/oap-server/server-receiver-plugin/skywalking-mesh-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-mesh-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-meter-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-meter-receiver-plugin/pom.xml
index e646bdfc2a..db813f210b 100644
--- a/oap-server/server-receiver-plugin/skywalking-meter-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-meter-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-pprof-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-pprof-receiver-plugin/pom.xml
index 985a5b3070..321791196f 100644
--- a/oap-server/server-receiver-plugin/skywalking-pprof-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-pprof-receiver-plugin/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-profile-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-profile-receiver-plugin/pom.xml
index 5eb3a966e8..cbd0ce30e1 100644
--- a/oap-server/server-receiver-plugin/skywalking-profile-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-profile-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-sharing-server-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-sharing-server-plugin/pom.xml
index 19b45143d0..aef2d7fb3c 100644
--- a/oap-server/server-receiver-plugin/skywalking-sharing-server-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-sharing-server-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-telegraf-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-telegraf-receiver-plugin/pom.xml
index 4477f41b72..350c64abbb 100644
--- a/oap-server/server-receiver-plugin/skywalking-telegraf-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-telegraf-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-trace-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-trace-receiver-plugin/pom.xml
index b4ef8c8344..c4e015eb26 100644
--- a/oap-server/server-receiver-plugin/skywalking-trace-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-trace-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/skywalking-zabbix-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/skywalking-zabbix-receiver-plugin/pom.xml
index 94ea11676f..652622a9df 100644
--- a/oap-server/server-receiver-plugin/skywalking-zabbix-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/skywalking-zabbix-receiver-plugin/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-receiver-plugin/zipkin-receiver-plugin/pom.xml b/oap-server/server-receiver-plugin/zipkin-receiver-plugin/pom.xml
index 9d0be4e30b..72fd456457 100644
--- a/oap-server/server-receiver-plugin/zipkin-receiver-plugin/pom.xml
+++ b/oap-server/server-receiver-plugin/zipkin-receiver-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-receiver-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-starter/pom.xml b/oap-server/server-starter/pom.xml
index 109093dcdf..601d008656 100644
--- a/oap-server/server-starter/pom.xml
+++ b/oap-server/server-starter/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-starter/src/main/resources/lal/envoy-als.yaml b/oap-server/server-starter/src/main/resources/lal/envoy-als.yaml
index 72523f364f..31843e8888 100644
--- a/oap-server/server-starter/src/main/resources/lal/envoy-als.yaml
+++ b/oap-server/server-starter/src/main/resources/lal/envoy-als.yaml
@@ -14,9 +14,13 @@
 # limitations under the License.
 
 rules:
+  # The envoy-als rule has no json/yaml/text parser — it accesses protobuf fields
+  # directly via parsed.* (e.g. parsed?.response?.responseCode?.value).
+  # The extra log type (HTTPAccessLogEntry) is registered via SPI by
+  # EnvoyHTTPLALSourceTypeProvider in envoy-metrics-receiver-plugin,
+  # enabling the compiler to generate direct proto getter calls.
   - name: envoy-als
     layer: MESH
-    extraLogType: io.envoyproxy.envoy.data.accesslog.v3.HTTPAccessLogEntry
     dsl: |
       filter {
         // only collect abnormal logs (http status code >= 300, or commonProperties?.responseFlags is not empty)
diff --git a/oap-server/server-storage-plugin/pom.xml b/oap-server/server-storage-plugin/pom.xml
index 956cf7e8e8..e992b99091 100644
--- a/oap-server/server-storage-plugin/pom.xml
+++ b/oap-server/server-storage-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-storage-plugin/storage-banyandb-plugin/pom.xml b/oap-server/server-storage-plugin/storage-banyandb-plugin/pom.xml
index 14558eca71..e397fc89ab 100644
--- a/oap-server/server-storage-plugin/storage-banyandb-plugin/pom.xml
+++ b/oap-server/server-storage-plugin/storage-banyandb-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-storage-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-storage-plugin/storage-elasticsearch-plugin/pom.xml b/oap-server/server-storage-plugin/storage-elasticsearch-plugin/pom.xml
index d35fd484bb..47599adb71 100644
--- a/oap-server/server-storage-plugin/storage-elasticsearch-plugin/pom.xml
+++ b/oap-server/server-storage-plugin/storage-elasticsearch-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-storage-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-storage-plugin/storage-jdbc-hikaricp-plugin/pom.xml b/oap-server/server-storage-plugin/storage-jdbc-hikaricp-plugin/pom.xml
index 17d6c7fdb7..6eca513162 100644
--- a/oap-server/server-storage-plugin/storage-jdbc-hikaricp-plugin/pom.xml
+++ b/oap-server/server-storage-plugin/storage-jdbc-hikaricp-plugin/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-storage-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-telemetry/pom.xml b/oap-server/server-telemetry/pom.xml
index 1065c3ce03..6d1612a804 100644
--- a/oap-server/server-telemetry/pom.xml
+++ b/oap-server/server-telemetry/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-telemetry/telemetry-api/pom.xml b/oap-server/server-telemetry/telemetry-api/pom.xml
index 5cb2e4b8bd..e410efe849 100644
--- a/oap-server/server-telemetry/telemetry-api/pom.xml
+++ b/oap-server/server-telemetry/telemetry-api/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-telemetry</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-telemetry/telemetry-prometheus/pom.xml b/oap-server/server-telemetry/telemetry-prometheus/pom.xml
index 1a7c70e25c..2db9dcbd9a 100644
--- a/oap-server/server-telemetry/telemetry-prometheus/pom.xml
+++ b/oap-server/server-telemetry/telemetry-prometheus/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>server-telemetry</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-testing/pom.xml b/oap-server/server-testing/pom.xml
index 8695f432a5..14a017076f 100644
--- a/oap-server/server-testing/pom.xml
+++ b/oap-server/server-testing/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-tools/data-generator/pom.xml b/oap-server/server-tools/data-generator/pom.xml
index 406a9c6643..fdf29c9f0d 100644
--- a/oap-server/server-tools/data-generator/pom.xml
+++ b/oap-server/server-tools/data-generator/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <artifactId>server-tools</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <artifactId>data-generator</artifactId>
     <name>data-generator</name>
diff --git a/oap-server/server-tools/pom.xml b/oap-server/server-tools/pom.xml
index b24a7dfc63..7f766b6533 100644
--- a/oap-server/server-tools/pom.xml
+++ b/oap-server/server-tools/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/oap-server/server-tools/profile-exporter/pom.xml b/oap-server/server-tools/profile-exporter/pom.xml
index 4fabd64956..77bcdd0d43 100644
--- a/oap-server/server-tools/profile-exporter/pom.xml
+++ b/oap-server/server-tools/profile-exporter/pom.xml
@@ -21,12 +21,12 @@
     <parent>
         <artifactId>server-tools</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
     <artifactId>profile-exporter</artifactId>
-    <version>${revision}</version>
+    <version>10.4.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <modules>
diff --git a/oap-server/server-tools/profile-exporter/tool-profile-snapshot-bootstrap/pom.xml b/oap-server/server-tools/profile-exporter/tool-profile-snapshot-bootstrap/pom.xml
index abc029fe9b..b4f6792ebb 100644
--- a/oap-server/server-tools/profile-exporter/tool-profile-snapshot-bootstrap/pom.xml
+++ b/oap-server/server-tools/profile-exporter/tool-profile-snapshot-bootstrap/pom.xml
@@ -21,12 +21,12 @@
     <parent>
         <artifactId>profile-exporter</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
     <artifactId>tool-profile-snapshot-bootstrap</artifactId>
-    <version>${revision}</version>
+    <version>10.4.0-SNAPSHOT</version>
 
     <dependencies>
         <dependency>
diff --git a/oap-server/server-tools/profile-exporter/tool-profile-snapshot-exporter/pom.xml b/oap-server/server-tools/profile-exporter/tool-profile-snapshot-exporter/pom.xml
index 106ca974d1..3e8eaa4e50 100644
--- a/oap-server/server-tools/profile-exporter/tool-profile-snapshot-exporter/pom.xml
+++ b/oap-server/server-tools/profile-exporter/tool-profile-snapshot-exporter/pom.xml
@@ -21,12 +21,12 @@
     <parent>
         <artifactId>profile-exporter</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
     <artifactId>tool-profile-snapshot-exporter</artifactId>
-    <version>${revision}</version>
+    <version>10.4.0-SNAPSHOT</version>
 
     <dependencies>
         <dependency>
diff --git a/oap-server/server-tools/profile-exporter/tool-profile-snapshot-server-mock/pom.xml b/oap-server/server-tools/profile-exporter/tool-profile-snapshot-server-mock/pom.xml
index d8c3a0d463..af6b3d1564 100644
--- a/oap-server/server-tools/profile-exporter/tool-profile-snapshot-server-mock/pom.xml
+++ b/oap-server/server-tools/profile-exporter/tool-profile-snapshot-server-mock/pom.xml
@@ -21,12 +21,12 @@
     <parent>
         <artifactId>profile-exporter</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
     <artifactId>tool-profile-snapshot-server-mock</artifactId>
-    <version>${revision}</version>
+    <version>10.4.0-SNAPSHOT</version>
 
     <dependencies>
         <dependency>
diff --git a/pom.xml b/pom.xml
index fa5f258ccb..01bf0ef8b8 100755
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
 
     <groupId>org.apache.skywalking</groupId>
     <artifactId>apm</artifactId>
-    <version>${revision}</version>
+    <version>10.4.0-SNAPSHOT</version>
 
     <parent>
         <groupId>org.apache</groupId>
@@ -147,8 +147,6 @@
     </profiles>
 
     <properties>
-        <revision>10.4.0-SNAPSHOT</revision>
-
         <!-- Built in properties -->
         <maven.compiler.source>11</maven.compiler.source>
         <maven.compiler.target>11</maven.compiler.target>
@@ -198,8 +196,6 @@
         <checkstyle.fails.on.error>true</checkstyle.fails.on.error>
         <assertj-core.version>3.20.2</assertj-core.version>
         <cyclonedx-maven-plugin.version>2.8.0</cyclonedx-maven-plugin.version>
-        <flatten-plugin-version>1.6.0</flatten-plugin-version>
-
         <skipUTs>false</skipUTs>
         <argLine>--add-opens java.base/java.lang=ALL-UNNAMED</argLine>
 
@@ -457,15 +453,6 @@
                         <retryFailedDeploymentCount>5</retryFailedDeploymentCount>
                     </configuration>
                   </plugin>
-                <plugin>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>flatten-maven-plugin</artifactId>
-                    <version>${flatten-plugin-version}</version>
-                    <configuration>
-                        <flattenMode>resolveCiFriendliesOnly</flattenMode>
-                        <updatePomFile>true</updatePomFile>
-                    </configuration>
-                </plugin>
             </plugins>
         </pluginManagement>
         <plugins>
@@ -604,10 +591,6 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-gpg-plugin</artifactId>
             </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>flatten-maven-plugin</artifactId>
-            </plugin>
         </plugins>
     </build>
 </project>
diff --git a/test/script-cases/script-runtime-with-groovy/hierarchy-v1-v2-checker/pom.xml b/test/script-cases/script-runtime-with-groovy/hierarchy-v1-v2-checker/pom.xml
index 9bb7fcfe33..13f0df3c95 100644
--- a/test/script-cases/script-runtime-with-groovy/hierarchy-v1-v2-checker/pom.xml
+++ b/test/script-cases/script-runtime-with-groovy/hierarchy-v1-v2-checker/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>script-runtime-with-groovy</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/test/script-cases/script-runtime-with-groovy/hierarchy-v1-with-groovy/pom.xml b/test/script-cases/script-runtime-with-groovy/hierarchy-v1-with-groovy/pom.xml
index c5efa459d6..d7165808ed 100644
--- a/test/script-cases/script-runtime-with-groovy/hierarchy-v1-with-groovy/pom.xml
+++ b/test/script-cases/script-runtime-with-groovy/hierarchy-v1-with-groovy/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>script-runtime-with-groovy</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/test/script-cases/script-runtime-with-groovy/lal-v1-with-groovy/pom.xml b/test/script-cases/script-runtime-with-groovy/lal-v1-with-groovy/pom.xml
index c6aecfe45b..80739d69b1 100644
--- a/test/script-cases/script-runtime-with-groovy/lal-v1-with-groovy/pom.xml
+++ b/test/script-cases/script-runtime-with-groovy/lal-v1-with-groovy/pom.xml
@@ -20,7 +20,7 @@
     <parent>
         <artifactId>script-runtime-with-groovy</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/test/script-cases/script-runtime-with-groovy/lal-v1-with-groovy/src/main/java/org/apache/skywalking/oap/log/analyzer/dsl/spec/sink/SamplerSpec.java b/test/script-cases/script-runtime-with-groovy/lal-v1-with-groovy/src/main/java/org/apache/skywalking/oap/log/analyzer/dsl/spec/sink/SamplerSpec.java
index f10d471ee1..e500f3c60c 100644
--- a/test/script-cases/script-runtime-with-groovy/lal-v1-with-groovy/src/main/java/org/apache/skywalking/oap/log/analyzer/dsl/spec/sink/SamplerSpec.java
+++ b/test/script-cases/script-runtime-with-groovy/lal-v1-with-groovy/src/main/java/org/apache/skywalking/oap/log/analyzer/dsl/spec/sink/SamplerSpec.java
@@ -61,6 +61,21 @@ public class SamplerSpec extends AbstractSpec {
         sampleWith(sampler);
     }
 
+    @SuppressWarnings("unused")
+    public void rateLimit(final String id, @DelegatesTo(RateLimitingSampler.class) final Closure<?> cl) {
+        if (BINDING.get().shouldAbort()) {
+            return;
+        }
+
+        final Sampler sampler = rateLimitSamplersByString.computeIfAbsent(
+            id, $ -> new RateLimitingSampler(rlsResetHandler).start());
+
+        cl.setDelegate(sampler);
+        cl.call();
+
+        sampleWith(sampler);
+    }
+
     @SuppressWarnings("unused")
     public void rateLimit(final String id, final Consumer<RateLimitingSampler> consumer) {
         if (BINDING.get().shouldAbort()) {
diff --git a/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/pom.xml b/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/pom.xml
index b830126139..8447a80e07 100644
--- a/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/pom.xml
+++ b/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>script-runtime-with-groovy</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
@@ -63,6 +63,13 @@
             <version>${project.version}</version>
             <scope>test</scope>
         </dependency>
+        <!-- Envoy proto types needed to compile envoy-als LAL rules with extraLogType -->
+        <dependency>
+            <groupId>org.apache.skywalking</groupId>
+            <artifactId>receiver-proto</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>org.apache.groovy</groupId>
             <artifactId>groovy</artifactId>
diff --git a/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/java/org/apache/skywalking/oap/server/checker/lal/LalComparisonTest.java b/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/java/org/apache/skywalking/oap/server/checker/lal/LalComparisonTest.java
index 63a64d0a8e..c0505792c1 100644
--- a/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/java/org/apache/skywalking/oap/server/checker/lal/LalComparisonTest.java
+++ b/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/java/org/apache/skywalking/oap/server/checker/lal/LalComparisonTest.java
@@ -27,17 +27,22 @@ import java.util.Collections;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.ServiceLoader;
+import com.google.protobuf.Message;
+import com.google.protobuf.util.JsonFormat;
 import org.apache.skywalking.apm.network.common.v3.KeyStringValuePair;
 import org.apache.skywalking.apm.network.logging.v3.JSONLog;
 import org.apache.skywalking.apm.network.logging.v3.LogData;
 import org.apache.skywalking.apm.network.logging.v3.LogDataBody;
 import org.apache.skywalking.apm.network.logging.v3.LogTags;
+import org.apache.skywalking.apm.network.logging.v3.TraceContext;
 import org.apache.skywalking.oap.log.analyzer.v2.compiler.LALClassGenerator;
 import org.apache.skywalking.oap.log.analyzer.v2.module.LogAnalyzerModule;
 import org.apache.skywalking.oap.log.analyzer.v2.provider.LogAnalyzerModuleConfig;
-import org.apache.skywalking.oap.log.analyzer.v2.provider.LogAnalyzerModuleProvider;
+import org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider;
 import org.apache.skywalking.oap.server.core.CoreModule;
 import org.apache.skywalking.oap.server.core.config.ConfigService;
+import org.apache.skywalking.oap.server.core.config.NamingControl;
 import org.apache.skywalking.oap.server.core.source.SourceReceiver;
 import org.apache.skywalking.oap.server.library.module.ModuleManager;
 import org.apache.skywalking.oap.server.library.module.ModuleProviderHolder;
@@ -86,34 +91,52 @@ class LalComparisonTest {
     private void compareExecution(final LalRule rule) throws Exception {
         final String ruleName = rule.name;
         final String dsl = rule.dsl;
-        final ModuleManager manager = buildMockModuleManager();
+
         final LogData testLog = buildTestLogData(dsl);
 
+        // Build proto extraLog from input data if available
+        final Message extraLog = buildExtraLog(rule.inputData);
+
         // ---- V1: Groovy path ----
         // v1 uses original packages: org.apache.skywalking.oap.log.analyzer.dsl.*
-        org.apache.skywalking.oap.log.analyzer.dsl.Binding v1Ctx = null;
+        final ModuleManager v1Manager = buildMockModuleManager(true);
+        final org.apache.skywalking.oap.log.analyzer.dsl.Binding v1Ctx;
         try {
             final org.apache.skywalking.oap.log.analyzer.dsl.DSL v1Dsl =
                 org.apache.skywalking.oap.log.analyzer.dsl.DSL.of(
-                    manager,
+                    v1Manager,
                     new org.apache.skywalking.oap.log.analyzer.provider.LogAnalyzerModuleConfig(),
                     dsl);
             disableSinkListeners(v1Dsl);
 
             v1Ctx = new org.apache.skywalking.oap.log.analyzer.dsl.Binding().log(testLog);
+            if (extraLog != null) {
+                v1Ctx.extraLog(extraLog);
+            }
             v1Dsl.bind(v1Ctx);
             v1Dsl.evaluate();
         } catch (Exception e) {
-            // V1 failed — skip comparison
+            final Throwable cause = e.getCause() != null ? e.getCause() : e;
+            fail(ruleName + ": v1 (Groovy) failed — "
+                + cause.getClass().getSimpleName() + ": " + cause.getMessage());
+            return;
         }
 
         // ---- V2: ANTLR4 + Javassist path ----
         // v2 uses .v2. packages: org.apache.skywalking.oap.log.analyzer.v2.dsl.*
+        final ModuleManager v2Manager = buildMockModuleManager(false);
         org.apache.skywalking.oap.log.analyzer.v2.dsl.ExecutionContext v2Ctx = null;
         String v2Error = null;
         try {
             final LALClassGenerator generator = new LALClassGenerator();
-            generator.setExtraLogType(rule.extraLogType);
+            // Resolve extraLogType: explicit config > SPI by layer > null
+            if (rule.extraLogType != null) {
+                generator.setExtraLogType(Class.forName(rule.extraLogType));
+            } else if (rule.layer != null) {
+                generator.setExtraLogType(spiExtraLogTypes().get(rule.layer));
+            } else {
+                generator.setExtraLogType(null);
+            }
             if (rule.sourceFile != null) {
                 final String baseName = rule.sourceFile.getName()
                     .replaceFirst("\\.(yaml|yml)$", "");
@@ -127,10 +150,13 @@ class LalComparisonTest {
 
             final org.apache.skywalking.oap.log.analyzer.v2.dsl.spec.filter.FilterSpec v2FilterSpec =
                 new org.apache.skywalking.oap.log.analyzer.v2.dsl.spec.filter.FilterSpec(
-                    manager, new LogAnalyzerModuleConfig());
+                    v2Manager, new LogAnalyzerModuleConfig());
             disableSinkListenersOnSpec(v2FilterSpec);
 
             v2Ctx = new org.apache.skywalking.oap.log.analyzer.v2.dsl.ExecutionContext().log(testLog);
+            if (extraLog != null) {
+                v2Ctx.extraLog(extraLog);
+            }
 
             v2Expr.execute(v2FilterSpec, v2Ctx);
         } catch (Exception e) {
@@ -139,13 +165,6 @@ class LalComparisonTest {
         }
 
         // ---- Compare ----
-        if (v1Ctx == null && v2Ctx == null) {
-            return;
-        }
-        if (v1Ctx == null) {
-            // V1 failed but v2 succeeded — v2 is more capable, OK
-            return;
-        }
         if (v2Ctx == null) {
             fail(ruleName + ": v2 execution failed but v1 succeeded — " + v2Error);
             return;
@@ -174,15 +193,27 @@ class LalComparisonTest {
             ruleName + ": tags mismatch");
     }
 
-    private ModuleManager buildMockModuleManager() {
+    private ModuleManager buildMockModuleManager(final boolean isV1) {
         final ModuleManager manager = mock(ModuleManager.class);
         setInternalField(manager, "isInPrepareStage", false);
         when(manager.find(anyString())).thenReturn(mock(ModuleProviderHolder.class));
 
+        // v1 and v2 have different LogAnalyzerModuleProvider classes that ExtractorSpec casts to.
+        // Each path needs its own manager with the correct provider type.
         final ModuleProviderHolder logAnalyzerHolder = mock(ModuleProviderHolder.class);
-        final LogAnalyzerModuleProvider logAnalyzerProvider = mock(LogAnalyzerModuleProvider.class);
-        when(logAnalyzerProvider.getMetricConverts()).thenReturn(Collections.emptyList());
-        when(logAnalyzerHolder.provider()).thenReturn(logAnalyzerProvider);
+        if (isV1) {
+            final org.apache.skywalking.oap.log.analyzer.provider.LogAnalyzerModuleProvider
+                provider = mock(
+                    org.apache.skywalking.oap.log.analyzer.provider.LogAnalyzerModuleProvider.class);
+            when(provider.getMetricConverts()).thenReturn(Collections.emptyList());
+            when(logAnalyzerHolder.provider()).thenReturn(provider);
+        } else {
+            final org.apache.skywalking.oap.log.analyzer.v2.provider.LogAnalyzerModuleProvider
+                provider = mock(
+                    org.apache.skywalking.oap.log.analyzer.v2.provider.LogAnalyzerModuleProvider.class);
+            when(provider.getMetricConverts()).thenReturn(Collections.emptyList());
+            when(logAnalyzerHolder.provider()).thenReturn(provider);
+        }
         when(manager.find(LogAnalyzerModule.NAME)).thenReturn(logAnalyzerHolder);
 
         when(manager.find(CoreModule.NAME).provider()).thenReturn(mock(ModuleServiceHolder.class));
@@ -195,6 +226,15 @@ class LalComparisonTest {
             .getService(ConfigService.class)
             .getSearchableLogsTags())
             .thenReturn("");
+        final NamingControl namingControl = mock(NamingControl.class);
+        when(namingControl.formatServiceName(anyString()))
+            .thenAnswer(inv -> inv.getArgument(0));
+        when(namingControl.formatInstanceName(anyString()))
+            .thenAnswer(inv -> inv.getArgument(0));
+        when(namingControl.formatEndpointName(anyString(), anyString()))
+            .thenAnswer(inv -> inv.getArgument(1));
+        when(manager.find(CoreModule.NAME).provider().getService(NamingControl.class))
+            .thenReturn(namingControl);
         return manager;
     }
 
@@ -202,16 +242,27 @@ class LalComparisonTest {
         final LogData.Builder builder = LogData.newBuilder()
             .setService("test-service")
             .setServiceInstance("test-instance")
-            .setTimestamp(System.currentTimeMillis());
+            .setTimestamp(System.currentTimeMillis())
+            .setTraceContext(TraceContext.newBuilder()
+                .setTraceId("test-trace-id-123")
+                .setTraceSegmentId("test-segment-id-456")
+                .setSpanId(1));
 
         if (dsl.contains("json")) {
             builder.setBody(LogDataBody.newBuilder()
                 .setJson(JSONLog.newBuilder()
                     .setJson("{\"level\":\"ERROR\",\"msg\":\"test\","
                         + "\"layer\":\"GENERAL\",\"service\":\"test-svc\","
+                        + "\"instance\":\"test-inst\",\"endpoint\":\"test-ep\","
                         + "\"time\":\"1234567890\","
                         + "\"id\":\"slow-1\",\"statement\":\"SELECT 1\","
-                        + "\"query_time\":500}")));
+                        + "\"query_time\":500,\"code\":200,"
+                        + "\"env\":\"prod\",\"region\":\"us-east\","
+                        + "\"skip\":\"false\","
+                        + "\"data\":{\"name\":\"test-value\"},"
+                        + "\"latency\":100,\"uri\":\"/api/test\","
+                        + "\"reason\":\"SLOW\",\"pid\":\"proc-1\","
+                        + "\"dpid\":\"proc-2\",\"dp\":\"CLIENT\"}")));
         }
 
         if (dsl.contains("LOG_KIND")) {
@@ -311,6 +362,18 @@ class LalComparisonTest {
             if (rules == null) {
                 continue;
             }
+
+            // Load matching .input.data file if present
+            final String baseName = file.getName()
+                .replaceFirst("\\.(yaml|yml)$", "");
+            final File inputDataFile = new File(file.getParent(),
+                baseName + ".input.data");
+            Map<String, Map<String, Object>> inputData = null;
+            if (inputDataFile.exists()) {
+                inputData = yaml.load(
+                    Files.readString(inputDataFile.toPath()));
+            }
+
             final List<LalRule> lalRules = new ArrayList<>();
             for (final Map<String, String> rule : rules) {
                 final String name = rule.get("name");
@@ -319,7 +382,11 @@ class LalComparisonTest {
                     continue;
                 }
                 final String extraLogType = rule.get("extraLogType");
-                lalRules.add(new LalRule(name, dslStr, extraLogType, file));
+                final String layer = rule.get("layer");
+                final Map<String, Object> ruleInput = inputData != null
+                    ? inputData.get(name) : null;
+                lalRules.add(new LalRule(
+                    name, dslStr, extraLogType, layer, ruleInput, file));
             }
             if (!lalRules.isEmpty()) {
                 final String relative = lalDir.relativize(file.toPath()).toString();
@@ -359,17 +426,69 @@ class LalComparisonTest {
         }
     }
 
+    // ==================== Proto extraLog builder ====================
+
+    @SuppressWarnings("unchecked")
+    private static Message buildExtraLog(
+            final Map<String, Object> inputData) throws Exception {
+        if (inputData == null) {
+            return null;
+        }
+        final Map<String, String> extraLog =
+            (Map<String, String>) inputData.get("extra-log");
+        if (extraLog == null) {
+            return null;
+        }
+
+        final String protoClass = extraLog.get("proto-class");
+        final String protoJson = extraLog.get("proto-json");
+        if (protoClass == null || protoJson == null) {
+            return null;
+        }
+
+        final Class<?> clazz = Class.forName(protoClass);
+        final Message.Builder builder = (Message.Builder)
+            clazz.getMethod("newBuilder").invoke(null);
+        JsonFormat.parser()
+            .ignoringUnknownFields()
+            .merge(protoJson, builder);
+        return builder.build();
+    }
+
+    // ==================== SPI lookup ====================
+
+    private Map<String, Class<?>> spiTypes;
+
+    private Map<String, Class<?>> spiExtraLogTypes() {
+        if (spiTypes == null) {
+            spiTypes = new HashMap<>();
+            for (final LALSourceTypeProvider p :
+                    ServiceLoader.load(LALSourceTypeProvider.class)) {
+                spiTypes.put(p.layer().name(), p.extraLogType());
+            }
+        }
+        return spiTypes;
+    }
+
+    // ==================== Inner classes ====================
+
     private static class LalRule {
         final String name;
         final String dsl;
         final String extraLogType;
+        final String layer;
+        final Map<String, Object> inputData;
         final File sourceFile;
 
         LalRule(final String name, final String dsl,
-                final String extraLogType, final File sourceFile) {
+                final String extraLogType, final String layer,
+                final Map<String, Object> inputData,
+                final File sourceFile) {
             this.name = name;
             this.dsl = dsl;
             this.extraLogType = extraLogType;
+            this.layer = layer;
+            this.inputData = inputData;
             this.sourceFile = sourceFile;
         }
     }
diff --git a/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/java/org/apache/skywalking/oap/server/checker/lal/TestMeshLALSourceTypeProvider.java b/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/java/org/apache/skywalking/oap/server/checker/lal/TestMeshLALSourceTypeProvider.java
new file mode 100644
index 0000000000..bcaf35f654
--- /dev/null
+++ b/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/java/org/apache/skywalking/oap/server/checker/lal/TestMeshLALSourceTypeProvider.java
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.skywalking.oap.server.checker.lal;
+
+import io.envoyproxy.envoy.data.accesslog.v3.HTTPAccessLogEntry;
+import org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider;
+import org.apache.skywalking.oap.server.core.analysis.Layer;
+
+public class TestMeshLALSourceTypeProvider implements LALSourceTypeProvider {
+    @Override
+    public Layer layer() {
+        return Layer.MESH;
+    }
+
+    @Override
+    public Class<?> extraLogType() {
+        return HTTPAccessLogEntry.class;
+    }
+}
diff --git a/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/java/org/apache/skywalking/oap/server/checker/mal/MalComparisonTest.java b/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/java/org/apache/skywalking/oap/server/checker/mal/MalComparisonTest.java
index 6a1a60e931..8c072d8c33 100644
--- a/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/java/org/apache/skywalking/oap/server/checker/mal/MalComparisonTest.java
+++ b/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/java/org/apache/skywalking/oap/server/checker/mal/MalComparisonTest.java
@@ -89,14 +89,17 @@ class MalComparisonTest {
         final String expression = rule.fullExpression;
 
         // ---- V1: Groovy path (original packages) ----
-        org.apache.skywalking.oap.meter.analyzer.dsl.Expression v1Expr = null;
-        org.apache.skywalking.oap.meter.analyzer.dsl.ExpressionParsingContext v1Ctx = null;
+        final org.apache.skywalking.oap.meter.analyzer.dsl.Expression v1Expr;
+        final org.apache.skywalking.oap.meter.analyzer.dsl.ExpressionParsingContext v1Ctx;
         try {
             v1Expr = org.apache.skywalking.oap.meter.analyzer.dsl.DSL.parse(
                 metricName, expression);
             v1Ctx = v1Expr.parse();
         } catch (Exception e) {
-            // V1 failed - skip comparison
+            final Throwable cause = e.getCause() != null ? e.getCause() : e;
+            fail(metricName + ": v1 (Groovy) failed — "
+                + cause.getClass().getSimpleName() + ": " + cause.getMessage());
+            return;
         }
 
         // ---- V2: ANTLR4 + Javassist (.v2. packages) ----
@@ -120,12 +123,6 @@ class MalComparisonTest {
         }
 
         // ---- Compare metadata ----
-        if (v1Ctx == null && v2Meta == null) {
-            return;
-        }
-        if (v1Ctx == null) {
-            return;
-        }
         if (v2Meta == null) {
             fail(metricName + ": v2 compile failed but v1 succeeded — " + v2Error);
             return;
@@ -717,13 +714,7 @@ class MalComparisonTest {
                 if (name == null || exp == null) {
                     continue;
                 }
-                String fullExp = exp;
-                if (!expPrefix.isEmpty()) {
-                    fullExp = expPrefix + "." + fullExp;
-                }
-                if (!expSuffix.isEmpty()) {
-                    fullExp = fullExp + "." + expSuffix;
-                }
+                final String fullExp = formatExp(expPrefix, expSuffix, exp);
                 malRules.add(new MalRule(name, fullExp, inputConfig, metricPrefix, file));
             }
             if (!malRules.isEmpty()) {
@@ -746,6 +737,32 @@ class MalComparisonTest {
         return null;
     }
 
+    /**
+     * Replicates the production {@code MetricConvert.formatExp()} logic:
+     * inserts {@code expPrefix} after the metric name (first dot-segment),
+     * and appends {@code expSuffix} after the whole expression.
+     */
+    private static String formatExp(final String expPrefix, final String expSuffix,
+                                    final String exp) {
+        String ret = exp;
+        if (!expPrefix.isEmpty()) {
+            final int dot = exp.indexOf('.');
+            if (dot >= 0) {
+                ret = String.format("(%s.%s)", exp.substring(0, dot), expPrefix);
+                final String after = exp.substring(dot + 1);
+                if (!after.isEmpty()) {
+                    ret = String.format("(%s.%s)", ret, after);
+                }
+            } else {
+                ret = String.format("(%s.%s)", exp, expPrefix);
+            }
+        }
+        if (!expSuffix.isEmpty()) {
+            ret = String.format("(%s).%s", ret, expSuffix);
+        }
+        return ret;
+    }
+
     private static class MalRule {
         final String name;
         final String fullExpression;
diff --git a/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/resources/META-INF/services/org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider b/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/resources/META-INF/services/org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider
new file mode 100644
index 0000000000..138c9edf5b
--- /dev/null
+++ b/test/script-cases/script-runtime-with-groovy/mal-lal-v1-v2-checker/src/test/resources/META-INF/services/org.apache.skywalking.oap.log.analyzer.v2.spi.LALSourceTypeProvider
@@ -0,0 +1 @@
+org.apache.skywalking.oap.server.checker.lal.TestMeshLALSourceTypeProvider
diff --git a/test/script-cases/script-runtime-with-groovy/mal-v1-with-groovy/pom.xml b/test/script-cases/script-runtime-with-groovy/mal-v1-with-groovy/pom.xml
index 2abc0aa174..16261ca65b 100644
--- a/test/script-cases/script-runtime-with-groovy/mal-v1-with-groovy/pom.xml
+++ b/test/script-cases/script-runtime-with-groovy/mal-v1-with-groovy/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>script-runtime-with-groovy</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/test/script-cases/script-runtime-with-groovy/mal-v1-with-groovy/src/main/java/org/apache/skywalking/oap/meter/analyzer/dsl/DSL.java b/test/script-cases/script-runtime-with-groovy/mal-v1-with-groovy/src/main/java/org/apache/skywalking/oap/meter/analyzer/dsl/DSL.java
index e723b6add3..161894bd01 100644
--- a/test/script-cases/script-runtime-with-groovy/mal-v1-with-groovy/src/main/java/org/apache/skywalking/oap/meter/analyzer/dsl/DSL.java
+++ b/test/script-cases/script-runtime-with-groovy/mal-v1-with-groovy/src/main/java/org/apache/skywalking/oap/meter/analyzer/dsl/DSL.java
@@ -75,6 +75,7 @@ public final class DSL {
                          .add(Map.class)
                          .add(List.class)
                          .add(Array.class)
+                         .add(String[].class)
                          .add(K8sRetagType.class)
                          .add(DetectPoint.class)
                          .add(Layer.class)
diff --git a/test/script-cases/script-runtime-with-groovy/pom.xml b/test/script-cases/script-runtime-with-groovy/pom.xml
index caafca02b6..ea3c51862d 100644
--- a/test/script-cases/script-runtime-with-groovy/pom.xml
+++ b/test/script-cases/script-runtime-with-groovy/pom.xml
@@ -21,7 +21,7 @@
     <parent>
         <artifactId>oap-server</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>${revision}</version>
+        <version>10.4.0-SNAPSHOT</version>
         <relativePath>../../../oap-server/pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/test/script-cases/scripts/lal/test-lal/oap-cases/envoy-als.yaml b/test/script-cases/scripts/lal/test-lal/oap-cases/envoy-als.yaml
index 72523f364f..4e2708e0d2 100644
--- a/test/script-cases/scripts/lal/test-lal/oap-cases/envoy-als.yaml
+++ b/test/script-cases/scripts/lal/test-lal/oap-cases/envoy-als.yaml
@@ -14,9 +14,10 @@
 # limitations under the License.
 
 rules:
+  # The extra log type (io.envoyproxy.envoy.data.accesslog.v3.HTTPAccessLogEntry) is
+  # registered via SPI by EnvoyHTTPLALSourceTypeProvider in envoy-metrics-receiver-plugin.
   - name: envoy-als
     layer: MESH
-    extraLogType: io.envoyproxy.envoy.data.accesslog.v3.HTTPAccessLogEntry
     dsl: |
       filter {
         // only collect abnormal logs (http status code >= 300, or commonProperties?.responseFlags is not empty)
diff --git a/tools/releasing/create_release_tars.sh b/tools/releasing/create_release_tars.sh
index fb55ea9795..d1221c8c36 100755
--- a/tools/releasing/create_release_tars.sh
+++ b/tools/releasing/create_release_tars.sh
@@ -49,11 +49,11 @@ echo "Checking out the release branch ${RELEASE_VERSION}-release..."
 git checkout -b ${RELEASE_VERSION}-release
 
 log_file=$(mktemp)
-echo "Setting the release version ${RELEASE_VERSION} in pom.xml, log file: ${log_file}"
-${MVN} versions:set-property -DgenerateBackupPoms=false -Dproperty=revision -DnewVersion=${RELEASE_VERSION} > ${log_file} 2>&1
+echo "Setting the release version ${RELEASE_VERSION} in all pom.xml files, log file: ${log_file}"
+${MVN} versions:set -DnewVersion=${RELEASE_VERSION} -DgenerateBackupPoms=false > ${log_file} 2>&1
 
 echo "Committing the pom.xml changes..."
-git add pom.xml
+git add -A '**/pom.xml' pom.xml
 git commit -m "Prepare for release ${RELEASE_VERSION}"
 
 echo "Creating the release tag ${TAG}..."
diff --git a/tools/releasing/start_next_version.sh b/tools/releasing/start_next_version.sh
index 457bc69a7c..7caac06c80 100644
--- a/tools/releasing/start_next_version.sh
+++ b/tools/releasing/start_next_version.sh
@@ -48,11 +48,11 @@ git clone --recurse-submodules -j4 --depth 1 https://github.com/apache/skywalkin
 echo "Checking out the release branch ${RELEASE_VERSION}-release..."
 git checkout -b ${RELEASE_VERSION}-release
 
-echo "Setting the next release version ${NEXT_RELEASE_VERSION} in pom.xml..."
-./mvnw versions:set-property -DgenerateBackupPoms=false -Dproperty=revision -DnewVersion=${NEXT_RELEASE_VERSION}-SNAPSHOT
+echo "Setting the next release version ${NEXT_RELEASE_VERSION} in all pom.xml files..."
+./mvnw versions:set -DnewVersion=${NEXT_RELEASE_VERSION}-SNAPSHOT -DgenerateBackupPoms=false
 
 echo "Committing the pom.xml changes..."
-git add pom.xml
+git add -A '**/pom.xml' pom.xml
 git commit -m "Update the next release version to ${NEXT_RELEASE_VERSION}-SNAPSHOT"
 
 echo "Moving the changelog file..."