instruction
stringlengths 0
10.5k
โ | input
stringlengths 0
9.24k
โ | output
stringlengths 0
8.56k
|
---|---|---|
O2O_risky_event_occurred (SHB) ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | ์ ํ์ํ O2O ๊ตฌ๊ฐ ๋์, ๋น์ธ๊ฐ ์ ๊ทผ ์๋ ํ์ง ์๋๋ฆฌ์ค
๋ฐ๋ณต์ฃผ๊ธฐ : 5๋ถ
์ํ๋ : Medium |
|
Hacker_Using_Specific_AttackTools_Cloud ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค ์ค๋ช
]
๊ณต๊ฒฉ์ ๋๊ตฌ๋ฅผ ์ด์ฉํ ๋น์ธ๊ฐ ์ ์ ์๋ ํ์ง ์๋๋ฆฌ์ค
[์ํฅ๋]
์ธ๋ถ์์ ์ ๊ทผ ๊ฐ๋ฅํ ํน์ ์์คํ
์ ์๋น์ค, ๋ด๋ถ์์ฐ(OS,๋ฒ์ ), ๊ณต๊ฒฉ ๊ฐ๋ฅํ ์ทจ์ฝ์ ์ ๋ณด๊ฐ ๋
ธ์ถ๋ ์ ์์
[ํ์ง ์กฐ๊ฑด]
๋ณด์์ฅ๋น์์ ๋์ผํ IP์ ๋ํด 10๋ถ๋ด ์
์ฑ UserAgent 2๊ฑด์ด์ ํ์ง์ ๋ฐ์ |
|
Access_to_Default/Admin_page_of_system_Cloud ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค ์ค๋ช
]
ํด๋ผ์ฐ๋ ๊ตฌ๊ฐ์ ์ ์ฉ๋ ์๋๋ฆฌ์ค๋ก ๋น๊ถํ์์ Default Page/ ๊ด๋ฆฌ์ ํ์ด์ง ์ ๊ทผ ์๋ ํ์ง ์๋๋ฆฌ์ค
[์ํฅ๋]
๋น๊ถํ์์๊ฒ ๊ด๋ฆฌ์ํ์ด์ง, Default Page ๋
ธ์ถ
[ํ์ง์กฐ๊ฑด]
๋ณด์์ฅ๋น์์ ๊ธฐ๋ณธ ํ์ด์ง ๋ฐ ๊ด๋ฆฌ์ํ์ด์ง ์ ๊ทผํ๋ ๋ก๊ทธ ํ์ง์ ๋ฐ์ |
|
Brute_force_attack(repetitive_failure_of_user_authentication)_Cloud ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค ์ค๋ช
]
๋น๊ถํ์์ ํด๋ผ์ฐ๋ ๊ณ์ ์ ๊ทผ ์๋ ํ์ง ์๋๋ฆฌ์ค
[์ํฅ๋]
๋น์ธ๊ฐ์ ์ ๊ทผ , ๊ณ ๊ฐ ์ ๋ณด ๋
ธ์ถ
[ํ์ง์กฐ๊ฑด]
ํด๋ผ์ฐ๋ ์น ์ฝ์์์ ์ถ๋ฐ์ง IP๋ก ๋ก๊ทธ์ธ ์ธ์ฆ ๋ฐ๋ณต ์คํจ์ ์๋๋ฆฌ์ค ๋ฐ์
๋ก๊ทธ์ธ ์คํจ 5ํ์ด์ ๋ฐ์(ํ๋์ ๊ณ์ ์ ๋ก๊ทธ์ธ 5ํ ์คํจ์ ๊ณ์ ์ ๊น) |
|
Inactive_account_access_attempts_Cloud ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค ์ค๋ช
]
์ผ์ ๊ธฐ๊ฐ ์ ์์ด ๋ ์ฌ์ฉ์์ ์ ์ ์ด๋ ฅ ํ์ธ์ฉ ์๋๋ฆฌ์ค
[์ํฅ๋]
-
[ํ์ง์กฐ๊ฑด]
ํด๋ผ์ฐ๋ ์น ์ฝ์์์ 30์ผ ์ด์ ๋ก๊ทธ์ธ ์๋ ์๋ User ID๋ก ๋ก๊ทธ์ธ 1ํ ๋ฐ์์ ์๋๋ฆฌ์ค ๋ฐ์ |
|
Trying_to_use_config_service(not_permitted)_Cloud ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค ์ค๋ช
]
๋น๊ถํ์์ ํด๋ผ์ฐ๋ ์ ์ฑ
์ ๊ทผ ์๋ ํ์ง
[์ํฅ๋]
๋น์ธ๊ฐ ์ ๊ทผ ํ์ฉ
[ํ์ง์กฐ๊ฑด]
ํด๋ผ์ฐ๋ ์ ์ฑ
์ ๊ทผ ์คํจ ๋ก๊ทธ 5ํ ์ด์ ๋ฐ์์ ํ์ง |
|
GuardDuty_risky_event_occurred_Cloud ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค ์ค๋ช
]
AWS GuardDuty์ ์ํ ์ํ ์ด๋ฒคํธ ํ์ง ๋ชฉ์
[์ํฅ๋]
Exploit ๊ณต๋ต, ๋น์ธ๊ฐ ์ ๊ทผ
[ํ์ง์กฐ๊ฑด]
โ ํน์ ๊ตฌ๊ฐ(aws:guardduty)ย ๋น์ธ๊ฐ ์ ๊ทผ์ ๋ํ ํ์ง
โก ์ฌ์ฉ์ ์ ์์ ์ํ guardduty ์กฐ๊ฑด ๋ง์กฑ ์ ํ์ง |
|
2Factor_Authentication_Detection_Cloud | [์๋๋ฆฌ์ค ์ค๋ช
]
2Factor ์ธ์ฆ๋์ง ์์ ์ฌ์ฉ์์ ์ ์ ์ด๋ ฅ ํ์ธ
[์ํฅ๋]
[ํ์ง์กฐ๊ฑด]
ํด๋ผ์ฐ๋ ์น ์ฝ์์์ 2Factor ์ธ์ฆ์ย ๊ฑฐ์น์ง ์๋ User ID ๋ก๊ทธ์ธ 1ํ ๋ฐ์ ์ ํ์ง |
|
File_uploaded_using_PUT_POST_methods_Cloud ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค์ค๋ช
]
ํ์ผ์
๋ก๋ ์๋ ํ์ง ๋ชฉ์
[์ํฅ๋]
์น์ ์
๋ก๋๋ก ์๋ฒ ๊ถํ ํ๋
[ํ์ง์กฐ๊ฑด]
๊ฐ. ํด๋ผ์ฐ๋ WAF ์ฅ๋น๋ก ๋ถํฐ, ํน์ S-IP์ ๋ฐ์ดํฐ ๋ก๊ทธ๊ฐ ํด๋ผ์ฐ๋ WAF ์ด๋ฒคํธ ์๋ต ๊ฐ์ด allowed ์ ๋ํด์๋ง 1ํ ์ด์ ํ์ธ ์ ํ์ง
๋. PUT ๋ฉ์๋์ ๊ฒฝ์ฐ uri ๊ฐ์ .asp, .exe, .jsp, .php ๋ฑ ์กด์ฌ ์ |
|
Search_WebScanning_Attack_Cloud ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค์ค๋ช
]
๊ฒฝ๊ณ๊ตฌ๊ฐ์์ ์ค์บ ํ์๋ก ํ์ง๋ IP์ ๋ํด ์ถ๊ฐ๋ก ์ค์บ๋ํ๋ ๊ฒฝ์ฐ ํ์ง
[์ํฅ๋]
๋ด๋ถ ์์ฐ(IP) ์ทจ์ฝ์ ์ ๋ณด ๋
ธ์ถ
[ํ์ง์กฐ๊ฑด]
โ ์ค์บ ํ์๋ก ํ์ง๋ S-IP์ Allow ๋ก๊ทธ์์ ์ถ๊ฐ๋ก ์น์ค์บ๋์ ์๋ํ๋ ๊ฒฝ์ฐ ํ์ง |
|
Access_to_multi-servers_of_ShinhanGroup_simultaneously_Cloud ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค์ค๋ช
]
ํน์ ๊ณต๊ฒฉ์๊ฐ ์ ํ๊ธ์ต๊ทธ๋ฃน ๋ค์ ๊ณ์ด์ฌ๋ฅผ ๋์์ผ๋ก ๊ณต๊ฒฉํ๋ ํ์ ํ์ง ๋ชฉ์
[์ํฅ๋]
-
[ํ์ง์กฐ๊ฑด]
์จํ๋ ๋ฏธ์ค ๋์์ ํน์ S-IP๊ฐ 1์๊ฐ ์ด๋ด 5๊ฐ ์ด์ ๊ทธ๋ฃน์ฌ๋ก ํ์ง ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ ๊ฒฝ์ฐ๋ฅผ ํ์ง |
|
SQL Injection with Long URLs - Rule_Cloud ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค ์ค๋ช
]
SQL ์ธ์ ์
์ ๋ฐ์์ํฌ์ ์๋ URL ๋ฌธ์์ด ์ด๋ฒคํธ ํ์ง
[์ํฅ๋]
๋ด๋ถ์ ๋ณด ๋
ธ์ถ ๋๋ ๊ถํ ์์น
[ํ์ง์กฐ๊ฑด]
1. Resource
ย ย ๊ฐ. โ ๊ตฌ๊ฐ โ ๋คํธ์ํฌ ํจํท ํด๋ผ์ฐ๋ WAF
2. ํ์ง ๋ฐฉ๋ฒ
ย ย โโ โกโ url ์ฟผ๋ฆฌ๋ดย SQL inject ๊ด๋ จย ๋ฌธ์์ด 3๊ฑด ์ด์ ํฌํจ ์
ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย 1) url ์ฟผ๋ฆฌ sql injection ๋ฌธ์์ด ๊ฒ์
ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย 2) sql injection ๋ฌธ์์ด 3๊ฑด ์ด์ ์ผ์น |
|
Hacker_Scanning_IP ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค ์ค๋ช
]
๊ฒฝ๊ณ๊ตฌ๊ฐ์์ ํดํน ๋์ ํ์์ ์ํด IP ๋์ญ์ ๋ํด ์ค์บ๋ ํ๋ ๊ฒฝ์ฐ ํ์ง ๋ชฉ์
[์ํฅ๋]
์ธ๋ถ์์ ์ ๊ทผ ๊ฐ๋ฅํ ํธ์คํธ์ ์ ๋ณด ๋
ธ์ถ
[ํ์ง๋ชฉ์ ]
ํน์ S-IP์ Allow/Deny ๋ก๊ทธ์์ D-IP๊ฐ Cํด๋์ค๋ก 3๋ถ๊ฐ 100๊ฐ ์ด์ ์๋ก ๋ค๋ฅธ IP ์ ์ํ๋ ๊ฒฝ์ฐ๋ฅผ ํ์ง |
|
Hacker_Scanning_Port#1(system) ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค์ค๋ช
]
๋คํธ์ํฌ ๋์ญ์ ๋ถํน์ ์์คํ
์์ ์ฌ์ฉ์ค์ธ ์๋น์ค ํ์ ๋ชฉ์
[์ํฅ๋]
์ธ๋ถ์์ ์ ๊ทผ ๊ฐ๋ฅํ ํน์ ์๋น์ค Port์ ์ ๋ณด ๋
ธ์ถ
[ํ์ง์กฐ๊ฑด]
Allow/Deny ๋ก๊ทธ๋ฅผ ๊ธฐ์ค์ผ๋ก ํน์ S-IP์์ 3๋ถ ์ด๋ด 100๊ฐ ์ด์ ์๋ก ๋ค๋ฅธ ํฌํธ๋ฅผ ์ ์์๋ํ๋ ๊ฒฝ์ฐ๋ฅผ ํ์ง |
|
Hacker_Scanning_Port#2(Network_Range) ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค ์ค๋ช
]
ํน์ ํ ํดํน ๋์(์์คํ
)์์ ์ฌ์ฉ์ค์ธ ์๋น์ค ํ์ ๋ชฉ์
[์ํฅ๋]
์ธ๋ถ์์ ์ ๊ทผ ๊ฐ๋ฅํ ํน์ ์๋น์ค Port์ ์ ๋ณด ๋
ธ์ถ
[ํ์ง์กฐ๊ฑด]
Allow/Deny ๋ก๊ทธ๋ฅผ ๊ธฐ์ค์ผ๋ก ํน์ S-IP์์ ๋ฐ์ํ ๋ก๊ทธ์ D-Port๋ฅผ Countingํ์ฌ 3๋ถ ์ด๋ด 50๊ฐ ์ด์ ํฌํธ๋ก ์ ์์๋ํ๋ ๊ฒฝ์ฐ๋ฅผ ํ์ง |
|
Hacker_Using_Specific_AttackTools ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค์ค๋ช
]
๊ณต๊ฒฉ์์ ๋๊ตฌ๋ฅผ ์ด์ฉํ ๋น์ธ๊ฐ ์ ์ ์๋ ํ์ง ๋ชฉ์
[์ํฅ๋]
์ธ๋ถ์์ ์ ๊ทผ ๊ฐ๋ฅํ ํน์ ์์คํ
์ ์๋น์ค, ๋ด๋ถ์์ฐ(OS, ๋ฒ์ ), ๊ณต๊ฒฉ ๊ฐ๋ฅํ ์ทจ์ฝ์ ์ ๋ณด ๋
ธ์ถ
[ํ์ง์กฐ๊ฑด]
ํน์ S-IP์ ๋ํด IPS๋ WAF์์ ํ์ง๋ ๋ก๊ทธ์ User-Agent ์ ๋ณด๋ฅผ ํ์ธํ์ฌ "1-๋-โก์ Tool๋ช
"์ด 10๋ถ ์ด๋ด 2๊ฐ ์ด์ ์๋ ๊ฒฝ์ฐ ํ์ง (โปTool์ ๊ด๊ณ์์ด 2๊ฑด ์ด์์ด๋ฉด ํ์ง) |
|
Access_to_Defaul/Admin_page_of_system ์๋๋ฆฌ์ค์ ๋ํด ์ค๋ช
ํด์ค | [์๋๋ฆฌ์ค์ค๋ช
]
๋น๊ถํ์์ Default Page / ๊ด๋ฆฌ์ ํ์ด์ง ์ ๊ทผ ์๋ ํ์ง ๋ชฉ์
[์ํฅ๋]
๋น๊ถํ์์๊ฒ ๊ด๋ฆฌ์ํ์ด์ง, Default Page ๋
ธ์ถ ๊ฐ๋ฅ
[ํ์ง์กฐ๊ฑด]
IPS ๋๋ WAF์์ raw_data ๋๋ signature์ default_page ์ ๊ทผ ๋ด์ฉ์ด ์๋ ๊ฒฝ์ฐ ํ์ง
ํ์ง๋ ๋ก๊ทธ์ S-IP๊ฐ ์ต๊ทผ 1๊ฐ์ ์ด๋ด ์ ์๊ธฐ๋ก(ํ์ง ๋ก๊ทธ)์ด ์๋ ๊ฒฝ์ฐ๋ก ์ ํ |
|
SPLUNK์์ ๋์๋ณด๋ ๋ชฉ๋ก์ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | | rest /servicesNS/-/-/data/ui/views
| search eai:type="views"
| table title eai:data |
|
SPLUNK์์ SavedSearch ๋ชฉ๋ก์ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | | rest /services/saved/searches
|rename auto_summarize.* as a_*, eai:acl.* as *
|table title, search, cron_schedule, app, author, description, updated, acl_share, acl_write, status |
|
SPLUNK์์ ๋งคํฌ๋ก ๋ชฉ๋ก์ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | | rest /servicesNS/-/-/admin/macros splunk_server=local
| rename title as Macro_Name, author as user, eai:acl.*, definition as query
|table Macro_Name, args, query, name, app, "perms,read", "perms,write", updated |
|
์ ํ๊ธ์ต์ง์ฃผ ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sfg_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
์ ํ๊ธ์ต์ง์ฃผ WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sfg_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํ๊ธ์ต์ง์ฃผ IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sfg_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํ๊ธ์ต์ง์ฃผ DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sfg_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํ์ํ ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shb_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
์ ํ์ํ WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shb_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํ์ํ IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shb_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํ์ํ DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shb_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํ์นด๋ ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shc_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
์ ํ์นด๋ WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shc_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํ์นด๋ IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shc_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํ์นด๋ DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shc_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํํฌ์์ฆ๊ถ ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shi_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
์ ํํฌ์์ฆ๊ถ WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shi_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํํฌ์์ฆ๊ถ IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shi_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํํฌ์์ฆ๊ถ DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shi_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํ๋ผ์ดํ ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shl_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
์ ํ๋ผ์ดํ WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shl_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํ๋ผ์ดํ IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shl_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํ๋ผ์ดํ DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shl_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์บํผํ ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=cap_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
์บํผํ WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=cap_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์บํผํ IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=cap_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์บํผํ DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=cap_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์์ฐ์ด์ฉ ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sam_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
์์ฐ์ด์ฉ WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sam_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์์ฐ์ด์ฉ IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sam_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์์ฐ์ด์ฉ DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sam_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ์ฃผ์ํ ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=jjb_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
์ ์ฃผ์ํ WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=jjb_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ์ฃผ์ํ IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=jjb_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ์ฃผ์ํ DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=jjb_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ์ถ์ํ ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sav_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
์ ์ถ์ํ WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sav_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ์ถ์ํ IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sav_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ์ถ์ํ DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sav_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์์ฐ์ ํ ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sat_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
์์ฐ์ ํ WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sat_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์์ฐ์ ํ IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sat_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์์ฐ์ ํ DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sat_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํDS ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sds_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
์ ํDS WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sds_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํDS IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sds_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ํDS DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sds_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
ํ๋ํํธ๋์ค ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sfp_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
ํ๋ํํธ๋์ค WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sfp_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
ํ๋ํํธ๋์ค IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sfp_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
ํ๋ํํธ๋์ค DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sfp_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ์ฉ์ ๋ณด ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sci_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
์ ์ฉ์ ๋ณด WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sci_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ์ฉ์ ๋ณด IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sci_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ ์ฉ์ ๋ณด DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sci_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
๊ทธ๋ฃน๊ณตํต ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sgc_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
๊ทธ๋ฃน๊ณตํต WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sgc_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
๊ทธ๋ฃน๊ณตํต IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sgc_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
๊ทธ๋ฃน๊ณตํต DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sgc_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
EZ์ํด๋ณดํ ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sez_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
EZ์ํด๋ณดํ WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sez_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
EZ์ํด๋ณดํ IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sez_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
EZ์ํด๋ณดํ DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sez_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
๊ธ์ตํ๋ฌ์ค ๋ฐฉํ๋ฒฝ์์ ์ต๊ทผ 10๋ถ๋์ ์ฌ์ดํธ ๋ณ ํธ๋ํฝ ํน์ด์ฌํญ์ ํ์ธํ ์ ์๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shp_fw earliest=-10m@m latest=nowย
| stats min(_time) as s_time, max(_time) as e_time, first(src) as src, dc(src) as src_cnt, first(src_port) as src_port, dc(src_port) as src_port_cnt, first(dest_port) as dest_port, dc(dest_port) as dest_port_cnt sum(bytes_in) as inbound, sum(bytes_out) as outbound count by dest, action
| sort - inbound limit=0
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval inbound=case(inbound>1073741824,round(inbound/1024/1024/1024,2)."(GB)", inbound>1048576,round(inbound/1024/1024,2)."(MB)",inbound>1024,floor(inbound/1024)."(KB)",true(),inbound."(Byte)"), outbound=case(outbound>1073741824,round(outbound/1024/1024/1024,2)."(GB)", outbound>1048576,round(outbound/1024/1024,2)."(MB)",outbound>1024,floor(outbound/1024)."(KB)",true(),outbound."(Byte)"), diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table dest, action, inbound, outbound, count, s_time,e_time, diff, src, src_port, dest_port
| rename dest as ๋ชฉ์ ์ง, action as ์ฐจ๋จ์ฌ๋ถ, inbound as ์ธ๋ฐ์ด๋ํธ๋ํฝ, outbound as ์์๋ฐ์ด๋ํธ๋ํฝ, count as ์์ฒญ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งํฌํธ, dest_port as ๋ชฉ์ ์งํฌํธ |
|
๊ธ์ตํ๋ฌ์ค WAF์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shp_waf earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
๊ธ์ตํ๋ฌ์ค IPS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shp_ips earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature
| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")
| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)
| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")
| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port
| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
๊ธ์ตํ๋ฌ์ค DDOS์์ ์ต๊ทผ 1์๊ฐ ๋์ ๋ฐ์ํ ์ด๋ฒคํธ๋ฅผ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=shp_ddos earliest=-1h@h latest=now | stats count(eval(action="allowed")) as allow_cnt, count(eval(action="blocked")) as block_cnt, earliest(src) as src, dc(src) as src_cnt, earliest(src_port) as src_port, dc(src_port) as src_port_cnt, earliest(dest) as dest, dc(dest) as dest_cnt, earliest(dest_port) as dest_port, dc(dest_port) as dest_port_cnt, min(_time) as s_time, max(_time) as e_time, values(device_role) as device_role count as all_cnt by signature\"\"| eval diff=e_time - s_time, s_time=strftime(s_time,"%F %T"), e_time=strftime(e_time,"%F %T")\"| eval src=if(src_cnt>1,src."๋ฑ ".src_cnt."๊ฐ IP",src), src_port=if(src_port_cnt>1,src_port."๋ฑ ".src_port_cnt."๊ฐ IP",src_port), dest=if(dest_cnt>1,dest."๋ฑ ".dest_cnt."๊ฐ IP",dest), dest_port=if(dest_port_cnt>1,dest_port."๋ฑ ".dest_port_cnt."๊ฐ IP",dest_port)\"| eval all_cnt=all_cnt."๊ฑด (ํ์ง:".allow_cnt."๊ฑด/ ์ฐจ๋จ:".block_cnt."๊ฑด)", diff=case(diff>86400,floor(diff/86400)."์ผ ".floor((diff%86400)/3600)."์ ". floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>3600,floor((diff%86400)/3600)."์ ".floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",diff>60,floor(((diff%86400)%3600)/60)."๋ถ ".floor((((diff%86400)%3600)%60))."์ด",true(),floor((((diff%86400)%3600)%60))."์ด")\"| table signature, all_cnt, s_time, e_time, diff, device_role, src, src_port, dest, dest_port\"| rename signature as ์ด๋ฒคํธ๋ช
, all_cnt as ๊ฑด์, s_time as ์์์๊ฐ, e_time as ๋ง์ง๋ง์๊ฐ, diff as ์ฐ๊ฒฐ์ ์ง์๊ฐ, device_role as ํ์ง์ฅ๋น, src as ์ถ๋ฐ์ง, src_port as ์ถ๋ฐ์งIP, dest as ๋ชฉ์ ์ง, dest_port as ๋ชฉ์ ์งPort |
|
์ต๊ทผ 24์๊ฐ ๋์ ๋์ฌ์จ์ด ์์ฌ ๋ฉ์ผ ๋ชฉ๋ก์ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=sgc_mail ("ransome" OR "๋์ฌ" OR "bitcoin" OR "๋นํธ์ฝ์ธ" OR "DDos" OR "๊ณต๊ฒฉ" OR "@protonmail.com" OR "@aaathats3as.com" OR "@startmail.com" OR "attack") earliest=-24h@h latest=now | eval EF=coalesce(EF,senderEmail), ER=coalesce(ER,fromEmail), SJ=coalesce(SJ,subject)
| eval time=strftime(_time,"%F %T")
| table time, EF, ER, SJ
| where isnotnull(SJ)
| sort - _time
| rename time as ์ ์
์๊ฐ, EF as ๋ฐ์ ์, ER as ์์ ์, SJ as ์ ๋ชฉ |
|
ํ์์ ๋๋น ์ด๋ฒคํธ๊ฐ ๊ธ์ฆํ๋ ์ด๋ฒคํธ ๋ชฉ๋ก์ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=summary_data AND (search_name="Event_Spike_Alerting" OR orig_rule_name="Threat - Anomaly_HomePage_Access_Attempt(JJB) - Rule")ย
| eval alert=if(isnull(alert),orig_rule_name,alert)ย
| table alert src |
|
์ต๊ทผ 24์๊ฐ ๋์ NICDOWN์ด ๋ฐ์ํ ์ฅ๋น ๋ชฉ๋ก์ ํ์ธํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ค | index=summary_data OR index=shb_waf AND (source="HC - Not Received Availability (10min Over)-*" OR source="HC - Event Log Not Received-1*" ORย source="HC - Event dectect*" OR source="*System Event Log Error-*" OR source="*FW_๊ด๋ฆฌ๊ณ์ _๋ก๊ทธ์ธ์๋*" OR source="*WIPS_UP/DOWN Event*" OR source="*WAF Interface Down Event*" OR source="*Tipping_Point System Event Log Error-*" OR sourcetype="waf:system") AND ("*LINK*" OR "*NIC*") earliest=-24h@h latest=now |
|
Splunk Machine Learning Toolkit์์ ์ฝ๋ฑ์ ์ด๋ค ์ญํ ์ ํ๋์? | MLTK์์ ์ฝ๋ฑ์ ์๊ณ ๋ฆฌ์ฆ ๋ชจ๋ธ์ ์ง๋ ฌํ(์ ์ฅ)ํ๊ณ ์ญ์ง๋ ฌํ(๋ก๋)ํ๋ ์ญํ ์ ํฉ๋๋ค. MLTK๋ Python ๊ฐ์ฒด๋ฅผ JSON ๊ฐ์ฒด๋ก ๋ณํํ๊ณ ์ด๋ฅผ CSV ํ์ผ์ ์ ์ฅํ์ฌ Splunk Enterprise์์ ๋ฃฉ์
์ผ๋ก ์ฌ์ฉํ ์ ์๊ฒ ํฉ๋๋ค. |
|
Correlation Matrix ์๊ณ ๋ฆฌ์ฆ์ MLTK์ ์ถ๊ฐํ๋ ค๋ฉด ์ด๋ป๊ฒ ํด์ผ ํ๋์? | Correlation Matrix ์๊ณ ๋ฆฌ์ฆ์ ์ถ๊ฐํ๋ ค๋ฉด Python ํ์ผ์ ์์ฑํ๊ณ , BaseAlgo ํด๋์ค๋ฅผ ์์๋ฐ์ __init__ ๋ฐ fit ๋ฉ์๋๋ฅผ ์ ์ํด์ผ ํฉ๋๋ค. ๊ทธ๋ฐ ๋ค์, algos.conf ํ์ผ์ ์๊ณ ๋ฆฌ์ฆ์ ๋ฑ๋กํฉ๋๋ค. |
|
MLTK์์ Linear Regression ๋ชจ๋ธ์ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ์? | | fit LinearRegression sepal_width from petal* fit_intercept=t ํ์์ผ๋ก SPL์ ์ฌ์ฉํ์ฌ Linear Regression ๋ชจ๋ธ์ ์ฌ์ฉํ ์ ์์ต๋๋ค. ์ฌ๊ธฐ์ target_variable์ 'sepal_width'๋ก, feature_variables๋ 'petal*'๋ก ์ค์ ๋ฉ๋๋ค. |
|
MLTK์์ Support Vector Regressor(SVR) ์๊ณ ๋ฆฌ์ฆ์ ์ฌ์ฉํ๋ ค๋ฉด ์ด๋ป๊ฒ ์ค์ ํด์ผ ํ๋์? | SVR ์๊ณ ๋ฆฌ์ฆ์ ์ฌ์ฉํ๋ ค๋ฉด SVR.py ํ์ผ์ ์์ฑํ๊ณ RegressorMixin๊ณผ BaseAlgo๋ฅผ ์์๋ฐ์ init ๋ฉ์๋์์ ์ต์
์ ์ค์ ํฉ๋๋ค. ํ์ํ ๊ฒฝ์ฐ SimpleObjectCodec์ ์ฌ์ฉํ์ฌ ์ฝ๋ฑ์ ๋ฑ๋กํฉ๋๋ค. |
|
MLTK์ ์ฌ์ฉ์ ์ ์ ์๊ณ ๋ฆฌ์ฆ์์ apply ๋ฉ์๋๋ ์ธ์ ์ฌ์ฉ๋๋์? | apply ๋ฉ์๋๋ ์ ์ฅ๋ ๋ชจ๋ธ์ด ์๋ก์ด ๋ฐ์ดํฐ์ ๋ํด ์์ธก์ ์ํํ ๋ ํ์ํฉ๋๋ค. fit ๋ฉ์๋๊ฐ ๋ฐ์ดํฐ ํ์ต์ ์ฌ์ฉ๋๋ ๋ฐ๋ฉด, apply ๋ฉ์๋๋ ์ด๋ฏธ ํ์ต๋ ๋ชจ๋ธ์ ์ฌ์ฉํ์ฌ ์์ธก์ ์ํํ๋ ๋ฐ ์ฌ์ฉ๋ฉ๋๋ค. |
|
Splunk์์ stats ๋ช
๋ น์ด๋ ๋ฌด์์ธ๊ฐ์? | stats ๋ช
๋ น์ด๋ ์ฃผ์ด์ง ํ๋๋ฅผ ๊ธฐ์ค์ผ๋ก ํต๊ณ๋ฅผ ๊ณ์ฐํ์ฌ ๋ฐ์ดํฐ๋ฅผ ์์ฝํ๋ ๋ฐ ์ฌ์ฉ๋ฉ๋๋ค. ์๋ฅผ ๋ค์ด, ์ด๋ฒคํธ ์, ํ๊ท , ํฉ๊ณ๋ฅผ ๊ณ์ฐํ ์ ์์ต๋๋ค. ์ฌ์ฉ ์: 'index=main | stats count by status'๋ ๊ฐ 'status' ๊ฐ๋ณ๋ก ์ด๋ฒคํธ ์๋ฅผ ์ถ๋ ฅํฉ๋๋ค. |
|
Splunk์ Machine Learning Toolkit์์ ์ปค์คํ
์๊ณ ๋ฆฌ์ฆ์ ์ถ๊ฐํ๋ ๋ฐฉ๋ฒ์? | MLTK์ ์ปค์คํ
์๊ณ ๋ฆฌ์ฆ์ ์ถ๊ฐํ๋ ค๋ฉด Python ํด๋์ค๋ฅผ ์์ฑํ๊ณ MLTK ์ฑ์ ๋ฑ๋กํด์ผ ํฉ๋๋ค. ๊ธฐ๋ณธ ์ ์ฐจ๋ algos.conf ํ์ผ์ ์๊ณ ๋ฆฌ์ฆ ์ด๋ฆ์ ์ถ๊ฐํ๊ณ , Python์ผ๋ก ์๊ณ ๋ฆฌ์ฆ์ ์ ์ํ ํ ํ์ํ ๋ฉ์๋๋ฅผ ๊ตฌํํ์ฌ MLTK์ ํธํ๋๋๋ก ํ๋ ๊ฒ์
๋๋ค. |
|
Splunk์์ alert suppression์ ์ค์ ํ๋ ค๋ฉด ์ด๋ป๊ฒ ํด์ผ ํ๋์? | alert suppression์ ๋์ผํ ์กฐ๊ฑด์์ ๋ฐ๋ณต์ ์ผ๋ก ์๋ฆผ์ด ํธ๋ฆฌ๊ฑฐ๋์ง ์๋๋ก ํ๋ ์ค์ ์
๋๋ค. suppression ์ฃผ๊ธฐ๋ฅผ ์ค์ ํ์ฌ ์ผ์ ์๊ฐ ๋ด ๋์ผํ ์กฐ๊ฑด์ ๋ฌด์ํ๋๋ก ์ค์ ํ ์ ์์ต๋๋ค. |
|
Splunk์์ real-time alert๋ฅผ ์ค์ ํ๋ ๋ฐฉ๋ฒ์? | Real-time alert๋ ์ค์๊ฐ์ผ๋ก ์ด๋ฒคํธ๋ฅผ ๋ชจ๋ํฐ๋งํ์ฌ ์กฐ๊ฑด์ ๋ง์กฑํ ๋ ์ฆ์ ์๋ฆผ์ ํธ๋ฆฌ๊ฑฐํ๋ ๊ธฐ๋ฅ์
๋๋ค. ์ฌ์ฉ ์: 'index=main | stats count | where count > 100'๊ณผ ๊ฐ์ ์ฟผ๋ฆฌ๋ฅผ ์ฌ์ฉํ์ฌ ์กฐ๊ฑด์ด ์ถฉ์กฑ๋ ๋๋ง๋ค ํธ๋ฆฌ๊ฑฐํ ์ ์์ต๋๋ค. |
|
Splunk Add-on Builder์์ ์๋ก์ด add-on์ ์์ฑํ๋ ๋ฐฉ๋ฒ์? | Add-on Builder์์ ์๋ก์ด add-on์ ์์ฑํ๋ ค๋ฉด, 'Create an add-on'์ ์ ํํ๊ณ , ๋ฐ์ดํฐ๋ฅผ ์์งํ ์์ค์ ๊ตฌ์ฑ์ ์ง์ ํ ํ setup page๋ฅผ ์ถ๊ฐํด ์ฌ์ฉ์ ์ค์ ์ ์ง์ ํ ์ ์์ต๋๋ค. ์ดํ add-on์ ํจํค์งํ์ฌ ๋ฐฐํฌํ ์ ์์ต๋๋ค. |
|
Splunk์์ ๋ฐ์ดํฐ ๋ชจ๋ธ์ ๋งคํํ๋ ค๋ฉด ์ด๋ป๊ฒ ํด์ผ ํ๋์? | ๋ฐ์ดํฐ ๋ชจ๋ธ ๋งคํ์ ์ํด์๋ ํ๋ ์ถ์ถ ๋ฐ ๋ณํ์ด ํ์ํ๋ฉฐ, collections.conf์ transforms.conf ํ์ผ์ ์ค์ ํ์ฌ CIM๊ณผ ํธํ๋๋๋ก ๊ตฌ์ฑํฉ๋๋ค. |
|
Splunk์์ timechart ๋ช
๋ น์ด๋ ์ด๋ป๊ฒ ์ฌ์ฉํ๋์? | timechart ๋ช
๋ น์ด๋ ์๊ฐ ๊ฐ๊ฒฉ์ ๋ฐ๋ผ ๋ฐ์ดํฐ๋ฅผ ์ง๊ณํ์ฌ ๊ทธ๋ํ๋ฅผ ์์ฑํ๋ ๋ช
๋ น์ด์
๋๋ค. ์: 'index=main | timechart span=1h count'๋ 1์๊ฐ ๊ฐ๊ฒฉ์ผ๋ก ์ด๋ฒคํธ ์๋ฅผ ์ง๊ณํ์ฌ ์๊ฐ ๊ธฐ๋ฐ ์ฐจํธ๋ฅผ ๋ง๋ญ๋๋ค. |
|
Splunk์์ CLI๋ฅผ ์ฌ์ฉํ์ฌ ๋ฐ์ดํฐ๋ฅผ ์์งํ๋ ค๋ฉด ์ด๋ป๊ฒ ํด์ผ ํ๋์? | 'splunk add monitor <directory_path>' ๋ช
๋ น์ ํตํด ํน์ ๋๋ ํฐ๋ฆฌ์์ ๋ฐ์ดํฐ๋ฅผ ์์งํ ์ ์์ต๋๋ค. ์: '/var/log' ๋๋ ํฐ๋ฆฌ์์ ๋ฐ์ดํฐ๋ฅผ ์์งํ๋ ค๋ฉด 'splunk add monitor /var/log'๋ฅผ ์ฌ์ฉํฉ๋๋ค. |
End of preview. Expand
in Dataset Viewer.
YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/datasets-cards)
license: cc-junghun language:
- en tags:
- instruction-finetuning pretty_name: Alpaca-Cleaned task_categories:
- text-generation
- Downloads last month
- 30