<?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: UNIX last event /var/log/wtmp in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108919#M4115</link>
    <description>&lt;P&gt;Yes, other kind of data are already sent to Splunk instance and could be searched &amp;amp; reporting. &lt;/P&gt;

&lt;P&gt;And I tried to use "script input" which using "last" command is not success, due to formatting as below stated.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/5844/can-i-splunk-my-wtmp-files"&gt;http://splunk-base.splunk.com/answers/5844/can-i-splunk-my-wtmp-files&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;"This can be more elaborate since "last" doesn't have tailing or time span selection capabilities, but advanced shell scripting and cron can be used to set this up."&lt;/P&gt;

&lt;P&gt;[Script Input]&lt;BR /&gt;
"/usr/bin/last -f /opt/logs/acctlog/wtmpx.20111114"&lt;BR /&gt;
where wtmpx.$DATE$ is the last date "/var/adm/wtmpx" truncated.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2011 06:49:44 GMT</pubDate>
    <dc:creator>rossikwan</dc:creator>
    <dc:date>2011-11-15T06:49:44Z</dc:date>
    <item>
      <title>UNIX last event /var/log/wtmp</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108914#M4110</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;My UNIX (Solaris) host installed Splunk universal forwarder in which some kind of monitor in inputs.conf is successful indexed.&lt;/P&gt;

&lt;P&gt;But I would like to retrieve daily login information for the UNIX servers without luck to retrieve the events from last command.&lt;/P&gt;

&lt;P&gt;Could anyone here help for the UNIX login info. to br indexed to Splunk? &lt;BR /&gt;
Thanks&lt;/P&gt;

&lt;P&gt;Rossi&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2011 05:33:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108914#M4110</guid>
      <dc:creator>rossikwan</dc:creator>
      <dc:date>2011-11-14T05:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: UNIX last event /var/log/wtmp</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108915#M4111</link>
      <description>&lt;P&gt;Splunk is able to monitor secure log on unix. Is the following setting meet your requirement? &lt;/P&gt;

&lt;P&gt;configure inputs.conf like as bellow:&lt;/P&gt;

&lt;P&gt;[monitor://var/log/secure*]&lt;BR /&gt;
sourcetype = *******&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:06:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108915#M4111</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2020-09-28T10:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: UNIX last event /var/log/wtmp</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108916#M4112</link>
      <description>&lt;P&gt;Do you have log data being monitored already? (Is that what you mean by monitor in inputs?) and do you just want to understand how to search the data?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2011 10:41:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108916#M4112</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2011-11-14T10:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: UNIX last event /var/log/wtmp</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108917#M4113</link>
      <description>&lt;P&gt;By "without luck" are you referring to your attempts to index the wtmp file data?&lt;/P&gt;

&lt;P&gt;Splunk for Unix and Linux does have inputs and the necessary script to input this data.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/apps/22314/splunk-for-unix-and-linux"&gt;http://splunk-base.splunk.com/apps/22314/splunk-for-unix-and-linux&lt;/A&gt; is for splunk servers and&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/apps/33800/splunk-for-unix-and-linux-technology-add-on"&gt;http://splunk-base.splunk.com/apps/33800/splunk-for-unix-and-linux-technology-add-on&lt;/A&gt; if you prefer for your Universal Forwarders (if applicable).&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2011 17:00:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108917#M4113</guid>
      <dc:creator>mikelanghorst</dc:creator>
      <dc:date>2011-11-14T17:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: UNIX last event /var/log/wtmp</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108918#M4114</link>
      <description>&lt;P&gt;Those UNIX servers do not have any file named /var/log/secure*&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2011 06:34:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108918#M4114</guid>
      <dc:creator>rossikwan</dc:creator>
      <dc:date>2011-11-15T06:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: UNIX last event /var/log/wtmp</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108919#M4115</link>
      <description>&lt;P&gt;Yes, other kind of data are already sent to Splunk instance and could be searched &amp;amp; reporting. &lt;/P&gt;

&lt;P&gt;And I tried to use "script input" which using "last" command is not success, due to formatting as below stated.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/5844/can-i-splunk-my-wtmp-files"&gt;http://splunk-base.splunk.com/answers/5844/can-i-splunk-my-wtmp-files&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;"This can be more elaborate since "last" doesn't have tailing or time span selection capabilities, but advanced shell scripting and cron can be used to set this up."&lt;/P&gt;

&lt;P&gt;[Script Input]&lt;BR /&gt;
"/usr/bin/last -f /opt/logs/acctlog/wtmpx.20111114"&lt;BR /&gt;
where wtmpx.$DATE$ is the last date "/var/adm/wtmpx" truncated.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2011 06:49:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108919#M4115</guid>
      <dc:creator>rossikwan</dc:creator>
      <dc:date>2011-11-15T06:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: UNIX last event /var/log/wtmp</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108920#M4116</link>
      <description>&lt;P&gt;Let's check how these apps could be help in this items. Get back here after check, thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2011 06:50:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108920#M4116</guid>
      <dc:creator>rossikwan</dc:creator>
      <dc:date>2011-11-15T06:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: UNIX last event /var/log/wtmp</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108921#M4117</link>
      <description>&lt;P&gt;in UNIX app, there has script to retrieve the last from various OS include IBM AIX, SUN Solaris, Linux different distribution... Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2011 07:14:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/UNIX-last-event-var-log-wtmp/m-p/108921#M4117</guid>
      <dc:creator>rossikwan</dc:creator>
      <dc:date>2011-11-21T07:14:52Z</dc:date>
    </item>
  </channel>
</rss>

