잠토의 잠망경

[Splunk] Sort 주의 본문

공부/Splunk

[Splunk] Sort 주의

잠수함토끼 2020. 4. 16. 20:35

 

query의 order by와 유사하지만 주의할 사항이 있다.

제한이 있어서 10,000까지만 정렬되며 이상 넘어가면 data가 사라진다.

모든 것들에 대한 정렬을 원하면 아래를 참고하자.

| Sort xxx    `comments("일반적이지만 10000개가 넘어가면 사라짐")`
| Sort - xxx  `comments("일반적이지만 10000개가 넘어가면 사라짐")`
| Sort 0 xxx  `comments("무제한 정렬")`

https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Sort

 

sort - Splunk Documentation

Download topic as PDF sort Description The sort command sorts all of the results by the specified fields. Results missing a given field are treated as having the smallest or largest possible value of that field if the order is descending or ascending, resp

docs.splunk.com

 

Comments