Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

how to convert query to splunk

$
0
0
Hi, How to convert this sumologic query to splunk _collector="M2" "Memory Monitor" | parse ",DB Job-Connection-Pool: */*/*/" as db_job_1,db_job_2,db_job_3 | parse "Host/Appserver/Version: */*/*" as host,appserver,version | parse "DB General-Connection-Pool: */" as db_1 | parse ",Used File Descriptors: *," as used_fd | parse "Used Client Connections: */300," as used_client_conn // this extracts the # of work item threads in use | parse ",Used Work Item Threads: */100," as used_wit | timeslice 5m // find the peak in 5 minutes | max(used_wit) as maxwit, max(used_client_conn) as max_cc, max(db_1) as max_db1 by _timeslice, appserver // add up all the WIT in use across the environment, count the number of appservers shown in the logs available | sum (maxwit) as env_wit, count_distinct (appserver) as appserver_count by _timeslice // Divide the total # of work item threads in use over the number of appservers in use, express as a percentage | env_wit / appserver_count / 100 as wit_pct | fields wit_pct,_timeslice // Show the same time frames per day on the same graph | compare with timeshift 1d 7

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>