<?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 access log index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/access-log-index/m-p/391575#M69980</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am planning to index one of the access.log file. which has data like below first line header and next two lines two example data. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"time_stamp" "auth_user" src_ip status_code "req_line" "categories" "rep_level" "media_type" bytes_to_client bytes_from_client "user_agent" "virus_name" "block_res" "application_name"
[29/Mar/2019:06:04:57 +0530] "" 176.6.60.56 403 "GET &lt;A href="http://abcd.com/HTTP/1.1&amp;quot;" target="test_blank"&gt;http://abcd.com/HTTP/1.1"&lt;/A&gt;; "Software/Hardware" "Minimal Risk" "" 8811 237 "Microsoft-CryptoAPI/6.1" "" "0" ""
[29/Mar/2019:06:04:57 +0530] "asharma072315" 176.6.50.55 200 "POST &lt;A href="https://obdefw.com/HTTP/1.1&amp;quot;" target="test_blank"&gt;https://obdefw.com/HTTP/1.1"&lt;/A&gt;; "Web Mail" "Minimal Risk" "" 1208 7687 "Microsoft Office/16.0 (Windows NT 10.0; Microsoft Outlook 16.0.9126; Pro)" "" "0" ""
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But while trying to inidex it splunk says time format is incorrect/invalid. &lt;/P&gt;

&lt;P&gt;Can you please suggest the props.conf and transforms.conf for this log file. &lt;/P&gt;

&lt;P&gt;in my inputs.conf i have mentioned something like this:&lt;BR /&gt;
[monitor:///appname/lookups/*]&lt;BR /&gt;
disabled = 1&lt;BR /&gt;
source_type = accesslog&lt;BR /&gt;
index = accesslog&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2019 08:49:13 GMT</pubDate>
    <dc:creator>surekhasplunk</dc:creator>
    <dc:date>2019-04-05T08:49:13Z</dc:date>
    <item>
      <title>access log index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/access-log-index/m-p/391575#M69980</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am planning to index one of the access.log file. which has data like below first line header and next two lines two example data. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"time_stamp" "auth_user" src_ip status_code "req_line" "categories" "rep_level" "media_type" bytes_to_client bytes_from_client "user_agent" "virus_name" "block_res" "application_name"
[29/Mar/2019:06:04:57 +0530] "" 176.6.60.56 403 "GET &lt;A href="http://abcd.com/HTTP/1.1&amp;quot;" target="test_blank"&gt;http://abcd.com/HTTP/1.1"&lt;/A&gt;; "Software/Hardware" "Minimal Risk" "" 8811 237 "Microsoft-CryptoAPI/6.1" "" "0" ""
[29/Mar/2019:06:04:57 +0530] "asharma072315" 176.6.50.55 200 "POST &lt;A href="https://obdefw.com/HTTP/1.1&amp;quot;" target="test_blank"&gt;https://obdefw.com/HTTP/1.1"&lt;/A&gt;; "Web Mail" "Minimal Risk" "" 1208 7687 "Microsoft Office/16.0 (Windows NT 10.0; Microsoft Outlook 16.0.9126; Pro)" "" "0" ""
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But while trying to inidex it splunk says time format is incorrect/invalid. &lt;/P&gt;

&lt;P&gt;Can you please suggest the props.conf and transforms.conf for this log file. &lt;/P&gt;

&lt;P&gt;in my inputs.conf i have mentioned something like this:&lt;BR /&gt;
[monitor:///appname/lookups/*]&lt;BR /&gt;
disabled = 1&lt;BR /&gt;
source_type = accesslog&lt;BR /&gt;
index = accesslog&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 08:49:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/access-log-index/m-p/391575#M69980</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2019-04-05T08:49:13Z</dc:date>
    </item>
  </channel>
</rss>

