Skip to content

Commit

Permalink
Add meaning
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
  • Loading branch information
StephenWakely committed Jul 17, 2023
1 parent 1dc1637 commit 553223d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lib/vector-core/src/schema/meaning.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//! Constants for commonly used semantic meanings.

/// The service typically represents the application that generated the event.
pub const SERVICE: &str = "service";

/// The main text message of the event.
pub const MESSAGE: &str = "message";

/// The main timestamp of the event.
pub const TIMESTAMP: &str = "timestamp";

/// The hostname of the machine where the event was generated.
pub const HOST: &str = "host";

pub const SOURCE: &str = "source";
pub const SEVERITY: &str = "severity";
pub const TRACE_ID: &str = "trace_id";

0 comments on commit 553223d

Please sign in to comment.