Skip to content

Commit 54d3dcf

Browse files
committed
add timestamp field to plugin config editor
Setting the timestamp field is required for forward oauth identity.
1 parent 2843709 commit 54d3dcf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/configuration/ConfigEditor.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,15 @@ export const QuickwitDetails = ({ value, onChange }: DetailsProps) => {
9191
width={40}
9292
/>
9393
</InlineField>
94+
<InlineField label="Timestamp field" labelWidth={26} tooltip="The timestamp field must be a fast field">
95+
<Input
96+
id="quickwit_log_level_field"
97+
value={value.jsonData.timeField}
98+
onChange={(event) => onChange({ ...value, jsonData: {...value.jsonData, timeField: event.currentTarget.value}})}
99+
placeholder="timestamp"
100+
width={40}
101+
/>
102+
</InlineField>
94103
</FieldSet>
95104
</div>
96105
</>

0 commit comments

Comments
 (0)