mirror of https://github.com/grafana/grafana.git
				
				
				
			Logs: Rename dedup to deduplication (#62944)
* fix: rename dedup with deduplication * docs: update documentation * fix: update names
This commit is contained in:
		
							parent
							
								
									5564b93e2f
								
							
						
					
					
						commit
						8a94688114
					
				|  | @ -85,13 +85,13 @@ Set this to True if you want the display to use line wrapping. If set to False, | |||
| 
 | ||||
| Set this to `true` to pretty print all JSON logs. This setting does not affect logs in any format other than JSON. | ||||
| 
 | ||||
| #### Deduping | ||||
| #### Deduplication | ||||
| 
 | ||||
| Log data can be very repetitive and Explore can help by hiding duplicate log lines. There are a few different deduplication algorithms that you can use: | ||||
| 
 | ||||
| - **Exact -** Exact matches are done on the whole line except for date fields. | ||||
| - **Numbers -** Matches on the line after stripping out numbers such as durations, IP addresses, and so on. | ||||
| - **Signature -** The most aggressive deduping, this strips all letters and numbers and matches on the remaining whitespace and punctuation. | ||||
| - **Signature -** The most aggressive deduplication, this strips all letters and numbers and matches on the remaining whitespace and punctuation. | ||||
| 
 | ||||
| #### Flip results order | ||||
| 
 | ||||
|  |  | |||
|  | @ -438,7 +438,7 @@ class UnthemedLogs extends PureComponent<Props, State> { | |||
|                   id={`prettify_${exploreId}`} | ||||
|                 /> | ||||
|               </InlineField> | ||||
|               <InlineField label="Dedup" className={styles.horizontalInlineLabel} transparent> | ||||
|               <InlineField label="Deduplication" className={styles.horizontalInlineLabel} transparent> | ||||
|                 <RadioButtonGroup | ||||
|                   options={Object.values(LogsDedupStrategy).map((dedupType) => ({ | ||||
|                     label: capitalize(dedupType), | ||||
|  |  | |||
|  | @ -80,7 +80,7 @@ export const LogsMetaRow = React.memo( | |||
|     // Add deduplication info
 | ||||
|     if (dedupStrategy !== LogsDedupStrategy.none) { | ||||
|       logsMetaItem.push({ | ||||
|         label: 'Dedup count', | ||||
|         label: 'Deduplication count', | ||||
|         value: dedupCount, | ||||
|         kind: LogsMetaKind.Number, | ||||
|       }); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue