Dashboards & Visualizations

Chart on splunk dashboard

tsm0099
Explorer

Hello,

I want to create a line/bar chart with some data in a table.

example:

I have data in tabular form as mentioned below :-

column1(string)   |    column2(num)  | cloumn3(time)

X1                              |   12                            | time

X2                              |   9                              | time

X1                              |   10                           | time

X1                              |   5                              | time

X2                              |   15                           | time

 

I want to create a line graph with time at X-axis and column2 at Y-axis

I want two lines in the graph. One for X1 and one for X2. And when I hover on the line it should indicate if the line is for X1 or X2.

 

Can someone please help me write the search query for this requirement?

 

Thanks in advance

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Perhaps this will get you started

<your search that produces the table>
| rename cloumn3 as _time
| timechart max(column2) as column2 by column1
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Perhaps this will get you started

<your search that produces the table>
| rename cloumn3 as _time
| timechart max(column2) as column2 by column1
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

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

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