All Apps and Add-ons

How to display last connection status in a chart?

pratapak
Explorer

Hello, I am pretty new to splunk and not having much knowledge. Please help me

Problem Statement:
I have 3 log statements

log.info( "Connecting ..." );
log.info( "Connect or create consumer failed with exception", connectException );
log.info( "Retry connecting in {}ms ...", 1000 );

For every 10 mins 1 want to display connection status. How would I do that? I tried below and it's not working

Connecting ... | timechart count(message) by message usenull=f useother=f

Thanks in advance

0 Karma
1 Solution

hcheang
Path Finder

Try

Connecting OR "Connect or create consumer failed with exception" OR "Retry connecting in"
| timechart span=10min first(message) as message

View solution in original post

hcheang
Path Finder

Try

Connecting OR "Connect or create consumer failed with exception" OR "Retry connecting in"
| timechart span=10min first(message) as message

pratapak
Explorer

@hcheang Thanks

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...