Dashboards & Visualizations

Create timechart without a field name

123michi19
Explorer

Hi @ all,

how could I create a timechart if I have just a error message and no field value?

For example:
index="*" thisistheerrormessage | timechart thisistheerrormessage span=1h

Thanks and BR,
Michael

Labels (1)
Tags (1)
0 Karma
1 Solution

efavreau
Motivator

@123michi19 Count the events and chart when those event happened over time like this:
index="*" thisistheerrormessage | timechart span=1h count

###

If this reply helps you, an upvote would be appreciated.

View solution in original post

0 Karma

efavreau
Motivator

@123michi19 Count the events and chart when those event happened over time like this:
index="*" thisistheerrormessage | timechart span=1h count

###

If this reply helps you, an upvote would be appreciated.
0 Karma

123michi19
Explorer

Thanks for your answer. That works fine. The only problem for me is: I see as describer in the timechart the word "count". How can I get the error message instead of count?

BR

0 Karma

niketn
Legend

Try the following:

| timechart span=1h count as "thisistheerrormessage"
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

123michi19
Explorer

Yes, that's fantastic.
Thanks both for your help 🙂

niketn
Legend

Anytime 🙂

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...