<?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 Re: sourcenames in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27875#M4716</link>
    <description>&lt;P&gt;For instance, this search ReportOps - Top URI By Good Status&lt;BR /&gt;
sounds like this:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;timerange_hack&lt;/CODE&gt; source="Web Traffic goodstatus*" | eval status=toString(floor(status/100))+"xx"  | stats values(myclientip) as myips sum(hits) as myhits by uri, status | mvexpand myips | stats dc(myips) as "unique ips" max(myhits) as "total count" by uri, status&lt;/P&gt;

&lt;P&gt;What is the source in this? where is that source defined? Am i supposed to change it?&lt;/P&gt;</description>
    <pubDate>Mon, 16 Apr 2012 23:13:27 GMT</pubDate>
    <dc:creator>evosplunk</dc:creator>
    <dc:date>2012-04-16T23:13:27Z</dc:date>
    <item>
      <title>sourcenames</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27866#M4707</link>
      <description>&lt;P&gt;So as far as i can understand, you can define a common sourcename for several sourcetypes&lt;/P&gt;

&lt;P&gt;I am using the webintelligence beta app, and this generates a sourcenames.csv file in /splunk/etc/apps/webintelligence/lookups&lt;/P&gt;

&lt;P&gt;this looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source,sourcename
"/var/log/apache2/access.log","sourcename"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But when i search for "sourcename" i does not find anything&lt;/P&gt;

&lt;P&gt;What am i missing? i'm feeling ive read the manual on webintelligence and i cannot find any more info on this&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 18:59:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27866#M4707</guid>
      <dc:creator>evosplunk</dc:creator>
      <dc:date>2012-04-16T18:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: sourcenames</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27867#M4708</link>
      <description>&lt;P&gt;If you want to search for a particular sourcename, use&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=web-traffic | lookup sourcenames.csv source outputnew sourcename | search sourcename="&amp;lt;SOURCENAME_TO_SEARCH&amp;gt;"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Sourcename is not in the original event data so you must enrich the data through the lookup table.&lt;/P&gt;

&lt;P&gt;Keep in mind you'll need to be within the web intelligence app as neither the lookup nor eventtype have global visibility.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 19:18:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27867#M4708</guid>
      <dc:creator>pstout</dc:creator>
      <dc:date>2012-04-16T19:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: sourcenames</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27868#M4709</link>
      <description>&lt;P&gt;But all the searches form within webinteligence doesnt return any results with the searches like&lt;/P&gt;

&lt;P&gt;search host=* [ stats count | addinfo | eval range=info_max_time - info_min_time | eval   search=if(range&amp;lt;=(86400+3600),"index=wi_summary_hourly","index=wi_summary_daily") ] source="User session visitor source*" sourcename="vorcast.org" | timechart eval(sum(myeventcount)) AS pageviews, dc(clientip) AS unique_visitors, eval((sum(myeventcount))/dc(clientip)) AS avg_pageviews&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:40:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27868#M4709</guid>
      <dc:creator>evosplunk</dc:creator>
      <dc:date>2020-09-28T11:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: sourcenames</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27869#M4710</link>
      <description>&lt;P&gt;Where are you searching?  I'm using this URI:&lt;/P&gt;

&lt;P&gt;http://&lt;A href="splunk-server:port"&gt;splunk-server:port&lt;/A&gt;/en-US/app/webintelligence/flashtimeline&lt;/P&gt;

&lt;P&gt;You can't just use the sourcename in the query without first specifying the lookup table as I mentioned above using the "lookup" command.  The field does not exist before this.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 22:13:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27869#M4710</guid>
      <dc:creator>pstout</dc:creator>
      <dc:date>2012-04-16T22:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: sourcenames</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27870#M4711</link>
      <description>&lt;P&gt;Im just trying to get the en-US/app/webintelligence/business_pageviews etc (pre defined searches) to show somehting, they are not. alhtough the search you provided works well.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 22:38:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27870#M4711</guid>
      <dc:creator>evosplunk</dc:creator>
      <dc:date>2012-04-16T22:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: sourcenames</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27871#M4712</link>
      <description>&lt;P&gt;Have you gone through the setup process?  &lt;/P&gt;

&lt;P&gt;/en-US/app/webintelligence/setup&lt;/P&gt;

