Splunk Search

Finding success, failure data using deviceid

anushamkrishna
New Member

Hi,

I have log messages like this:

1) ECMSELECT_SERVICE_RESPONSEReceived Tru2way Proxy Sync Response - selectService, Status: OK, Status Message: Tuning to service:

2) OCAPRESP:Tru2Way Proxy received RPC call - tuning, Status: OK, Status Message: Received service context event, Tune Status: CA_ERROR

The log 1 gets printed whenever a successful channel is being tuned. And log 2 will get printed whenever the channel tunning fails. In the log 2, CA_ERROR is one type of error similarly i have 5 or 6 log messages for different errortypes. Now I need to form a query which gives me the result such as the number of successful channel tunes, number of channel tunes failed based on the deviceId. So, basically it should display for each deviceId how many channel tunes were success and how many got failed. How to frame thee query for this?

0 Karma

kddenton
Explorer

This is a simple query, do you have these fields mapped yet and if so which ones?

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!

Detection Engineering Office Hours: Real-World Troubleshooting & Q&A

[REGISTER HERE] This thread is for the Community Office Hours session on Detection Engineering Office Hours: ...

Developer Spotlight with Mika Borner

From Hackathon Winner to Enterprise Leader    Mika Borner, CEO and Founder of Datapunctum AG, has been ...

Continue Your Federation Journey: Join Session 3 of the Bootcamp Series

To help practitioners build a stronger foundation, we launched the Data Management & Federation ...