<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can I display metadata in EventsViewer module? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9943#M320</link>
    <description>&lt;P&gt;I'd like the events displayed to have this data at the bottom as they do by default in the search app, but I can't find anything in the documentation about building it into a view.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Mar 2010 07:23:40 GMT</pubDate>
    <dc:creator>Mick</dc:creator>
    <dc:date>2010-03-03T07:23:40Z</dc:date>
    <item>
      <title>Can I display metadata in EventsViewer module?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9943#M320</link>
      <description>&lt;P&gt;I'd like the events displayed to have this data at the bottom as they do by default in the search app, but I can't find anything in the documentation about building it into a view.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2010 07:23:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9943#M320</guid>
      <dc:creator>Mick</dc:creator>
      <dc:date>2010-03-03T07:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can I display metadata in EventsViewer module?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9944#M321</link>
      <description>&lt;P&gt;This can be done if you edit the XML itself. 
Click 
Actions &amp;gt; Edit Dashboard
this will open the dashboard editing popup. 
You'll see  a link at the bottom left of the layer that says 'Edit name/XML'.   Click that. 
You'll be taken to a page with a big textarea containing some XML. 
Find the  element, which will look something like this: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;event&amp;gt;
  &amp;lt;searchString&amp;gt;sourcetype=access_combined status=500&amp;lt;/searchString&amp;gt;
  &amp;lt;title&amp;gt;my dashboard test&amp;lt;/title&amp;gt;
  &amp;lt;earliestTime&amp;gt;-1h&amp;lt;/earliestTime&amp;gt;
  &amp;lt;latestTime&amp;gt;&amp;lt;/latestTime&amp;gt;
&amp;lt;/event&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;add a fifth node inside your  element, making for a total of: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;event&amp;gt;
  &amp;lt;searchString&amp;gt;sourcetype=access_combined status=500&amp;lt;/searchString&amp;gt;
  &amp;lt;title&amp;gt;my dashboard test&amp;lt;/title&amp;gt;
  &amp;lt;earliestTime&amp;gt;-1h&amp;lt;/earliestTime&amp;gt;
  &amp;lt;latestTime&amp;gt;&amp;lt;/latestTime&amp;gt;
  &amp;lt;fields&amp;gt;host source url status bytes&amp;lt;/fields&amp;gt;
&amp;lt;/event&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;NOTE: im making an assumption that you're talking about the dashboard UI builder, and the simplified XML.  If you're using the advanced XML then you just find the &lt;CODE&gt;EventsViewer&lt;/CODE&gt; module in your view and you add an extra param right inside, like: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="fields"&amp;gt;host sourcetype clientip&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Mar 2010 03:24:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9944#M321</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2010-03-04T03:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can I display metadata in EventsViewer module?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9945#M322</link>
      <description>&lt;P&gt;Mick posted this here on our behalf.&lt;/P&gt;

&lt;P&gt;What's the different answer? In this case we are using the Raw XML. &lt;/P&gt;

&lt;P&gt;To restate the question (hopefully with more clarity) we're after a way to display the metadata for each event (i.e. host, source, sourcetype etc), just as it is displayed when you do a vanilla search. When using EventsViewer this isn't included by default. How do we get it there?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2010 23:16:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9945#M322</guid>
      <dc:creator>parallaxed</dc:creator>
      <dc:date>2010-03-09T23:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can I display metadata in EventsViewer module?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9946#M323</link>
      <description>&lt;P&gt;Hi Ciaran,&lt;/P&gt;

&lt;P&gt;to view the medata fields with the EventViewer use the "fields" parameter. For instance:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="EventsViewer"&amp;gt;
     &amp;lt;param name="fields"&amp;gt;host source&amp;lt;/param&amp;gt;
    &amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Document Reference&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/4.1/Developer/ModuleReference#EventsViewer" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.1/Developer/ModuleReference#EventsViewer&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2010 18:21:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9946#M323</guid>
      <dc:creator>mzorzi</dc:creator>
      <dc:date>2010-04-07T18:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I display metadata in EventsViewer module?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9947#M324</link>
      <description>&lt;P&gt;NOTE: this answer is correct but is referring to how to do it when you are using the advanced XML.  To do the same thing in the simplified XML you use &lt;FIELDS&gt;host source url status bytes&lt;/FIELDS&gt;&lt;BR /&gt;
in the &lt;EVENT&gt; node.&lt;/EVENT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2010 12:22:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9947#M324</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2010-04-13T12:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can I display metadata in EventsViewer module?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9948#M325</link>
      <description>&lt;P&gt;As posted by mzorzi, in the advanced XML you put &lt;BR /&gt;
&lt;OBJECT&gt;&lt;PARAM name="fields" /&gt;host source&lt;BR /&gt;
into the EventsViewer. &lt;BR /&gt;
See the autogenerated module docs (/modules on your build) or the module reference on splunk.com for discussion of params. &lt;/OBJECT&gt;&lt;/P&gt;

&lt;P&gt;Worth noting is that there are in general two ways of setting fields for several modules. &lt;BR /&gt;
1) setting a fields parameter in the module itself&lt;BR /&gt;
2) Having an upstream FieldPicker or HiddenFieldPicker. &lt;/P&gt;

&lt;P&gt;In cases where both conditions are present, the upstream setting always overrides the downstream setting.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2010 12:26:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9948#M325</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2010-04-13T12:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can I display metadata in EventsViewer module?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9949#M326</link>
      <description>&lt;P&gt;someone please help, i'm using version 4.2 and the fields param doesn't seem to have any effect. In fact, it is instead displaying all fields. Is there some setting I am missing, or somewhere in a ViewStates config file which is overriding my defaults?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2011 17:07:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-display-metadata-in-EventsViewer-module/m-p/9949#M326</guid>
      <dc:creator>klee310</dc:creator>
      <dc:date>2011-04-12T17:07:47Z</dc:date>
    </item>
  </channel>
</rss>