&lt;P&gt;Particularly #3 -- "Specify Log Sources."  It's been some time since I configured the app for web intelligence but this would certainly impact the population of the bundled dashboards.&lt;/P&gt;

&lt;P&gt;If so, do other dashboards populate?  Do you get any error messages?  Have you made any changes to the saved searches or eventtypes defined in the stock WI app?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 22:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27871#M4712</guid>
      <dc:creator>pstout</dc:creator>
      <dc:date>2012-04-16T22:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: sourcenames</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27872#M4713</link>
      <description>&lt;P&gt;Maybe i just misunderstand the setup&lt;/P&gt;

&lt;P&gt;None of teh dashboards show anything, ive gone through the setup process, and i have specified one apache access log and one error log for testing.&lt;/P&gt;

&lt;P&gt;Ive not made changes to the stock searches, am i supposed to?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 22:47:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27872#M4713</guid>
      <dc:creator>evosplunk</dc:creator>
      <dc:date>2012-04-16T22:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: sourcenames</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27873#M4714</link>
      <description>&lt;P&gt;In that box, you should put something like:&lt;/P&gt;

&lt;P&gt;index="main" sourcetype="access_combined"&lt;/P&gt;

&lt;P&gt;Of course, replace the index and sourcetype with actual values from your instance.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 22:51:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27873#M4714</guid>
      <dc:creator>pstout</dc:creator>
      <dc:date>2012-04-16T22:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: sourcenames</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27874#M4715</link>
      <description>&lt;P&gt;I just put in &lt;BR /&gt;
sourcetype="vorcast*"&lt;BR /&gt;
ive defined the sourcetype in index before, theres a preview button there, and that shows me that it finds something based on my search.&lt;/P&gt;

&lt;P&gt;Thank you very much for helping me understand this btw, much appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 23:00:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27874#M4715</guid>
      <dc:creator>evosplunk</dc:creator>
      <dc:date>2012-04-16T23:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: sourcenames</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27875#M4716</link>
      <description>&lt;P&gt;For instance, this search ReportOps - Top URI By Good Status&lt;BR /&gt;
sounds like this:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;timerange_hack&lt;/CODE&gt; source="Web Traffic goodstatus*" | eval status=toString(floor(status/100))+"xx"  | stats values(myclientip) as myips sum(hits) as myhits by uri, status | mvexpand myips | stats dc(myips) as "unique ips" max(myhits) as "total count" by uri, status&lt;/P&gt;

&lt;P&gt;What is the source in this? where is that source defined? Am i supposed to change it?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 23:13:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27875#M4716</guid>
      <dc:creator>evosplunk</dc:creator>
      <dc:date>2012-04-16T23:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: sourcenames</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27876#M4717</link>
      <description>&lt;P&gt;That source might be the product of a summary index saved search.  You shouldn't have to change the sources that are predefined.&lt;/P&gt;

&lt;P&gt;Not sure what sourcetype="vorcast" is.  The web intelligence app should be looking for Apache access_combined or Microsoft IIS logs.  These should be sourcetype="access_combined" or sourcetype="iis"&lt;/P&gt;

&lt;P&gt;If you open your search app, can you get results for any of the following searches?&lt;/P&gt;

&lt;P&gt;sourcetype="access_combined"&lt;/P&gt;

&lt;P&gt;sourcetype="access_common"&lt;/P&gt;

&lt;P&gt;sourcetype="iis"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:41:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27876#M4717</guid>
      <dc:creator>pstout</dc:creator>
      <dc:date>2020-09-28T11:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: sourcenames</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27877#M4718</link>
      <description>&lt;P&gt;Sorry, vorcast is a site, the sourcetype=vorcast* is a apache access and error log, they are defined in splunk as vorcast_access and vorcast_error so sourcetype=vorcast* shows all of that in a search, i see that it works.&lt;BR /&gt;
searches for access_combined etc also show results.&lt;/P&gt;

&lt;P&gt;The site in questions logs to its own log files.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:41:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcenames/m-p/27877#M4718</guid>
      <dc:creator>evosplunk</dc:creator>
      <dc:date>2020-09-28T11:41:06Z</dc:date>
    </item>
  </channel>
</rss>

