<?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 view the exact content of a logfile in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-view-the-exact-content-of-a-logfile/m-p/185338#M11444</link>
    <description>&lt;P&gt;Thanks Iguinn. How can I change the settings for my role?I tried "index=dev source=*lptvpn.log" but it returned 0 matching events.Please advise. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Mar 2014 04:36:08 GMT</pubDate>
    <dc:creator>Isaias_Garcia</dc:creator>
    <dc:date>2014-03-13T04:36:08Z</dc:date>
    <item>
      <title>how to view the exact content of a logfile</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-view-the-exact-content-of-a-logfile/m-p/185336#M11442</link>
      <description>&lt;P&gt;Hi-&lt;/P&gt;

&lt;P&gt;I modified the input.conf file to monitor all logs in /var/log. ( I restarted splunk after editing inputs.conf)&lt;/P&gt;

&lt;P&gt;[monitor:///var/log]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
followTail = 0&lt;BR /&gt;
host = xxxxyyyzzz&lt;BR /&gt;
index = dev&lt;/P&gt;

&lt;P&gt;I made a script that will create a logfile(lptvpn.log) into /var/log directory .&lt;BR /&gt;
The exact content of the logfile should be this&lt;BR /&gt;
root@xxxxyyyzzz:/var/log# cat lptvpn.log&lt;BR /&gt;
LATEST UPDATE : Mar 12 18:14  LATEST ANTI-VIRUS DEFINITION : lpt$vpn.659&lt;/P&gt;

&lt;P&gt;But when I searched it in the Splunk using this search query "lptvpn.log"  I am getting this logs:&lt;/P&gt;

&lt;P&gt;INFO  LicenseUsage - type=Usage s="/var/log/lptvpn.log" st="lptvpn-too_small" h=xxxxyyyzzz o="" i="7091808B-9D8A-431D-80EC-D5BEF63F14F3" pool="auto_generated_pool_enterprise" b=72 poolsz=2147483648&lt;/P&gt;

&lt;P&gt;Question: How will I search or view the exact log of  lptvpn.log? (i.e. "LATEST UPDATE : Mar 12 18:14  LATEST ANTI-VIRUS DEFINITION : lpt$vpn.659")  Do I need to modify the input.conf?Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:07:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-view-the-exact-content-of-a-logfile/m-p/185336#M11442</guid>
      <dc:creator>Isaias_Garcia</dc:creator>
      <dc:date>2020-09-28T16:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to view the exact content of a logfile</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-view-the-exact-content-of-a-logfile/m-p/185337#M11443</link>
      <description>&lt;P&gt;The results of your query came from the &lt;CODE&gt;_internal&lt;/CODE&gt; index. You might want to change the settings for your role so that it doesn't automatically search the internal indexes. Also, you might want to check to see if the any data from &lt;CODE&gt;/var/log&lt;/CODE&gt; actually appears in the &lt;CODE&gt;dev&lt;/CODE&gt; index. I would probably do this search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=dev source=*lptvpn.log
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Mar 2014 04:19:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-view-the-exact-content-of-a-logfile/m-p/185337#M11443</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-03-13T04:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to view the exact content of a logfile</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-view-the-exact-content-of-a-logfile/m-p/185338#M11444</link>
      <description>&lt;P&gt;Thanks Iguinn. How can I change the settings for my role?I tried "index=dev source=*lptvpn.log" but it returned 0 matching events.Please advise. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2014 04:36:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-view-the-exact-content-of-a-logfile/m-p/185338#M11444</guid>
      <dc:creator>Isaias_Garcia</dc:creator>
      <dc:date>2014-03-13T04:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to view the exact content of a logfile</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-view-the-exact-content-of-a-logfile/m-p/185339#M11445</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Security/Addandeditroles#Add_or_edit_a_role"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Security/Addandeditroles#Add_or_edit_a_role&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;is the documentation on how to edit a role.&lt;/P&gt;

&lt;P&gt;Do you create an index named &lt;CODE&gt;dev&lt;/CODE&gt;? Here is the documentation for creating an index - you have to do that before you can send data to it...&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.2/Indexer/Setupmultipleindexes#Create_and_edit_indexes"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.2/Indexer/Setupmultipleindexes#Create_and_edit_indexes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2014 06:31:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-view-the-exact-content-of-a-logfile/m-p/185339#M11445</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-03-13T06:31:39Z</dc:date>
    </item>
  </channel>
</rss>

