Splunk Search

How to combine the text values in different columns and then visualize them?

reverse
Contributor
**C1    C2  C3**
    A    X  34
    B    Y  39
    C    Z  60

Since i want to project this on a chart .. i want to combine text values of C1 and C2 and then visualize it.
Please guide

0 Karma
1 Solution

niketn
Legend

Try the following

| eval key=C1."-".C2
| chart sum(C3) as C3 by C1 key
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

niketn
Legend

Try the following

| eval key=C1."-".C2
| chart sum(C3) as C3 by C1 key
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

reverse
Contributor

There is a date column too

C0
JAN 1
JAN 2
JAN 3

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...