Splunk Search

Display data in timechart

kirrusk
Communicator

I'm using summary index to get data and display in timechart. but not able to create a time chart with the data.

index = summary_dm search_name = Instance_count | table total_Instancecount _time

(total_Instancecount, _time) these are the two fields

summary in is created by using
index = application cf_org = cf_space = cf_app = instance_index = |bucket _time span=1min| dedup cf_org cf_space cf_app instance_index | timechart span=1min count(instance_index) by cf_app| addtotals fieldname = Total_instances | fields _time Total_instances

report is scheduled using above query

summary index is populated with _time total_Instancecount.

0 Karma

woodcock
Esteemed Legend

Try this:

 index = summary_dm search_name = Instance_count
 | timechart sum(Total_instances) AS Total_instances

niketn
Legend

@kirrusk what is the frequency of your summary indexing? Also how is summary index being created? For plotting timechart what is the span you are looking for

index = summary_dm search_name = Instance_count
| timechart sum(total_Instancecount) as total_Instancecount
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

kirrusk
Communicator

summary in is created by using
index = application cf_org = * cf_space = * cf_app = * instance_index = * |bucket _time span=1min| dedup cf_org cf_space cf_app instance_index | timechart span=1min count(instance_index) by cf_app| addtotals fieldname = Total_instances | fields _time Total_instances

report is scheduled using above query

summary index is populated with _time Total_instances.

0 Karma

niketn
Legend

@kirrusk did you try the above query? Does it work for you?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

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 ...