<?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 Organizing Log Data In Splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Organizing-Log-Data-In-Splunk/m-p/99339#M20776</link>
    <description>&lt;P&gt;I have installed Splunk 5.0.2 and a universal forwarder on one of the application servers to forward glassfish logs to splunk central servers. &lt;BR /&gt;
After adding a monitor I see all the glassfish log files as individual sources on the Splunk Search dashboard. Instead I visualize the log data to be grouped into multiple logical/custom categories.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Is there a way to tag log data while adding a monitor? Log files could then have multiple tags which could be seen as different source types. Logs from different servers tag'd with same tag would be clubbed under the same group. (Just as we tag questions on this discussion forums).&lt;/LI&gt;
&lt;LI&gt;Is there a way to customize the search dashboard to remove the source section? Our search use cases would never involve search through individual source files instead search would mostly be done on group of source files? Grouped into a logical category as a tag mentioned in the first point.&lt;/LI&gt;
&lt;LI&gt;How can we delete source or sourcetype from my splunk server? This is slightly a off topic question but since I want to reorganize my log data I would want to clean up old data and reconfigure the search dashboard. &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2013 13:21:04 GMT</pubDate>
    <dc:creator>shahamit</dc:creator>
    <dc:date>2013-04-18T13:21:04Z</dc:date>
    <item>
      <title>Organizing Log Data In Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Organizing-Log-Data-In-Splunk/m-p/99339#M20776</link>
      <description>&lt;P&gt;I have installed Splunk 5.0.2 and a universal forwarder on one of the application servers to forward glassfish logs to splunk central servers. &lt;BR /&gt;
After adding a monitor I see all the glassfish log files as individual sources on the Splunk Search dashboard. Instead I visualize the log data to be grouped into multiple logical/custom categories.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Is there a way to tag log data while adding a monitor? Log files could then have multiple tags which could be seen as different source types. Logs from different servers tag'd with same tag would be clubbed under the same group. (Just as we tag questions on this discussion forums).&lt;/LI&gt;
&lt;LI&gt;Is there a way to customize the search dashboard to remove the source section? Our search use cases would never involve search through individual source files instead search would mostly be done on group of source files? Grouped into a logical category as a tag mentioned in the first point.&lt;/LI&gt;
&lt;LI&gt;How can we delete source or sourcetype from my splunk server? This is slightly a off topic question but since I want to reorganize my log data I would want to clean up old data and reconfigure the search dashboard. &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2013 13:21:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Organizing-Log-Data-In-Splunk/m-p/99339#M20776</guid>
      <dc:creator>shahamit</dc:creator>
      <dc:date>2013-04-18T13:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Organizing Log Data In Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Organizing-Log-Data-In-Splunk/m-p/99340#M20777</link>
      <description>&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;The standard way to label data in Splunk is to use the sourcetype field, with a sourcetype setting in your monitor stanza:&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/glassfish]&lt;BR /&gt;
sourcetype=glassfish&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;CODE&gt;source&lt;/CODE&gt;,&lt;CODE&gt;sourcetype&lt;/CODE&gt; and &lt;CODE&gt;host&lt;/CODE&gt; are all fields that can be tagged like any other in Splunk&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;You can customise the dashboard by editing the XML for the &lt;CODE&gt;dashboard_live&lt;/CODE&gt; to change the summary page. For example, you could replace the search with a query using the &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/SearchReference/Rest"&gt;rest command&lt;/A&gt; to get a list of tags, like so : &lt;CODE&gt;| rest /services/saved/tags count=0 | search field_name_value=host* | rename tag_name as tag | fields tag&lt;/CODE&gt;. I'm not sure that I'd recommend this though.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;You can't delete sources or sourcetypes as these are metadata about the indexed events. However you can &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Data/Renamesourcetypes"&gt;alias sourcetypes&lt;/A&gt; to a new name. &lt;/LI&gt;
&lt;/OL&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 18 Apr 2013 21:31:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Organizing-Log-Data-In-Splunk/m-p/99340#M20777</guid>
      <dc:creator>dart</dc:creator>
      <dc:date>2013-04-18T21:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Organizing Log Data In Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Organizing-Log-Data-In-Splunk/m-p/99341#M20778</link>
      <description>&lt;P&gt;Can I add multiple values to the sourcetype property? (as I mentioned in my question). Regarding my 3rd question about deleting source and sourcetypes, so there is no mechanism to clean up old data?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2013 02:15:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Organizing-Log-Data-In-Splunk/m-p/99341#M20778</guid>
      <dc:creator>shahamit</dc:creator>
      <dc:date>2013-04-19T02:15:01Z</dc:date>
    </item>
  </channel>
</rss>

