BUGFIX: Fix flat output operation time (it was connection time until now)
This commit is contained in:
parent
ea673b809c
commit
145d061c52
@ -125,7 +125,7 @@ var (
|
||||
File os.File
|
||||
Writer *bufio.Writer
|
||||
|
||||
Version = "0.6.8"
|
||||
Version = "0.6.9"
|
||||
|
||||
BuildInfo = promauto.NewGaugeVec(prometheus.GaugeOpts{
|
||||
Name: "openldaplogparser_build_info",
|
||||
@ -217,7 +217,7 @@ func OlcToFlat(olc *OpenLdapConnection) []OpenLdapConnectionFlat {
|
||||
|
||||
for i := range olc.Operations {
|
||||
olcf[i] = OpenLdapConnectionFlat{
|
||||
Time: olc.Time,
|
||||
Time: olc.Operations[i].Time,
|
||||
Hostname: olc.Hostname,
|
||||
Process: olc.Process,
|
||||
ClientIp: olc.ClientIp,
|
||||
|
Loading…
Reference in New Issue
Block a user