Files
spl/main.go
2025-12-07 01:17:31 +07:00

11 lines
277 B
Go

package main
import "github.com/e1lama/spl/lexer"
func main() {
tokens := lexer.Tokenize(`index=security (action=failed OR action=denied or action=accepted) host!="localhost" | stats count by dest_ip | sort -count`)
for _, token := range tokens {
lexer.Debug(token)
}
}