Splunk AppDynamics

Create search from custom timer events (mobile app)

Nabiilah_Fasih
New Member

Hello,

We have some custom timers in the code, and I wanted to create a search based on the timer name.

This is what I did:

SELECT timer FROM mobile_session_records WHERE timer.timername is not null AND timer.timername = "SaveItem"

However, the result is not filtering properly by timername. It is showing me entries for other timer names.

Then I tried this:

SELECT timer.timername FROM mobile_session_records WHERE timer.timername is not null AND timer.timername = "SaveItem"

And it looks like timer name is an array with a bunch of timer events in it, which is strange. This is an example of the response I got:

["SaveItem"]

["LoadItem", "SaveItem"]

["Login", "SaveItem"]

Why does timer name contain multiple timer events?

Has anyone tried to create searches based on custom timers? How did you do it?

Labels (1)
0 Karma

Aditi_Sharma
Explorer

Hello @Nabiilah.Fasih

Since its a list of timer values you could try a query such as SELECT timer FROM mobile_session_records WHERE timer.timername IN ("SaveItem") 

As for where there are multiple timer names - it is because for that particular user session record - multiple timer events occurred.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...