Hi Everyone,
I have below query:
index=abc ns=hjk app_name=pi "ARC EVENT RECEIVED FROM SOURCE"| rex "RID:(?<RID>(\w+-){4}\w+)-(?<sourceagent>\w+-\w+)"
| stats count(RID) as count, values(RID) as RID by sourceagent| rename sourceagent as "Source"|fields Source count
I have created this as a bar chart.
I am getting X axis as count and Y axis as source.
I want X-AXIS should be discrete as it shows the file count.
How can I do that.
Can someone guide me on that.
I have attached as screenshot.
Not sure what you are asking for here - counts by their very nature are discrete - do you want the label of the x-axis to be something different? do you want the legend to be different?