- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
jerinvarghese
Communicator
09-14-2020
05:17 AM
HI All,
Need help in preparing a tabular form.
Data am having :
using the Index am getting below table.
Class | Count |
NODEDOWN | 520 |
BGPDOWN | 320 |
ISISALERT | 130 |
Query am using
index=itsm
stats count by Class
Last 60 days data.
Requirement:
I want month wise data. I used timewrap and timechart. But the data am getting is not the correct format.
Expected format output.
Class | Jul-20 | Aug-20 | Sep-20 |
NODEDOWN | 250 | 250 | 20 |
BGPDOWN | 150 | 150 | 20 |
ISISALERT | 50 | 50 | 30 |
Please help me this format,
If it search for 1 year data. all 12 months in tabular data.
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

thambisetty

SplunkTrust
09-14-2020
05:36 AM
index=itsm
| bin span=1mon _time
| eval month_Year = strftime(_time,"%b-%y")
| chart count over Class by month_Year
————————————
If this helps, give a like below.
If this helps, give a like below.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

thambisetty

SplunkTrust
09-14-2020
05:36 AM
index=itsm
| bin span=1mon _time
| eval month_Year = strftime(_time,"%b-%y")
| chart count over Class by month_Year
————————————
If this helps, give a like below.
If this helps, give a like below.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
jerinvarghese
Communicator
09-14-2020
06:48 AM
HI,
My order is coming as below. how can i make it on order.
I tried above qury and that provides me output, but all the order is in alphabetical order not in the month wise order. its not useful data. Please help me get it in month wise order
Class | Aug-20 | Jul-20 | Sep-20 |
NODEDOWN | 200 | 200 | 20 |
