Browse Source

[indexer] Use tdate instead of date when groking fields

Abraham Elmahrek 11 years ago
parent
commit
677273a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/libs/indexer/src/indexer/utils.py

+ 1 - 1
desktop/libs/indexer/src/indexer/utils.py

@@ -226,7 +226,7 @@ def fields_from_log(fh):
   fields = []
   fields = []
   matches = re.search(TIMESTAMP_PATTERN, row)
   matches = re.search(TIMESTAMP_PATTERN, row)
   if matches:
   if matches:
-    fields.append(('timestamp', 'date'))
+    fields.append(('timestamp', 'tdate'))
   fields.append(('message', 'text_general'))
   fields.append(('message', 'text_general'))
 
 
   return fields
   return fields