Hello,
Using search query, I am able to create a table having two columns as shown below.
Col_1 Col_2
----- -----
1993 25
2000 60
2015 23
2017 10
I need to make a simple column chart/bar chart with Col_1 on x-axis and Col_2 on y-axis.
Can anybody let me know the solution for this question.
Your output should work out of the box as Col_1 on x-axis and Col_2 on y-axis of a Column Chart.
<YourBaseSearch>
| table Col_1 Col_2
I am able to get the table after query :
| table Col_1 Col_2
But not able make column chart/bar chart.
Is this is dashboard or search?
If this is dashboard you need to Edit Dashboard and change the Visualization by choosing Column Chart. Refer to some of the steps to create dashboard for your reference: https://docs.splunk.com/Documentation/Splunk/latest/SearchTutorial/Createnewdashboard
If this does not work you will have to paste a screenshot of what you have.
Try this after your search :
| xyseries Col_1 Col_2 Col_2
3no