<?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: need to help  extract the timestamp value from eventlast seen field from aws. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425506#M74572</link>
    <description>&lt;P&gt;Thanks adonio for your input, i have tried above method it is not working and still it is not extract the value from eventlastseen field.&lt;/P&gt;

&lt;P&gt;[ aws:kiness ]&lt;BR /&gt;
 CHARSET=AUTO&lt;BR /&gt;
 INDEXED_EXTRACTIONS=json&lt;BR /&gt;
 KV_MODE=none&lt;BR /&gt;
 SHOULD_LINEMERGE=true&lt;BR /&gt;
 category=Structured&lt;BR /&gt;
 description=JavaScript Object Notation format. For more information, visit &lt;A href="http://json.org/" target="_blank"&gt;http://json.org/&lt;/A&gt;&lt;BR /&gt;
 disabled=false&lt;BR /&gt;
 pulldown_type=true&lt;BR /&gt;
 TIME_FORMAT=%Y-%m-%dT%H:%M:%SZ&lt;BR /&gt;
 TIMESTAMP_FIELDS=service.eventLastSeen&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:48:09 GMT</pubDate>
    <dc:creator>lksridhar</dc:creator>
    <dc:date>2020-09-29T19:48:09Z</dc:date>
    <item>
      <title>need to help  extract the timestamp value from eventlast seen field from aws.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425504#M74570</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;

&lt;P&gt;we have ingested the aws logs using aws add on and able to see the logs. now we are trying to extract the timestamp value from eventlastseen field and that value in eventlastseen field but it is not working while using the below method. could you please help me  to extract timestamp value from eventlastseen field.&lt;/P&gt;

&lt;P&gt;sample event:&lt;/P&gt;

