Splunk Search

Bar + line in chart?

robingg
New Member

I have two types of events, where the important data looks like this:

[
  {
    "acknowledged": false,
    "time": 1588289278000,
  },
  {
    "acknowledged": {
      "time": 1588232449000,
      "username": "admin"
    },
    "time": 1588145193000,
  }
]

Per day, I want a bar chart of the count of the events that contains an acknowledge object. I also want to plot a line that contains the average acknowledgement time (acknowledged.time - time).

0 Karma
1 Solution

adonio
Ultra Champion

write your query that calculates the average acknowledgement time and the count of events over time then when using the bar chart, click edit and use chart overlay. pick the desired field as overlay line over the bar

View solution in original post

0 Karma

adonio
Ultra Champion

write your query that calculates the average acknowledgement time and the count of events over time then when using the bar chart, click edit and use chart overlay. pick the desired field as overlay line over the bar

0 Karma

robingg
New Member

Thanks. Solved the problem

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

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