<?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: How to find which Data Source an event is originating from in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-find-which-Data-Source-an-event-is-originating-from/m-p/702760#M116232</link>
    <description>&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/237490"&gt;@mninansplunk&lt;/a&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you're not sure which index contains your data, start with this search:&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count where source="/var/www/html/PIM/var/log/webservices/*" by sourcetype index host&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;This is a fast way to find which indexes contain your data and see the associated hosts and sourcetypes.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Once you know the right index, you can do a more detailed search:&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=&amp;lt;your_index&amp;gt; source="/var/www/html/PIM/var/log/webservices/*" | stats count by source sourcetype host&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P class=""&gt;For Files &amp;amp; Directories input - was it a typo there? single forward slashes like this?&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/HostName/var/www/html/PIM/var/log/webservices/* &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;make sure file permissions on your input directory &lt;/SPAN&gt;&lt;SPAN&gt;and your Splunk forwarder has access to the path&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P class=""&gt;Refer:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchTutorial/GetthetutorialdataintoSplunk" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchTutorial/GetthetutorialdataintoSplunk&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Search/GetstartedwithSearch" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Search/GetstartedwithSearch&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.splunk.com/en_us/blog/customers/splunk-clara-fication-search-best-practices.html" target="_blank" rel="noopener"&gt;https://www.splunk.com/en_us/blog/customers/splunk-clara-fication-search-best-practices.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If this helps, Please UpVote.&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 25 Oct 2024 02:59:58 GMT</pubDate>
    <dc:creator>sainag_splunk</dc:creator>
    <dc:date>2024-10-25T02:59:58Z</dc:date>
    <item>
      <title>How to find which Data Source an event is originating from</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-find-which-Data-Source-an-event-is-originating-from/m-p/702737#M116231</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm having a hard time trying to find what data source events from a search are originating from, the Search is:&lt;/P&gt;&lt;P&gt;source="/var/www/html/PIM/var/log/webservices/*"&lt;/P&gt;&lt;P&gt;I've looked thru the "Files % Directories" (Which I thought I would find it in there) and the rest of the Data Inputs, but can't seem to locate it anywhere.&lt;/P&gt;&lt;P&gt;A side question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; I tried creating a new Files % Directories Data Input by putting the full Linux path like below:&lt;/P&gt;&lt;P&gt;//HostName/var/www/html/PIM/var/log/webservices/*&lt;/P&gt;&lt;P&gt;But It says Path can't be empty.&amp;nbsp; I'm sure this is probably not how you format a Linux path, just couldn't find what I'm doing wrong.&lt;/P&gt;&lt;P&gt;Thanks for any help at all,&lt;/P&gt;&lt;P&gt;Newb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 20:27:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-find-which-Data-Source-an-event-is-originating-from/m-p/702737#M116231</guid>
      <dc:creator>mninansplunk</dc:creator>
      <dc:date>2024-10-24T20:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to find which Data Source an event is originating from</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-find-which-Data-Source-an-event-is-originating-from/m-p/702760#M116232</link>
      <description>&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/237490"&gt;@mninansplunk&lt;/a&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you're not sure which index contains your data, start with this search:&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count where source="/var/www/html/PIM/var/log/webservices/*" by sourcetype index host&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;This is a fast way to find which indexes contain your data and see the associated hosts and sourcetypes.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Once you know the right index, you can do a more detailed search:&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=&amp;lt;your_index&amp;gt; source="/var/www/html/PIM/var/log/webservices/*" | stats count by source sourcetype host&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P class=""&gt;For Files &amp;amp; Directories input - was it a typo there? single forward slashes like this?&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/HostName/var/www/html/PIM/var/log/webservices/* &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;make sure file permissions on your input directory &lt;/SPAN&gt;&lt;SPAN&gt;and your Splunk forwarder has access to the path&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P class=""&gt;Refer:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchTutorial/GetthetutorialdataintoSplunk" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchTutorial/GetthetutorialdataintoSplunk&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Search/GetstartedwithSearch" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Search/GetstartedwithSearch&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.splunk.com/en_us/blog/customers/splunk-clara-fication-search-best-practices.html" target="_blank" rel="noopener"&gt;https://www.splunk.com/en_us/blog/customers/splunk-clara-fication-search-best-practices.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If this helps, Please UpVote.&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Oct 2024 02:59:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-find-which-Data-Source-an-event-is-originating-from/m-p/702760#M116232</guid>
      <dc:creator>sainag_splunk</dc:creator>
      <dc:date>2024-10-25T02:59:58Z</dc:date>
    </item>
  </channel>
</rss>

