time_parser_test.go
time_parser_test.go - Overview
This file contains tests for the timestamp parsing processor.
Detailed Documentation
TestTimestampParsingProcessor(t *testing.T)
- Purpose: Tests the timestamp parsing processor. It defines a pipeline with a timestamp parser, parses a timestamp string from the log attributes, and verifies that the timestamp is correctly parsed and stored in the log.
- Parameters:
t
:*testing.T
- Testing object for running test cases.
- Returns: None
Code Examples
N/A
Include in Getting Started: NO