Skip to content

Commit

Permalink
Couple fixes to examples
Browse files Browse the repository at this point in the history
Corrected examples
  • Loading branch information
marcelschlapfer committed Mar 22, 2024
1 parent f8e2eed commit afc18ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/content/docs/logs/ui-data/timestamp-support.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ You can use the `datetime` Grok type to parse timestamps in non-supported format
MM/dd/yyyy HH:mm:ss.SSS
</td>
<td>
`%{GREEDYDATA:timestamp:datetime;MM/dd/yyyy HH:mm:ss.SSS}`
`%{DATA:timestamp:datetime;MM/dd/yyyy HH:mm:ss.SSS}`
</td>
</tr>
<tr>
Expand All @@ -217,18 +217,18 @@ You can use the `datetime` Grok type to parse timestamps in non-supported format
MM-dd-yyyy HH:mm:ss
</td>
<td>
`%{GREEDYDATA:timestamp:datetime;MM-dd-yyyy HH:mm:ss}`
`%{DATA:timestamp:datetime;MM-dd-yyyy HH:mm:ss}`
</td>
</tr>
<tr>
<td>
11/17/2023 09:55:25 AM
</td>
<td>
MM/dd/yyyy hh:mm:ss a
MM/dd/yyyy h:mm:ss a
</td>
<td>
`%{GREEDYDATA:timestamp:datetime;h:mm:ss a}`
`%{DATA:timestamp:datetime;MM/dd/yy h:mm:ss a}`
</td>
</tr>
</tbody>
Expand Down

0 comments on commit afc18ce

Please sign in to comment.