I'm new to splunk and need further guidance to be able to accomplish my dashboard for Pi-Hole:
Could some expert guide me how?
Queries Blocked
tag=dns tag=network tag=resolution query_type=blocked |stats count
Total Queries
sourcetype="pihole:log*" tag=dns tag=network tag=resolution query |stats count
How do I create splunk query to get the total percentage of the two results
Queries Blocked/Total queries x 100 = ?
I just need the exact value so i can just simply copy and paste the good answer here to my splunk field.
Your input is highly appreciated.
↧