Knowledge Management

How do I use the event type to highlight all events, not just the left side?

eliasabouhamad
Explorer

how can i use the event type to highlight all events, not just to highlight the left side ?

0 Karma

ngatchasandra
Builder

Hi,
To try to do this, you can use eventtypes.cont and event_renderers.conf.

Call your eventtype which is define from eventtypes.conf in event_renderers.conf.

You will define a CSS class in event_renderers.conf.

After do this, you can externalize your css style rules for this in $APP/appserver/static/application.css. For example, to make the text red you would add to application.css:.splEvent-foo { color:red; }

This an example of stanza in event_renderers.conf

[event_renderer_1]
eventtype = hawaiian_type
priority = 1
css_class = EventRenderer1

with CSS class EventRenderer1 , you can customize your eventtype.

you can follow also the link that follow:

http://docs.splunk.com/Documentation/Splunk/6.2.2/admin/Event_renderersconf

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...