diff --git a/web-console/src/utils/ingestion-spec.tsx b/web-console/src/utils/ingestion-spec.tsx index 1592a4364ff..033571eea76 100644 --- a/web-console/src/utils/ingestion-spec.tsx +++ b/web-console/src/utils/ingestion-spec.tsx @@ -329,11 +329,18 @@ const PARSE_SPEC_FORM_FIELDS: Field[] = [ defined: (p: ParseSpec) => ((p.format === 'csv' || p.format === 'tsv') && !p.hasHeaderRow) || p.format === 'regex', }, + { + name: 'delimiter', + type: 'string', + defaultValue: '\t', + defined: (p: ParseSpec) => p.format === 'tsv', + info: <>A custom delimiter for data values., + }, { name: 'listDelimiter', type: 'string', - defaultValue: '|', defined: (p: ParseSpec) => p.format === 'csv' || p.format === 'tsv', + info: <>A custom delimiter for multi-value dimensions., }, ]; diff --git a/web-console/src/views/segments-view/segments-view.tsx b/web-console/src/views/segments-view/segments-view.tsx index 578c7ec3d34..743943c1500 100644 --- a/web-console/src/views/segments-view/segments-view.tsx +++ b/web-console/src/views/segments-view/segments-view.tsx @@ -524,7 +524,10 @@ export class SegmentsView extends React.PureComponent formatBytes(row.value), + Cell: row => { + if (row.value === 0 && row.original.is_realtime === 1) return '(realtime)'; + return formatBytes(row.value); + }, show: hiddenColumns.exists('Size'), }, {