How can i grep the thread names using timelion query

Hey i want to grep the "Abandoned connection cleanup thread" using the timelion query. i need regex to fetch the thread names as label. Here the thread names are dynamically changing

here is the input: q:* > thread_name:Abandoned connection cleanup thread > max(memory_utilisation)

The label is showing as above when i write query .es(index=talend_dev_thread_level_heap*,split='thread_name:7',metric=max:memory_utilisation)

For the above query , i need to add label with regex expression that should give only dynamic thread names like
Abandoned connection cleanup thread

This discusses the usage of .label() which may be helpful for you - Timelion: how generate .label() dynamically?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.