&lt;P&gt;[&lt;BR /&gt;
  {&lt;BR /&gt;
    "schemaVersion": "2.0",&lt;BR /&gt;
    "accountId": "893386011857",&lt;BR /&gt;
    "region": "us-east-2",&lt;BR /&gt;
    "partition": "aws",&lt;BR /&gt;
    "id": "42b1b691434e33399b13f013f9740757",&lt;BR /&gt;
    "arn": "arn:aws:guardduty:us-east-2:893386011857:detector/a8b16945bc4a8767dcac8d7edbf84e03/finding/42b1b691434e33399b13f013f9740757",&lt;BR /&gt;
    "type": "Recon:EC2/PortProbeUnprotectedPort",&lt;BR /&gt;
    "resource": {&lt;BR /&gt;
      "resourceType": "Instance",&lt;BR /&gt;
      "instanceDetails": {&lt;BR /&gt;
        "instanceId": "i-048dfd648094a1fdc",&lt;BR /&gt;
        "instanceType": "t2.micro",&lt;BR /&gt;
        "launchTime": "2018-05-17T07:06:43Z",&lt;BR /&gt;
        "platform": "windows",&lt;BR /&gt;
        "productCodes": [],&lt;BR /&gt;
        "iamInstanceProfile": null,&lt;BR /&gt;
        "networkInterfaces": [&lt;BR /&gt;
          {&lt;BR /&gt;
            "ipv6Addresses": [],&lt;BR /&gt;
            "networkInterfaceId": "eni-0b1a9d3e70ae5c43b",&lt;BR /&gt;
            "privateDnsName": "ip-172-31-22-179.us-east-2.compute.internal",&lt;BR /&gt;
            "privateIpAddress": "172.31.22.179",&lt;BR /&gt;
            "privateIpAddresses": [&lt;BR /&gt;
              {&lt;BR /&gt;
                "privateDnsName": "ip-172-31-22-179.us-east-2.compute.internal",&lt;BR /&gt;
                "privateIpAddress": "172.31.22.179"&lt;BR /&gt;
              }&lt;BR /&gt;
            ],&lt;BR /&gt;
            "subnetId": "subnet-2076a65a",&lt;BR /&gt;
            "vpcId": "vpc-1d741675",&lt;BR /&gt;
            "securityGroups": [&lt;BR /&gt;
              {&lt;BR /&gt;
                "groupName": "launch-wizard-2",&lt;BR /&gt;
                "groupId": "sg-007141e05a28f56e8"&lt;BR /&gt;
              }&lt;BR /&gt;
            ],&lt;BR /&gt;
            "publicDnsName": "ec2-18-191-78-236.us-east-2.compute.amazonaws.com",&lt;BR /&gt;
            "publicIp": "18.191.78.236"&lt;BR /&gt;
          }&lt;BR /&gt;
        ],&lt;BR /&gt;
        "tags": [],&lt;BR /&gt;
        "instanceState": "running",&lt;BR /&gt;
        "availabilityZone": "us-east-2b",&lt;BR /&gt;
        "imageId": "ami-fd0f3298",&lt;BR /&gt;
        "imageDescription": "Microsoft Windows Server 2016 with Desktop Experience Locale English AMI provided by Amazon"&lt;BR /&gt;
      }&lt;BR /&gt;
    },&lt;BR /&gt;
    "service": {&lt;BR /&gt;
      "serviceName": "guardduty",&lt;BR /&gt;
      "detectorId": "a8b16945bc4a8767dcac8d7edbf84e03",&lt;BR /&gt;
      "action": {&lt;BR /&gt;
        "actionType": "PORT_PROBE",&lt;BR /&gt;
        "portProbeAction": {&lt;BR /&gt;
          "portProbeDetails": [&lt;BR /&gt;
            {&lt;BR /&gt;
              "localPortDetails": {&lt;BR /&gt;
                "port": 3389,&lt;BR /&gt;
                "portName": "RDP"&lt;BR /&gt;
              },&lt;BR /&gt;
              "remoteIpDetails": {&lt;BR /&gt;
                "ipAddressV4": "103.89.91.215",&lt;BR /&gt;
                "organization": {&lt;BR /&gt;
                  "asn": "135905",&lt;BR /&gt;
                  "asnOrg": "VIETNAM POSTS AND TELECOMMUNICATIONS GROUP",&lt;BR /&gt;
                  "isp": "Vietnam Posts And Telecommunications Group",&lt;BR /&gt;
                  "org": "Vietnam Posts And Telecommunications Group"&lt;BR /&gt;
                },&lt;BR /&gt;
                "country": {&lt;BR /&gt;
                  "countryName": "Vietnam"&lt;BR /&gt;
                },&lt;BR /&gt;
                "city": {&lt;BR /&gt;
                  "cityName": "Hanoi"&lt;BR /&gt;
                },&lt;BR /&gt;
                "geoLocation": {&lt;BR /&gt;
                  "lat": 21.0333,&lt;BR /&gt;
                  "lon": 105.85&lt;BR /&gt;
                }&lt;BR /&gt;
              }&lt;BR /&gt;
            }&lt;BR /&gt;
          ],&lt;BR /&gt;
          "blocked": false&lt;BR /&gt;
        }&lt;BR /&gt;
      },&lt;BR /&gt;
      "resourceRole": "TARGET",&lt;BR /&gt;
      "additionalInfo": {&lt;BR /&gt;
        "threatName": "Scanner",&lt;BR /&gt;
        "threatListName": "ProofPoint"&lt;BR /&gt;
      },&lt;BR /&gt;
      "eventFirstSeen": "2018-05-17T08:02:12Z",&lt;BR /&gt;
      "eventLastSeen": "2018-05-17T08:55:47Z",&lt;BR /&gt;
      "archived": false,&lt;BR /&gt;
      "count": 2&lt;BR /&gt;
    },&lt;BR /&gt;
    "severity": 2,&lt;BR /&gt;
    "createdAt": "2018-05-17T08:06:09.308Z",&lt;BR /&gt;
    "updatedAt": "2018-05-17T09:06:09.505Z",&lt;BR /&gt;
    "title": "Unprotected port on EC2 instance i-048dfd648094a1fdc is being probed.",&lt;BR /&gt;
    "description": "EC2 instance has an unprotected port which is being probed by a known malicious host."&lt;BR /&gt;
  }&lt;BR /&gt;
]&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;P&gt;TIME_PREFIX="eventLastSeen":\s"&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%dT%H:%M:%SZ&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=20&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:44:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425504#M74570</guid>
      <dc:creator>lksridhar</dc:creator>
      <dc:date>2020-09-29T19:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: need to help  extract the timestamp value from eventlast seen field from aws.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425505#M74571</link>
      <description>&lt;P&gt;hello there,&lt;/P&gt;

