Dashboards & Visualizations

Data not represented properly on a graph

mahbs
Path Finder

Hi,

I have the following data that I want to represent on a graph, but It's not coming out properly:

Data is in the following format:

Column Name:    03_DEC_2017         04_DEC_2017
Data                 1                  6
                     2                  3

That Data I want on my X axis by date. So I want 3rd Dec and 4th Dec

On my Y axis I have the data:

DEPT
1
2
3
4
5

Each date has department value associated to it.

Can someone please help me.

This is my current query:

index=xxxsourcetype=csv source=xxx | table 03_DEC_2017, 04_dec_2017, DEPT, ITEM

I'm using the graph function in splunk/

Tags (1)
0 Karma

skoelpin
SplunkTrust
SplunkTrust

Try this

index=xxxsourcetype=csv source=xxx | timechart count by DEPT span=1d

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...