Getting Data In

Count the number of requests hitting target server?

JyotiP
Path Finder
 
 
 
 
 
 

For the query :
sourcetype="docker" AppDomain=Eos Level=INFO Message="Eos request calculated"
I have the following output:

host = aecas01ran05.aws.cloud.com source = http:docker sourcetype = docker
And I have various host for my application. How to calculate the number of request that is hitting different server irrespective of failure or success and present them in a table. Idea is to check the servers are hitting with the same number of request or not ??
I have series of server as follows :
aecas01ran04, aecas01ran03, aecas01ran05,aeperf01cmb01

Labels (1)
0 Karma
1 Solution

gjanders
SplunkTrust
SplunkTrust
| stats count by host

Or a stats count of some kind appended to your existing search should be able to count the number of requests/events in the log file...

View solution in original post

0 Karma

gjanders
SplunkTrust
SplunkTrust
| stats count by host

Or a stats count of some kind appended to your existing search should be able to count the number of requests/events in the log file...

0 Karma

JyotiP
Path Finder

@garethatiag this worked. Thank You

harsmarvania57
Ultra Champion

Try this sourcetype="docker" AppDomain=Eos Level=INFO Message="Eos request calculated" | stats count by host

0 Karma

JyotiP
Path Finder

@harsmarvania this worked. Thank You

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...