Dashboards & Visualizations

replacing host values in a chart

a212830
Champion

Hi,

I have a chart that works, but mgmt wants the host values to map to something more meaningful. Is there a way to do this?

My search is this:

index=coreops sourcetype=snmpinfo source="/usr/local/nsmutils/varlog/splunk_cgk_sessions.log" | head 9 | chart sum(CONNECTIONS) as CONNECTIONS by HOST | eval H=HOST | eval HOST="" | xyseries HOST H CONNECTIONS

Tags (2)
0 Karma
1 Solution

bigtyma
Communicator

You might consider doing a lookup on HOST?

View solution in original post

bigtyma
Communicator

You might consider doing a lookup on HOST?

a212830
Champion

lookup worked. The customer didn't like the name of the hosts, so we mapped it via a lookup.

0 Karma

Ayn
Legend

Well how would you define "useful" in your scenario?

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...