&lt;P&gt;seems like a nice JSON format event you got there.&lt;BR /&gt;
why not use the oootb configurations for it from splunk?&lt;BR /&gt;
try this in props.conf (on your first full splunk instance, HF or Indexer) rename the stanza as you wish&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ CHANGE_ME_json ]
CHARSET=AUTO
INDEXED_EXTRACTIONS=json
KV_MODE=none
SHOULD_LINEMERGE=true
category=Structured
description=JavaScript Object Notation format. For more information, visit &lt;A href="http://json.org/" target="test_blank"&gt;http://json.org/&lt;/A&gt;
disabled=false
pulldown_type=true
TIME_FORMAT=%Y-%m-%dT%H:%M:%SZ
TIMESTAMP_FIELDS=service.eventLastSeen
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 14:19:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425505#M74571</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-05-31T14:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: need to help  extract the timestamp value from eventlast seen field from aws.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425506#M74572</link>
      <description>&lt;P&gt;Thanks adonio for your input, i have tried above method it is not working and still it is not extract the value from eventlastseen field.&lt;/P&gt;

&lt;P&gt;[ aws:kiness ]&lt;BR /&gt;
 CHARSET=AUTO&lt;BR /&gt;
 INDEXED_EXTRACTIONS=json&lt;BR /&gt;
 KV_MODE=none&lt;BR /&gt;
 SHOULD_LINEMERGE=true&lt;BR /&gt;
 category=Structured&lt;BR /&gt;
 description=JavaScript Object Notation format. For more information, visit &lt;A href="http://json.org/" target="_blank"&gt;http://json.org/&lt;/A&gt;&lt;BR /&gt;
 disabled=false&lt;BR /&gt;
 pulldown_type=true&lt;BR /&gt;
 TIME_FORMAT=%Y-%m-%dT%H:%M:%SZ&lt;BR /&gt;
 TIMESTAMP_FIELDS=service.eventLastSeen&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:48:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425506#M74572</guid>
      <dc:creator>lksridhar</dc:creator>
      <dc:date>2020-09-29T19:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: need to help  extract the timestamp value from eventlast seen field from aws.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425507#M74573</link>
      <description>&lt;P&gt;Folks,&lt;/P&gt;

&lt;P&gt;Could you please check above post and let me know your thought as still it is not resolved.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:47:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425507#M74573</guid>
      <dc:creator>lksridhar</dc:creator>
      <dc:date>2018-06-04T09:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: need to help  extract the timestamp value from eventlast seen field from aws.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425508#M74574</link>
      <description>&lt;P&gt;where did you place the props.conf&lt;BR /&gt;
it works nice on my single instance lab&lt;BR /&gt;
are you using the app for AWS?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 12:59:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425508#M74574</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-06-04T12:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: need to help  extract the timestamp value from eventlast seen field from aws.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425509#M74575</link>
      <description>&lt;P&gt;i have configured the props.conf in HF, also we are using the AWS app.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 05:08:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425509#M74575</guid>
      <dc:creator>lksridhar</dc:creator>
      <dc:date>2018-06-05T05:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: need to help  extract the timestamp value from eventlast seen field from aws.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425510#M74576</link>
      <description>&lt;P&gt;not sure, this props.conf works well for me.&lt;BR /&gt;
try to remove the spaces in your &lt;CODE&gt;[ aws:kiness ]&lt;/CODE&gt;&lt;BR /&gt;
so it will look like that: &lt;CODE&gt;[aws:kiness]&lt;/CODE&gt;&lt;BR /&gt;
also, double check there is no conflict props in your aws app / ta&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 14:39:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425510#M74576</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-06-05T14:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: need to help  extract the timestamp value from eventlast seen field from aws.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425511#M74577</link>
      <description>&lt;P&gt;i have checked and found that the aws kiness input configuration is created in aws_kinesis_task.conf in TA.&lt;/P&gt;

&lt;P&gt;look like it is not communicating with props.conf to extract the time_prefix and other index time opertation&lt;/P&gt;

&lt;P&gt;is there any separate file do we need to use to do index operation for aws:kinesis sourcetype.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:50:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425511#M74577</guid>
      <dc:creator>lksridhar</dc:creator>
      <dc:date>2020-09-29T19:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: need to help  extract the timestamp value from eventlast seen field from aws.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425512#M74578</link>
      <description>&lt;P&gt;Did you find a solution to this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 03:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-to-help-extract-the-timestamp-value-from-eventlast-seen/m-p/425512#M74578</guid>
      <dc:creator>ameyap16</dc:creator>
      <dc:date>2019-03-14T03:01:07Z</dc:date>
    </item>
  </channel>
</rss>

