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!

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...